Commit graph

11448 commits

Author SHA1 Message Date
AD7six
13f5ec1ca8 Merge branch '2.1' into 2.1-simpler-test 2011-10-18 15:21:38 +02:00
AD7six
d309df9efe update version file to be representative 2011-10-18 12:32:07 +02:00
AD7six
25ce1cc823 remove inherited logic 2011-10-18 12:28:52 +02:00
AD7six
2e547cad19 revert to original code 2011-10-18 12:24:59 +02:00
AD7six
11a11bf583 add a backwards compatibility shell for the previous syntax 2011-10-18 12:18:50 +02:00
AD7six
868f8d21ad don't duplicate the arguments description 2011-10-18 12:18:01 +02:00
AD7six
cccb6e9867 the category will say app
because it's under app
2011-10-18 12:00:46 +02:00
AD7six
1dae2735af more not a a test tests 2011-10-18 11:58:34 +02:00
AD7six
230d67976d add a test for mapping not-test files to nothing 2011-10-18 11:57:14 +02:00
AD7six
27fa6a8cdd add test checking that tests map to .. tests. 2011-10-18 11:54:58 +02:00
AD7six
71ce18de8b use constants for APP and CAKE 2011-10-18 11:48:12 +02:00
AD7six
baf1ce93f2 add a plugin parsing test 2011-10-18 11:40:53 +02:00
AD7six
4addd9faae a random test 2011-10-18 11:37:47 +02:00
AD7six
f82ae66790 add a couple of tests for detecting the right app file 2011-10-18 11:36:30 +02:00
AD7six
6ab5f1f2a2 make it possible to test for files that don't exist 2011-10-18 11:02:08 +02:00
AD7six
d492c86ddc update main descrition 2011-10-18 10:28:05 +02:00
AD7six
511207494e remove incorrect description text 2011-10-18 10:24:09 +02:00
AD7six
6ccb1f2fb0 update test case 2011-10-18 10:21:53 +02:00
AD7six
b4228dcaee Merge branch '2.1' into 2.1-simpler-tests 2011-10-18 10:03:32 +02:00
mark_story
42dccac8da Splitting AclTest into multiple test case files.
Fixes #1985
2011-09-13 21:25:50 -04:00
mark_story
4fda085928 Trying to fix occasional error during FixtureTaskTest. 2011-09-13 20:45:45 -04:00
Jelle Henkens
7ba2f90b2a Refactoring expectError() calls to PHPUnit annotations 2011-09-13 19:56:37 +01:00
mark_story
8272705fee Fixing failing test from previous commit. 2011-09-12 23:25:13 -04:00
mark_story
59e306526f Adding 'vendors' alias to App
- Vendor is the new directory name, and a legacy mapping should exist.
  This makes App::path() match App::import() and all other packages.
- Add an alias for plugins -> Plugin.  It also was missing the alias,
  that matches the new style package names.

Fixes #1972
2011-09-12 23:20:29 -04:00
mark_story
d74f442608 Making test case class names match file names.
Refs #1985
2011-09-12 23:01:04 -04:00
mark_story
9b8c280492 Updating doc blocks. 2011-09-12 23:00:56 -04:00
Mark Story
0e9b3dd613 Merge pull request #198 from jellehenkens/2.0-rss-helper-tests
Added tests for the RssHelper for code that was not covered
2011-09-12 19:59:09 -07:00
ADmad
97a975c6c4 Refactoring Model::invalidFields() a bit. 2011-09-12 05:10:34 +05:30
Jelle Henkens
236200ca56 Improved error handling for writing the test file to disk 2011-09-10 17:02:22 +01:00
AD7six
61f8de440d Merge branch '2.0-simpler-test' of github.com:cakephp/cakephp into feature/2.0-simpler-tests
Conflicts:
	lib/Cake/Console/Command/TestShell.php
2011-09-10 17:08:00 +02:00
Jelle Henkens
38196bda3f Adding missing test scenarios in the rss helper 2011-09-10 11:49:49 +01:00
Jelle Henkens
653163c891 Adding missing test scenarios in the paginator helper 2011-09-09 21:47:26 -04:00
mark_story
608e5ee04b Refactoring test.
Removing expectError() replacing it with PHPUnit annotation.
2011-09-09 21:43:57 -04:00
Jelle Henkens
aa4545217e Fixing test by splitting them up, testing the expected error ignored the next asserts 2011-09-09 21:40:05 -04:00
mark_story
3cb3424b4f Add App::uses to baked controllers.
Controllers should load their dependencies.
Bake should help with the best practice.
Fixes #1971
2011-09-09 20:43:04 -04:00
mark_story
7c08c966b0 Adding App::uses() call to model baking.
Models should always include their parent classes to be safe.
Bake should reflect the best practice.
Refs #1971
2011-09-09 20:43:04 -04:00
mark_story
1743eaa776 Fix issue with HABTM fields
habtm fields were not being correctly being detected.
2011-09-08 22:18:44 -04:00
mark_story
d6b978c0e8 Moving declaration of $fieldset
Its used in base Helper methods, so that's where the property
should live as well.
2011-09-08 20:44:33 -04:00
mark_story
fa8bdfd0dd Add fix and test for CamelBack input names.
Refs #1974
2011-09-08 20:34:41 -04:00
Mark Story
8880e0c668 Merge pull request #192 from jellehenkens/2.0-html-helper-tests
Added tests for the HtmlHelper for code that was not covered
2011-09-07 18:03:02 -07:00
mark_story
6ab59a447c Fix create() and onsubmit option.
Removing support for onSubmit variant.  Additional
choices are not necessary. Fixing onsubmit option
not correctly working.
Fixes #1977
2011-09-07 20:59:04 -04:00
Jelle Henkens
3c8c2936b3 Added tests to test ajax settings 2011-09-07 20:59:04 -04:00
Jelle Henkens
e6826fea21 Adding tests for HtmlHelper 2011-09-08 00:59:39 +01:00
Mark Story
9587892727 Register AppHelper for autoloading
Fixes issues where people with no core helpers loaded would hit fatal
errors.
Fixes #1973
2011-09-07 16:46:59 -04:00
mark_story
39c270fd84 Attempting to fix build failure in Jenkins. 2011-09-05 21:53:29 -04:00
mark_story
a0d531cef2 Updating documentation with missing option. 2011-09-06 02:37:43 +01:00
mark_story
3d44489b0c Deprecating the %page% style placeholders in PaginatorHelper.
Updating scaffold and bake templates to not use deprecated placeholders.
2011-09-06 02:37:43 +01:00
Mark Story
7adcfd6ef7 Merge pull request #187 from kamui545/patch-2
Fixed typo
2011-09-05 17:52:47 -07:00
Maggion Emmanuel
d675b4270d Fixed typo 2011-09-05 13:23:26 +03:00
Jose Lorenzo Rodriguez
b2fac1b1e7 Releasing 2.0.0-RC1 2011-09-04 12:30:53 -04:30