mark_story
|
92b57d81ee
|
Moving common setup and teardown functionality in to CakeTestCase.
Removing repeated setup/teardown logic from test cases.
Switching tests to use setup/teardown instead of startTest/endTest.
|
2010-09-25 21:36:49 -04:00 |
|
mark_story
|
714d8298c4
|
Fixing all tasks include.
Removing drop table queries that cause other tests to fail.
|
2010-09-25 01:25:42 -04:00 |
|
mark_story
|
cd7bc3ff6b
|
Removing disabling of tests from last commit.
Using assertContains instead of assertPattern as its easier to read.
|
2010-09-25 00:56:46 -04:00 |
|
mark_story
|
d8b39a3818
|
Changing startTest and endTest to setup and teardown.
Adding an App::build() to reset paths.
|
2010-09-25 00:47:32 -04:00 |
|
mark_story
|
8e6277c9d1
|
Updating schema shell test so it doesn't fail in groups.
Updating suites to use new method.
|
2010-09-25 00:13:37 -04:00 |
|
mark_story
|
6124eb6f7a
|
Moving All Tasks suite.
|
2010-09-25 00:13:06 -04:00 |
|
mark_story
|
ca167d5da2
|
Changing schema test to not alter the table and break other tests.
|
2010-09-24 23:30:03 -04:00 |
|
mark_story
|
3e6b65557b
|
removing old file.
|
2010-09-24 23:30:02 -04:00 |
|
mark_story
|
4e5ebc5c0f
|
Renaming all bake tasks to all tasks.
Updating all tests.
|
2010-09-24 23:30:02 -04:00 |
|
mark_story
|
94d738e834
|
Fixing failing tests and group test situational fails in console tests. Adding console tests to all tests.
|
2010-09-24 23:30:02 -04:00 |
|
mark_story
|
0bb23095f3
|
Making schema shell test more robust by deleting files it makes in teardown().
|
2010-09-24 23:30:02 -04:00 |
|
mark_story
|
309d08d4ef
|
Mocking out clear() on all the shell tests as it wreaks havoc on the CLI runner.
|
2010-09-24 23:30:02 -04:00 |
|
José Lorenzo Rodríguez
|
d45788e14f
|
Changing order of test run in AllShells group to avoid errors
|
2010-09-24 23:30:02 -04:00 |
|
José Lorenzo Rodríguez
|
5c3b4cfcc4
|
Removing all uses of the test_suite connection in the test cases
|
2010-09-24 23:30:01 -04:00 |
|
mark_story
|
f21161ef46
|
Merge branch '1.3' into 2.0. Had to fix a number of 1.3 -> 2.0
differences upon merging.
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/libs/cache/file.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/i18n.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/model/model_write.test.php
|
2010-09-24 23:27:22 -04:00 |
|
mark_story
|
e91fa68f8e
|
Making the set() functions use + instead of array_merge() so that numeric indices are properly preserved across multiple method calls. Fixes #1105
|
2010-09-18 00:13:03 -04:00 |
|
mark_story
|
e4d34b640b
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/libs/error.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/error.test.php
|
2010-09-10 20:31:16 -04:00 |
|
mark_story
|
fbd0741a83
|
Making a test more resilient when additional fixtures are loaded.
|
2010-09-09 22:54:22 -04:00 |
|
mark_story
|
bdb3feb7fd
|
Adding stack trace to the console error handler. Updating tests.
Changing require to require_once so the test case for ConsoleErrorHandler doesn't blow up in cli.
|
2010-09-08 23:38:51 -04:00 |
|
mark_story
|
f677c4ab44
|
Fixing bake task tests and adding ConsoleErrorHandler to the AllShells suite.
|
2010-09-07 23:51:39 -04:00 |
|
mark_story
|
f94fcfb749
|
Updating Api shell test case to account for changes in controller api.
|
2010-09-07 23:42:18 -04:00 |
|
mark_story
|
b02d961d82
|
Adding ConsoleErrorHandler to the shell group.
|
2010-09-07 23:40:31 -04:00 |
|
mark_story
|
6e5e32bef5
|
Updating AclShell test to use AclComponent correctly.
|
2010-09-07 23:40:07 -04:00 |
|
Mark Story
|
d88da3d579
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/configure.php
cake/libs/model/connection_manager.php
cake/libs/model/model.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/cases/libs/view/helpers/text.test.php
|
2010-09-06 16:53:04 -04:00 |
|
Mark Story
|
8bd0f18a53
|
Adding a new line to the ConsoleErrorHandler
Refactoring ConsoleErrorHandler test to use dynamic mocks.
|
2010-09-05 11:22:39 -04:00 |
|
Mark Story
|
9fee81cda0
|
Updating ConsoleErrorHandler to use new exception names and method renames.
|
2010-09-05 11:10:48 -04:00 |
|
Mark Story
|
dbd34c75c7
|
Removing newlines and trailing space.
|
2010-09-04 15:36:57 -04:00 |
|
Mark Story
|
42d998ca3b
|
Fixing up the include for the console error handler, and adding a test for stderr handle.
|
2010-09-04 10:46:04 -04:00 |
|
Mark Story
|
5c0fe1b16e
|
Applying patch from 'majna'. Adding plugin to the list of template variables exposed in the controller task. Test added Fixes #1077
|
2010-09-03 12:33:59 -04:00 |
|
Mark Story
|
29ade860b1
|
Adding cases for Error404 and Error500 exceptions.
|
2010-09-02 18:04:50 -04:00 |
|
Mark Story
|
a1e01e414b
|
Adding a tests for CakeExceptions and non CakeExceptions
|
2010-09-02 18:02:58 -04:00 |
|
mark_story
|
c48c0d6295
|
Fixing issue where ViewTask would make empty view files for actions that did not have templates. Test case added. Fixes #1040
|
2010-08-23 21:49:30 -04:00 |
|
mark_story
|
e0acd2131f
|
Fixing ShellDispatcher tests and making ShellDispatcher/Shell use TaskCollection to loadTasks.
|
2010-08-10 23:18:41 -04:00 |
|
mark_story
|
9804ed0cb3
|
Adding tests for loading plugin files.
|
2010-08-10 23:18:41 -04:00 |
|
mark_story
|
457f24d882
|
Adding TaskCollection, much like Helper and Component collection TaskCollection will be used to reduce global space pollution.
|
2010-08-10 23:18:41 -04:00 |
|
mark_story
|
d38857095a
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/model/model.php
cake/libs/validation.php
cake/libs/view/helpers/ajax.php
cake/tests/cases/libs/controller/components/session.test.php
|
2010-07-24 22:34:42 -04:00 |
|
mark_story
|
b5d7f6447f
|
Applying patch from 'asavoy'. Changing schema shell so that schema files generated for plugins have the classname of PluginSchema instead of AppSchema. Tests updated. Fixes #922
|
2010-07-23 21:46:06 -04:00 |
|
José Lorenzo Rodríguez Urdaneta
|
478cbd0a60
|
Adding test case for TestSuiteShell and refactoring to ease this testing
|
2010-07-13 21:28:21 -04:30 |
|
mark_story
|
10be0e5c6b
|
Updating ModelTaskTest so it runs in a TestSuite.
|
2010-07-10 00:22:14 -04:00 |
|
mark_story
|
ec84f57fc1
|
Updating ControllerTaskTest so it runs in a TestSuite context.
|
2010-07-10 00:19:32 -04:00 |
|
mark_story
|
e64a1873f9
|
Marking problem test cases, as things that might need to be skipped or fixed.
|
2010-07-08 23:53:11 -04:00 |
|
mark_story
|
b15948c3bc
|
Updating merged tests from 1.3
|
2010-07-08 23:44:41 -04:00 |
|
mark_story
|
fbc84cb89b
|
Switching assertTrue() for assertContains, as its more readable.
|
2010-07-08 23:38:11 -04:00 |
|
mark_story
|
a3bf367929
|
Adding unique fixtures to ControllerTaskTest and updating the test cases.
|
2010-07-08 23:25:39 -04:00 |
|
mark_story
|
82ae533f2a
|
Updating FixtureTest to account for removal of ?> in templates.
|
2010-07-08 22:40:03 -04:00 |
|
José Lorenzo Rodríguez Urdaneta
|
38d8e03363
|
Fixing some errors on SchemaShellTest
|
2010-07-07 23:14:12 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
da9d1c6b06
|
Importing controller in bake test to make it pass under the cli runner
|
2010-07-07 23:07:23 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
7b51feb89c
|
Fixing constant declaration as it was not consistent in web runner and cli runner
|
2010-07-07 22:58:48 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
fa8db5787d
|
Fixing test case
|
2010-07-07 22:29:26 -04:30 |
|
mark_story
|
cd8dff362d
|
Merge branch '2.0-phpunit' into 2.0
Conflicts:
cake/libs/controller/components/email.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/controller/components/email.test.php
|
2010-06-28 22:31:35 -04:00 |
|