Mark Story
6b3e9583bf
Moving more direct GET access to params.
2010-01-06 09:46:48 -05:00
Mark Story
98cf758a98
Continuing refactoring of CakeTestMenu.
2010-01-05 23:16:12 -05:00
Mark Story
21afcef7cf
Updating CakeTestSuiteDispatcher to get base url and base dir. Refactoring xdebug and simpletest error pages. Starting to phase out CakeTestMenu.
2010-01-05 23:12:28 -05:00
Mark Story
44cacf6dad
Adding stub methods for upcoming refactoring of menu generation.
2010-01-05 22:52:25 -05:00
Mark Story
1e5923c75a
Moving templates to templates dir.
2010-01-05 22:51:39 -05:00
Mark Story
3c57dbee04
Refactoring methods from CakeTestMenu into CakeHtmlReporter.
...
Updating CakeTestSuiteDispatcher to reflect removed methods.
2010-01-05 22:20:32 -05:00
Mark Story
f228990c58
Updating doc blocks.
2010-01-05 20:56:25 -05:00
Mark Story
faafe5a0dc
Removing use of Set::filter(). Coupling the test suite to Set is not a good idea.
2010-01-05 20:52:22 -05:00
Mark Story
1d63d52d3c
Updating @link properties and spacing.
2010-01-05 20:44:15 -05:00
Mark Story
84c2bbdfe2
Making CakeTextReporter use CakeBaseReporter as its base class, moving methods from TextReporter.
2010-01-05 20:44:01 -05:00
Mark Story
0d7875f4ad
Extracting methods and features out into CakeBaseReporter.
2010-01-05 20:29:08 -05:00
Mark Story
5bd9734f96
Moving reporters to a directory and updating CakeTestSuiteDispatcher.
2010-01-05 20:10:41 -05:00
Mark Story
34ffa43119
Refactoring hardcoded extensions to use properties.
2010-01-05 00:13:03 -05:00
Mark Story
104086b928
Converting static calls to TestManager to use Manager instance in the TestSuiteDispatcher.
...
Converting static methods to instance methods.
2010-01-05 00:09:07 -05:00
Mark Story
e60d742c04
Whitespace updates.
2010-01-05 00:03:30 -05:00
Mark Story
48e1c4d08a
Removing duplicate method calls, and doing some refactoring of Reporter retrieval. Adding Manager instance var to help make subclassing more flexible in regards to TestManagers.
2010-01-04 23:58:09 -05:00
Mark Story
9a62fd52b3
Fixing occurances of CakeTestsGetReporter and fixing issues loading reporters.
2010-01-04 23:28:04 -05:00
Mark Story
dd5a886f3a
Removing CakeTestsGetReporter global function.
...
Starting to move Reporter/Manager decision making to CakeTestSuiteDispatcher, also affording the ability to use custom reporters/managers for generating test suite output.
2010-01-04 23:28:04 -05:00
Mark Story
33cb8eebfe
Renaming CakeHtmlReporter's file.
2010-01-04 23:28:03 -05:00
Mark Story
effc03ca3a
Adding CakeTestSuiteDispatcher to handle dispatching of the test suite.
2010-01-04 23:28:03 -05:00
Mark Story
183abfa4a9
Adding Docblocks to TextTestManager
2010-01-04 23:28:03 -05:00
Mark Story
8181acbb0b
Adding doc blocks to TestManager.
2010-01-04 23:28:03 -05:00
Mark Story
da19e31188
Refactoring duplicate switch logic to a single method.
2010-01-04 23:28:03 -05:00
Mark Story
a3b0805347
Fixing formatting.
2010-01-04 23:28:03 -05:00
Mark Story
397bdaf3e1
Removing global functions moved to CakeTestMenu
2010-01-04 23:28:03 -05:00
Mark Story
4d74dc6bda
Adding CakeTestMenu to clear up some global methods.
2010-01-04 23:28:02 -05:00
Mark Story
3d608d6fd7
Adding doc blocks to CakeHtmlReporter
2010-01-04 23:28:02 -05:00
Mark Story
2aee4b6e43
Adding sql dump back into test suite. Fixes #157
2010-01-04 23:25:23 -05:00
predominant
c64389006d
Removing "Long description for file" from /cake/tests tree.
2009-12-08 20:19:42 +11:00
Phally
bb92a47ddb
Added support for numeric values in expectation of assertTags().
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-02 09:10:56 -05:00
mark_story
4d37e75f18
Merge branch '1.2' into 1.3-merger
...
Conflicts:
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/extract.php
cake/console/libs/tasks/model.php
cake/libs/configure.php
cake/libs/controller/components/cookie.php
cake/libs/debugger.php
cake/libs/flay.php
cake/libs/http_socket.php
cake/libs/inflector.php
cake/libs/model/cake_schema.php
cake/libs/model/connection_manager.php
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo_source.php
cake/libs/router.php
cake/libs/view/helper.php
cake/libs/view/helpers/form.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/js.php
2009-11-22 20:38:50 -05:00
Juan Basso
df9e1e0bd1
Replace function join (alias) by implode.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:11 -05:00
predominant
0977b3fe15
Standardising docblock endings throughout.
2009-11-14 23:19:25 +11:00
renan.saddam
8cab87fd8e
Fixing fixtures path when using a fixture inside a plugin.
2009-11-11 20:14:24 -02:00
predominant
1185681549
Removing newline caused by Subversion line removal.
2009-11-06 18:01:22 +11:00
predominant
d7b604c8ed
Fixing links throughout
2009-11-06 17:46:59 +11:00
predominant
5dfe1777af
Removing Subversion file headers.
2009-11-06 16:51:09 +11:00
predominant
ceee56013c
Remove Subversion $Date$ lines.
2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe
Remove Subversion $LastChangedBy$ lines.
2009-11-06 16:11:16 +11:00
predominant
42f3f16d60
Remove subversion $Revision$ lines.
2009-11-06 16:08:02 +11:00
predominant
1b9b0aae5e
Updating Copyright date to include 2009.
2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7
Removing @filesource
2009-11-06 15:24:02 +11:00
predominant
bed9b6e58d
Extending TextReporter from SimpleTest to provide memory usage and execution time information for text output test results.
2009-10-31 18:30:59 +11:00
mark_story
2f81c29def
Updating $pluginPath loops to use App::pluginPath().
2009-10-14 09:47:07 -04:00
mark_story
de8f251758
Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath().
2009-10-14 09:28:06 -04:00
mark_story
b95d9e1060
Fixing time tracking on group test cases.
2009-09-18 00:54:13 -04:00
mark_story
e5083b88c4
Merge branch '1.3-test' into 1.3-misc
2009-09-14 23:57:35 -04:00
mark_story
ea7df4f7ce
Adding time and memory output to the test suite results.
2009-09-13 13:29:44 -04:00
mark_story
edf5f2d6e2
Updating doc blocks.
2009-09-13 13:11:37 -04:00
mark_story
e9c747badc
Updating all group tests to extend TestSuite instead of the deprecated GroupTest class. Updating the TestManager.
2009-09-11 21:43:53 -04:00
mark_story
c49662e2ca
Fixing deprecation error due to changes in API
2009-09-10 22:56:44 -04:00
gwoo
33adb6e40b
fixing test header from bad merge
2009-08-03 11:57:39 -07:00
mark_story
83a705f739
Merge branch '1.3' into 1.3-jshelper
2009-08-03 14:39:21 -04:00
AD7six
b9987e1712
whitespace normalization
2009-08-02 16:09:39 -07:00
gwoo
15ed658a27
Revert "Merge branch '1.3-newlines' into 1.3"
...
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07:00
AD7six
d61e8736e4
Merge branch '1.3' into 1.3-bake
2009-08-02 22:44:28 +02:00
AD7six
7eb150b49a
Merge branch '1.3' into 1.3-bake
...
Conflicts:
cake/console/libs/tasks/model.php
2009-08-02 22:31:01 +02:00
gwoo
d118c6a764
Merge branch '1.3-newlines' into 1.3
2009-08-02 12:08:55 -07:00
gwoo
1423b0067b
Merge branch '1.2' into 1.3
2009-07-30 11:34:33 -07:00
AD7six
bbc2562d3f
Correcting use of CONSOLE_LIBS to refer to template files
2009-07-29 10:17:06 +02:00
AD7six
f64f4cbddc
whitespace normalization
2009-07-26 11:59:51 +02:00
mark_story
a6f25f5c64
Removing ending html tags, they were being generated before the page ended.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8256 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-25 21:45:30 +00:00
mark_story
def4c98a08
Merge branch '1.3' into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
cake/libs/view/helpers/js.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/lib/header.php
2009-07-25 17:35:27 -04:00
gwoo
766e12bc2a
Merge branch '1.3' into 1.3-newlines
2009-07-25 10:41:40 -07:00
mark_story
4ebf5a4e32
Merge commit 'code/1.3' into 1.3-jshelper
...
Conflicts:
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/lib/header.php
2009-07-25 01:35:36 -04:00
gwoo
986af28de0
Merge branch '1.2' into 1.3
2009-07-24 15:57:30 -07:00
AD7six
b2142df2bc
adding a newline before all comment blocks
2009-07-24 21:18:37 +02:00
mark_story
565cd96120
Fixing issue in CakeTestCase where fixture tables were incorrectly detected and dropped when running tests with no $test config or $test config and $default config on the same database.
...
Updating TestAppsPostsController to fix compatibility issues with postgres.
Defining $name in CakeTestFixture to remove notice errors, when constructing a nameless Fixture.
Fixes #6518
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8254 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 16:29:18 +00:00
gwoo
f295a21831
updating some code related to Configure/App changes. Fixing issue when cache is not configured
2009-07-22 09:11:38 -07:00
gwoo
025942e354
updating test header for 1.3
2009-07-20 10:06:13 -07:00
mark_story
9c51f720ed
Merge branch '1.3' into jshelper-integration
...
Conflicts:
cake/tests/cases/libs/view/helpers/js.test.php
2009-07-06 23:43:57 -04:00
gwoo
bc359259a2
Merge branch '1.2' into 1.3
2009-07-02 09:27:00 -07:00
gwoo
58b5c0d77d
cleaning up some ;;
2009-06-30 19:56:15 -07:00
mark_story
fb6b2aecde
Renaming {{{SimpleTestOptions::ignore()}}} to {{{SimpleTest::ignore()}}} Refs #6425
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8207 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:37:33 +00:00
gwoo
c3643767bf
some more updates to path handling
2009-06-10 16:13:39 -07:00
gwoo
24d78dd671
moving path configuration to App class
2009-06-07 15:24:10 -07:00
gwoo
6f21c18366
Merge branch '1.3-lib_renames' into 1.3
2009-06-02 10:17:02 -07:00
jperras
a6017e6f6a
Updating code coverage manager to work with application-level datasources.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8179 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-28 17:44:41 +00:00
davidpersson
fd7d6718a1
Updating tests to not affect other ones when run from a group
...
Adding NoCrossContamination group
Shortening group class names
Renaming lib_controller group
Updating test imports to include the core AppController by default
Some cosmetics
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8123 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-21 23:55:39 +00:00
jperras
70e0316cd2
Renaming schema.php to cake_schema.php. Modifying relevant App::import calls.
2009-03-15 22:22:18 -04:00
mark_story
4b690237f0
Merge branch '1.3' of git@thechaw.com:cakephp into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
2009-03-15 13:20:43 -04:00
mark_story
133cb91fef
Updating test suite header file.
2009-03-04 23:07:40 -05:00
mark_story
a3809d608e
Updating doc blocks for CakeTestCase::testAction()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8075 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-04 15:23:08 +00:00
mark_story
5dfa7bf46f
Updating CakeTestCase::testAction() to respect $dropTables. Test case added Fixes #6123
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8051 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-21 15:05:17 +00:00
mark_story
55cc02bc08
Fixing other uses of glob() to check for false values. Fixes #6044
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8034 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-16 00:45:50 +00:00
nate
440c629931
Fixing glob() handling in extract shell, added extract shell test, partial fix for #6044 , code formatting changes in CakeTestCase.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8026 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 06:22:34 +00:00
mark_story
c4fe08415b
Removing ob_start() calls from cake_reporter. Significantly reduces memory usage of test suite. Fixes #5972
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7982 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 18:00:18 +00:00
the_undefined
186a87b514
Improved doc comment for greater clarity regarding attribute matching
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7971 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-05 16:15:10 +00:00
mark_story
a88aeef826
Applying patch from 'rafaelbandeira3'. Removes redundant DS in path. Fixes #5902
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7946 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 23:30:13 +00:00
mark_story
211bb2bb81
Changing styles of test suite and adding icon for error messages. Moving code coverage css into test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-13 23:40:36 +00:00
mark_story
3682c9c6ae
Fixing missing table errors on model imports. Fixed broken test. Fixes #5877
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-11 19:16:02 +00:00
mariano.iglesias
a194f6a25e
Simplifying parameter parsing when importing structure / records from a fixture. Flushing registry after processing import so related models DB config remain unchanged
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 23:04:05 +00:00
mariano.iglesias
910be6e368
Fixing issue where model structure imports on fixture was looking for structure on test_suite connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7867 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 15:25:07 +00:00
renan.saddam
111b886570
Removed trailing whitespaces from tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:58:37 +00:00
DarkAngelBGE
5bd8dbb3ca
adding test manager test to testsuite test group; small refactorings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7841 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 16:17:18 +00:00
DarkAngelBGE
be6c24503d
adding test method for testing the running of a testcase (doh!) to the test manager test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7840 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:47:59 +00:00
DarkAngelBGE
e882d990d7
adding test manager test case, some whitespace changes throughout the testsuite and the schema model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:33:13 +00:00
renan.saddam
41fc22a770
Showing App & Plugins tests first and sorting the files. Closes #5692 , #5693 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7835 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 23:35:08 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
f875c0098b
Updating test_suite header to improve readability of connection names.
...
Adding test for using CakeTestCase::testAction() with fixturize parameter.
Updating TestsAppPostsController and adding Post Model to test suite.
Refs #5620
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 16:39:39 +00:00
mark_story
342f701e70
Updating CakeTestCase test to fix issue with broken tests if app/models/post.php exists.
...
Reverting and correcting earlier change on cake_test_fixture, where models and relations that are imported connected to the wrong connection.
Closes #5578
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 19:14:11 +00:00
mark_story
cdc12d9eb8
Changing cake_test_fixture::init() to not alter ClassRegistry::config() settings. Instead model is built with ds parameter. Closes #5578 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 16:50:10 +00:00
mark_story
11a29679e4
Fixing issue in CakeTestFixture, where $import'ing models required connection to be specified, default connection should be automatic.
...
Caused by changes in ClassRegistry::init().
Closes #5519
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 03:58:04 +00:00
mark_story
08866a90ca
Updating tests in cake_test_case test, so they run in group test.
...
Fixing issue in cakeTestCase when running tests with fixtures. Fixture tables were not being created if $test DB config and $default DB were using the same database. Closes #5519
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 16:35:53 +00:00
DarkAngelBGE
cc425a5e0a
adding a couple whitespace corrections (trailing tabs, newlines, ..)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 11:52:29 +00:00
mark_story
05a5eda3d1
Adding CSS for skipped test icon to test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 12:35:39 +00:00
DarkAngelBGE
35a2b466de
performance improvements for code coverage analysis
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7603 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 12:14:39 +00:00
phpnut
cb487bd6e6
More optimization refactoring.
...
Fix cache but causing object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
nate
8b3a0a8782
Adding $options param to DboSource::execute()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 02:09:38 +00:00
the_undefined
4a5c4b3659
Removing random char
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 22:18:49 +00:00
the_undefined
c7ccc5ae71
Added dropTables option to CakeTestCase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7589 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 21:49:49 +00:00
mark_story
8e6a5a7214
Fixing issue with CakeTestCase::testAction not properly being able to simulate query string parameters.
...
Added tests for various parameter syntaxes.
Closes #5400
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 16:48:52 +00:00
gwoo
094e07dc7e
closes #4797 , constants for test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7566 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 14:21:21 +00:00
mark_story
ba2542ec29
Fixing infinite loop when importing models that have relations that are also fixturized. Closes #5166 .
...
Tests updated and added.
Added documentation concerning use of app_error.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 01:49:29 +00:00
mark_story
91a6508a26
Adding CakeFixture Test Case
...
Adding TestSuite group test
Fixing documentation and removing unecessary ife() calls from CakeTestFixture.
Made CodeCoverage test run nicely in group tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 14:21:57 +00:00
gwoo
33da4b0e75
fixes #5221 , overflow bug in mozilla
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 18:29:22 +00:00
mark_story
a53a08574d
Added ClassRegistry::flush() to testAction(). Repairs issue with view vars not being unique between testAction() calls in the same test case. Closes #5273
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7470 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 17:08:00 +00:00
mark_story
fb5a0a6f12
Removed collision with testCase fixtures, causing fixtures to be missing when running testAction() more than once per test case. Closes #5267
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 01:26:24 +00:00
gwoo
0b8d7027ec
fixes #5259 , undefined variable in CakeTestCase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 16:24:21 +00:00
mariano.iglesias
0b5fbe04f6
Making code PHP4 friendly again
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 11:29:33 +00:00
mark_story
fb15d71284
Fixing CakeTestCase::testAction() Now works as expected. Closes #5246
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7459 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 01:22:33 +00:00
gwoo
76f7d6dc43
making changes to all the model group to run. Currently I get 8/8 test cases complete: 1486 passes, 22 fails and 3 exceptions.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 15:36:26 +00:00
AD7six
53dcefff53
Modifying dbo_source to refer to $this->fullDebug rather than Configure::read() to determine whether or not to log
...
queries
modifying fixture loading to not log create, drop, truncate statements
correcting model tests that change fullDebug to reset to the value before the test ran
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:41:53 +00:00
gwoo
565163303c
changing ClassRegistry::params() to ClassRegistry::config()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:53:12 +00:00
DarkAngelBGE
501437baa0
introducing ClassRegistry::params() to fix testing of models associations; also removes the need for TestModels that extend the model under test to change the useDbConfig, fixes #5158 , #5076 (kudos to nate)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 15:37:26 +00:00
DarkAngelBGE
1fdc76ba1a
enabling different paths for plugin tests closes #5105
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:39:17 +00:00
DarkAngelBGE
838ecb8527
doc comments for the test manager class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:37:06 +00:00
gwoo
a764b471f6
closes #5011 , target _blank for all html links that open new windows
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +00:00
nate
f6934e3237
Fixing test database checking in CakeTestCase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 16:42:44 +00:00
DarkAngelBGE
8b9aa057dd
adding test for #4861
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
DarkAngelBGE
ca0fa7b796
adding a return value to the fixture::truncate() method,
...
fixing some doc comments in the fixture class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7236 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:15:28 +00:00
DarkAngelBGE
a0ff55926c
small formatting issues
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7235 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 14:28:45 +00:00
nate
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
gwoo
9bc88e5e40
update to test_manager to make sure dispatcher is loaded
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7203 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:11:57 +00:00
DarkAngelBGE
16fa9effb0
closes #4918 , allowing multiple calls to testAction() in the same test run with supplied get data without interfering with the get data needed for the testsuite to work and also ignoring the get data used for the previous call to testAction
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7194 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 10:24:52 +00:00
DarkAngelBGE
ed6caf5d33
closes #4875 , fixing uninitialized model group key for fixtures
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7193 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:17:23 +00:00
phpnut
6807d4c333
Starting initial refactoring of current code base.
...
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
2ca6136504
changing interface for group test cascading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7136 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:19:57 +00:00
nate
7dfb31200f
Improving test case list display formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7103 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 12:58:20 +00:00
mark_story
1bc9d198cc
Updating skel/cake.generic.css to remove validation warnings. Added test icons to test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7086 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 03:36:20 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
DarkAngelBGE
f749143f5d
enabling nesting of group tests in TestManager::addTestFile
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7060 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:27:56 +00:00
nate
f2ea3c8bb0
Refactoring DboSource to use Model in order to properly quote values by column type, correcting serial integer schema generation in DboPostgres, fixes #4702 , refactoring TreeBehavior to use DboSource::calculate(), fixes #4725 , updating docblocks, fixing DboSource test to be database-agnostic, misc. whitespace fixes, updating DboSource test to reflect new quoting rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7015 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:05:37 +00:00
the_undefined
50a18a09c4
Added conditional table dropping on test case start
...
Removed if exists statement from mysql driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6986 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 14:12:01 +00:00
nate
4eedbd536c
Rolling back table-drop fixture change until it can be made compatible with all databases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6985 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 13:15:38 +00:00
the_undefined
c269f5c383
Applied patch by 'adj', closes #4637
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6957 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 07:10:15 +00:00
the_undefined
fa410d207c
Implemented CakeTestFixture::truncate, closes #4459
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6951 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 06:29:49 +00:00
nate
fe3f899f46
Refactoring CakeTestCase so that skipIf() can also be called from within tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6930 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 20:17:28 +00:00
mariano.iglesias
660d5bb804
Allowing CakeTestCase::assertTags() to receive strings as expectation.
...
Removing default value in AjaxHelper::options() and AjaxHelper::__optionsForAjax() since it always require a parameter.
Using Object::stop() instead of exit() in AjaxHelper::afterRender().
Bringing AjaxTest coverage to 88%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6928 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 19:51:30 +00:00