Kyle Robinson Young
51f9837db4
Code standards formatting
2011-12-15 22:52:07 -08:00
ADmad
0e6697dbc6
Skipping failing test when run through web browser.
2011-11-22 02:00:58 +05:30
Kyle Robinson Young
98f03dc6df
Replacing test case compatibility functions
2011-11-16 21:07:08 -05:00
mark_story
9347ca2dc8
Fix requestAction post simulation.
...
POST data should not trigger notice errors.
Also fix issue where POST data could not be simulated with a
string URL.
Fixes #2248
2011-11-13 09:44:48 -05:00
mark_story
a7fcb0a61c
Fix more strict errors.
2011-11-12 21:42:20 -05:00
mark_story
3fa0bdb60f
Revert "Fix missing objects in App::objects()"
...
This change caused non controller objects to show in the
controller list. Reverting until a better implementation
can be done.
This reverts commit ba6f3c17fa
.
2011-11-06 11:24:33 -05:00
mark_story
ba6f3c17fa
Fix missing objects in App::objects()
...
App::objects() should include core objects when asking
for application objects.
2011-11-06 09:42:15 -05:00
mark_story
13900dc75c
Starting to fix issues with PHPUnit 3.6 compatibility.
2011-11-04 22:54:08 -04:00
Jose Lorenzo Rodriguez
bc8b522eec
Merge remote-tracking branch 'origin/2.0' into 2.0
2011-10-26 22:33:24 -04:30
Jose Lorenzo Rodriguez
ee7f417085
Test to disprove #2123 , it is possible to load classes in plugin's Lib directory. App::uses() is intended for classes not procedural files.
2011-10-26 22:33:14 -04:30
mark_story
7b169ed084
Fix broken tests.
2011-10-22 12:53:10 -04:00
Yosuke Basuke Suzuki
0b6c93cf82
Refactoring App::build() so it looks more readable
2011-10-14 17:11:45 -04:30
Majna
8c3f64be52
Fixing doc blocks in Test suite and some visibility keywords.
2011-10-10 23:18:48 +02:00
mark_story
ea113922bd
Removing extra 0 index in request parameters.
...
When using requestAction with the return parameter, there
would be an extra 0 index element that would create incorrect
routes in the requestedAction.
Fixes #2067
2011-10-05 20:55:17 -04:00
ADmad
08026e5828
The 'default' config for Configure class is now auto created on first use if not already created.
2011-09-18 00:06:37 +05:30
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 mark@mark-story.com
3a8b344208
Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown().
...
Adding App::paths() to simplify getting all the paths App knows about.
Fixes #1934
2011-08-29 22:14:18 -04:00
mark_story
9ff922cbc7
App::objects() should skip directories and files starting with
...
`.`. These generally contain version control or OS metadata, and
not code CakePHP can use.
Fixes #1933
2011-08-28 15:36:19 -04:00
Juan Basso
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
2011-08-14 21:12:05 -04:00
mark_story
fdacc9de16
Fixing issues with request stack not being used correctly
...
when there are requestAction requests being performed.
Adding Router::popRequest() to allow manipulation of request stack
so nested requestAction or serial requestAction calls work correctly.
Fixes #1906
2011-08-12 21:21:05 -04:00
Juan Basso
9bc3e567c1
Removed the @access and @static.
2011-07-30 20:56:48 -04:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
Jose Lorenzo Rodriguez
108505a6a0
Merge branch '2.0-form-helper' into 2.0
2011-07-16 17:32:07 -04:30
Jose Lorenzo Rodriguez
a02db65fd1
Removing persist object feature, it was problematic an incomplete
2011-07-15 18:30:03 -04:30
Jose Lorenzo Rodriguez
8a6d97dfa7
Fixing loading of default options in CakePlugin::loadAll(), fixes #1737
2011-07-15 01:05:53 -04:30
Jose Lorenzo Rodriguez
f8ab1d3c73
Adding App::location() method to be able to obtain the defined path for a class
2011-07-12 00:38:50 -04:30
Juan Basso
192812ee7f
Updating the copyright to 2011.
2011-05-30 22:32:43 -04:00
Renan Gonçalves
438050dcaa
Adding 'public' visibility to all public methods.
2011-05-30 22:02:32 +02:00
ADmad
b6588066c8
Fixing test cases
2011-05-29 02:38:22 +05:30
Ceeram
266058e67a
Moving the sort to also sort plugin objects, sorting in test removed
2011-05-26 19:33:36 +02:00
Ceeram
76b3f5a21c
removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET
2011-05-24 17:01:21 +02:00
Ceeram
14b065e229
changing AppImportTest classname to AppTest
2011-05-24 09:05:23 +02:00
Jose Lorenzo Rodriguez
5b8865a3a7
Making plugin routes load after app routes, closes #1722
2011-05-22 21:50:56 -04:30
mark_story
42b93dc29f
Adding assert left out of previos commit.
2011-05-21 20:21:15 -04:00
mark_story
438734c202
Improving code coverage in Configure.
2011-05-21 15:49:28 -04:00
Jose Lorenzo Rodriguez
38ad1bfc62
Revert "Update App::objects() cache after App::build()."
...
This reverts commit f9b02dde44
.
2011-05-19 21:31:02 -04:30
Heath Nail
f9b02dde44
Update App::objects() cache after App::build().
...
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
2011-05-19 16:55:01 -04:00
Heath Nail
4ccf5c0885
Clear application plugins before running the first test.
2011-05-19 16:26:49 -04:00
Heath Nail
a7ec73b523
Update the object cache.
...
Keep application plugins out of core tests, otherwise tests will fail.
2011-05-19 16:25:25 -04:00
AD7six
0a53242e3e
correcting all the inverted assertEqual tests
...
$expected is the first argument. Now certain test results start to make
sense:
1) MultibyteTest::testUsingMbStrtolower
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ
+ⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥ
2011-05-17 00:49:00 +02:00
AD7six
3175de7b3d
remove another oversight
2011-05-15 18:53:53 +02:00
AD7six
afa8f6b441
remove LIBS constant
...
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
Jose Lorenzo Rodriguez
29298d746e
Fixing App tests
2011-05-15 00:56:33 -04:30
Jose Lorenzo Rodriguez
6713bb154e
Making themes also CamelCased
2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
eea981940e
Replacing config string in favor of Config
2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
2a54f0923d
More string replacing for new paths
2011-05-13 03:23:53 -04:30
Jose Lorenzo Rodriguez
7ba60ff424
Changing more paths
2011-05-13 03:15:04 -04:30
Jose Lorenzo Rodriguez
8746a485bd
Search and replace for changed paths
2011-05-13 02:53:35 -04:30
Jose Lorenzo Rodriguez
900dfef2f7
Starting unification of casing in remaining folders
2011-05-13 01:53:49 -04:30