José Lorenzo Rodríguez
|
b53d21ff52
|
Fixing a group test case to show how to create one, and to make pass TestManager test case
|
2010-05-04 23:58:17 -04:30 |
|
José Lorenzo Rodríguez
|
fd4a82d6e9
|
Adding test for TestManager::runGroupTest()
|
2010-05-04 23:56:40 -04:30 |
|
José Lorenzo Rodríguez
|
856a52a378
|
Changing runGrouptTest to find for conventional class names. This commit removes the support for loading more than one groupt test class per file
|
2010-05-04 23:13:07 -04:30 |
|
Mark Story
|
918e961f7d
|
Fixing typo in testtask. Fixes #659
|
2010-05-04 23:29:54 -04:00 |
|
Mark Story
|
fcad9b464c
|
Fixing tests broken by changes in default bake templates.
Fixing issue where admin methods wouldn't be correctly generated.
Fixes #664
|
2010-05-04 23:27:41 -04:00 |
|
Mark Story
|
62157679c4
|
Fixing failing test in Dispatcher caused by removed method.
|
2010-05-04 23:08:03 -04:00 |
|
Mark Story
|
b9a00ccfa5
|
Updating test case to use new Router constants.
|
2010-05-04 23:05:45 -04:00 |
|
José Lorenzo Rodríguez
|
41683723f7
|
Making more methods static in TestManager
|
2010-05-04 21:04:18 -04:30 |
|
José Lorenzo Rodríguez
|
c23f66e35c
|
Removing "extends" from TestManager as it wasn't used anyway.
Making some methods static as they were called statically
More testing on TestManager
|
2010-05-04 20:51:58 -04:30 |
|
predominant
|
719836c41d
|
Updated doc block for added HTTP Status.
|
2010-05-05 10:09:47 +10:00 |
|
José Lorenzo Rodríguez
|
cdf4006f16
|
Refactoring TestManager::runAllTests() and improving the TestManager test case
|
2010-05-04 18:25:15 -04:30 |
|
José Lorenzo Rodríguez
|
4a152d3d55
|
Adding number of assertion runned in html reporter
enabling "show passes" (that in contrast of simpletest only reports the passed test method instead of the assertion)
cleaning up a bit
|
2010-05-04 16:31:03 -04:30 |
|
José Lorenzo Rodríguez
|
10434c35b6
|
Improving PHPUnit path detection when it is installed via pear
|
2010-05-04 16:30:06 -04:30 |
|
José Lorenzo Rodríguez
|
9afbeaa217
|
Converting CakeHtmlReporter in a TestCase listener.
this apparently shows that it is easy to make the transition to PHPUnit.
|
2010-05-04 13:51:25 -04:30 |
|
José Lorenzo Rodríguez
|
ce7f892d6a
|
Removing simpletest dependency in CakeBaseReporter
|
2010-05-04 13:50:07 -04:30 |
|
José Lorenzo Rodríguez
|
15dd798e30
|
Some experimental movements inside TEstManager to make it work with PHPUnit
|
2010-05-04 13:49:10 -04:30 |
|
José Lorenzo Rodríguez
|
14559aabd9
|
Adding compatibility assert methods for CakeTestCase to ease the transition to PHPUnit
|
2010-05-04 13:47:08 -04:30 |
|
José Lorenzo Rodríguez
|
7417a00de7
|
Initial step to replace simpletest for PHPUnit
This is probably temporary, still needed to see if PHPUnit is already in path (installed with pear or something)
|
2010-05-04 13:40:50 -04:30 |
|
Mark Story
|
e9a7d6d3b9
|
Splitting CakeRoute and PluginShortRoute into their own files. Also splitting out the test cases.
|
2010-05-04 00:35:22 -04:00 |
|
Mark Story
|
f76d320688
|
Making Router a fully static class. Tests updated.
|
2010-05-04 00:26:02 -04:00 |
|
Mark Story
|
c91d74a9af
|
Making CakeRequest toss an exception when it can't handle a method call.
|
2010-05-03 23:41:13 -04:00 |
|
Mark Story
|
c5fdeec7a1
|
Updating FormHelper tests to use CakeRequest.
|
2010-05-03 23:39:43 -04:00 |
|
Mark Story
|
69275c8996
|
Adding a parameter to CakeRequest to allow it to skip parsing the environment.
|
2010-05-03 22:50:38 -04:00 |
|
Mark Story
|
ce10c85367
|
Making Sanitize::stripScripts() to remove multi-line script and style blocks. Fixes #657
|
2010-05-03 22:33:20 -04:00 |
|
Mark Story
|
95dbae8acf
|
Making RequestHandler component carry along a passed status code. This fixes issues where RequestHandler hijacks an redirect(). Fixes #658
|
2010-05-03 22:07:13 -04:00 |
|
predominant
|
87db966383
|
Remove PHP5 conditional statements.
|
2010-05-03 13:36:32 +10:00 |
|
predominant
|
c1eaa4b24c
|
Fixed access and removed @access tags.
|
2010-05-03 13:28:09 +10:00 |
|
Mark Story
|
c48f6d6536
|
Fixing safe parameter from leaking into request() calls in JsHelper::submit() and JsHelper::link(). Fixes #656
|
2010-05-02 21:17:10 -04:00 |
|
predominant
|
c2002dada7
|
Merge remote branch 'markstory/2.0' into 2.0
|
2010-05-03 10:40:03 +10:00 |
|
Jose Diaz-Gonzalez
|
1180f66cc0
|
Setting $actions to null so that the controller methods are not always based upon the first controller in an app/plugin.
Signed-off-by: Mark Story <mark@mark-story.com>
|
2010-05-02 20:35:19 -04:00 |
|
Mark Story
|
8c7cfb2a1e
|
Changing string offset access.
|
2010-05-02 18:04:13 -04:00 |
|
Mark Story
|
d94ff92a9d
|
Merge branch '2.0' into 2.0-request
Conflicts:
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/lib/reporter/cake_html_reporter.php
|
2010-05-02 18:03:23 -04:00 |
|
Mark Story
|
dc08aedb44
|
Fixing constructors for reporter classes.
|
2010-05-02 17:54:49 -04:00 |
|
Mark Story
|
adf604a966
|
Merge branch '1.3' into 2.0
Conflicts:
cake/console/templates/default/actions/controller_actions.ctp
cake/console/templates/default/views/form.ctp
cake/console/templates/default/views/index.ctp
cake/console/templates/default/views/view.ctp
cake/libs/controller/controller.php
cake/libs/controller/scaffold.php
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/cake_schema.test.php
|
2010-05-02 17:53:42 -04:00 |
|
Mark Story
|
b5a0dccc3a
|
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
|
2010-05-02 17:03:20 -04:00 |
|
Mark Story
|
4a0ead8a62
|
Fixing asset filtering for assets in themes and plugins. These assets should now correctly enter the configured asset filters. Fixes #650. Fixes #160
|
2010-05-02 16:48:35 -04:00 |
|
Mark Story
|
e11f7da896
|
Adding support for Router::reverse() to operate on CakeRequest objects.
|
2010-05-02 02:19:32 -04:00 |
|
Mark Story
|
7e25d94258
|
Renaming internals of Router.
Adding tests for legacy setRequestInfo() support.
|
2010-05-02 02:16:16 -04:00 |
|
Mark Story
|
26279851e1
|
Making Router::setRequestInfo() able to accept arrays. It will convert older style arrays into a CakeRequest object for later use.
Updating uses of Router::setRequestInfo() to just pass the object where possible.
|
2010-05-02 01:59:56 -04:00 |
|
Mark Story
|
e336df6de8
|
Updating some uses of Router::setRequestInfo().
|
2010-05-02 01:43:37 -04:00 |
|
Mark Story
|
9a1858367f
|
Removing unused and untested feature.
|
2010-05-02 01:24:44 -04:00 |
|
Mark Story
|
982437595e
|
Fixing errors caused by API changes.
|
2010-05-02 01:22:59 -04:00 |
|
Mark Story
|
4eef2c19f0
|
Making CakeRequest::addParams() chainable. Adding CakeRequest::addPaths() to allow easy settings of path variables, its also chainable. Tests added.
|
2010-05-02 01:22:34 -04:00 |
|
Mark Story
|
bd1365f8ae
|
Changing interactions inside Router so it doesn't need a CakeRequest object, makes changes to Router test not necessary.
|
2010-05-02 00:29:35 -04:00 |
|
Mark Story
|
12cbf3198a
|
Removing addslashes/stripslashes in cache file generation as they were creating corrupted serialized objects. Replacing with a simple str_replace() on ' instead.
|
2010-05-02 00:12:53 -04:00 |
|
Mark Story
|
13cc8e746d
|
Moving tests into CakeRequest from dispatcher test.
Dispatcher tests are all working again.
|
2010-05-01 23:49:22 -04:00 |
|
Mark Story
|
e4cf8a6937
|
Fixing issue where 'data' could not be accessed with array access, there were tests in Dispatchers tests that expected this.
|
2010-05-01 23:46:10 -04:00 |
|
Mark Story
|
d2ea077b81
|
Moving parameter parsing below asset dispatching, should speed up asset dispatching.
Updating + fixing tests to reflect API changes and fixing some issues where router was breaking assets.
|
2010-05-01 23:19:47 -04:00 |
|
Mark Story
|
aa234bc861
|
Making CakeRequest keep [url][url] for compatibility issues.
|
2010-05-01 22:45:31 -04:00 |
|
ADmad
|
f386dca6d8
|
Controller::loadModel() now returns true when model is succesfully instantiated as stated in docblock. Added test case.
|
2010-05-02 05:34:38 +05:30 |
|