Commit graph

7607 commits

Author SHA1 Message Date
mark_story
dad4b5ae5c Updating DbConfigTask to PHPUnit.
Making protected methods and properties protected for easier mocking.
2010-06-08 22:14:48 -04:00
mark_story
ebfbbfea48 Partially fixing DbConfig tests to work with phpunit. 2010-06-08 00:54:42 -04:00
mark_story
d0309d0c18 Fixing access violations in DbAcl test case. 2010-06-07 23:47:48 -04:00
José Lorenzo Rodríguez
d3844dee56 Migrating DebuggerTest to phpunit 2010-06-07 00:10:35 -04:30
José Lorenzo Rodríguez
bd7ce3804e Migrating CakeSchemaTest to PHPUnit 2010-06-07 00:05:40 -04:30
José Lorenzo Rodríguez
e381be7a85 Migrating AclBehaviorTest to PHPUnit 2010-06-06 23:34:34 -04:30
José Lorenzo Rodríguez
0aff378be8 Migrating TreeBehaviorTest to phpunit 2010-06-05 00:35:31 -04:30
José Lorenzo Rodríguez
d951e4a218 Migrating TranslateBehaviorTest to phpunit 2010-06-05 00:10:01 -04:30
José Lorenzo Rodríguez
fd4db4184a Migrated ConnectionManager to phpunit 2010-06-04 23:47:38 -04:30
José Lorenzo Rodríguez
7aa01c4c77 Migrating SessionHelperTest to phpunit 2010-06-04 23:42:21 -04:30
José Lorenzo Rodríguez
94dd8a2543 Migrating ModelBehaviorTest to phpunit 2010-06-04 23:27:28 -04:30
José Lorenzo Rodríguez
d573be16c5 Adding compatibility method assertNotIdentical 2010-06-04 23:27:05 -04:30
José Lorenzo Rodríguez
d04278cb8e Migrating ModelIntegrationTest to PHPUnit 2010-06-04 23:19:33 -04:30
José Lorenzo Rodríguez
c23fe5d72e Migrating ModelReadTest to PHPUnit 2010-06-04 23:07:29 -04:30
José Lorenzo Rodríguez
2e7d2d5587 Migrating ModelWriteTest to phpunit 2010-06-02 00:30:52 -04:30
José Lorenzo Rodríguez
7d6ac7585a Migrating ModelValidationTest to phpunit 2010-06-01 00:19:11 -04:30
José Lorenzo Rodríguez
375dde87dc Migrating ModelDeleteTest to phpunit 2010-05-31 23:50:03 -04:30
José Lorenzo Rodríguez
c4b35ebc14 Fixing CakeFixtureManager::loadSingle to create the table if not exists 2010-05-31 23:49:18 -04:30
José Lorenzo Rodríguez
82da9be2ce Fixing issue with fixtures not being unloaded if the test method throws exceptions or fails in some unexpected way 2010-05-31 23:07:21 -04:30
José Lorenzo Rodríguez
ae4f3b24d8 Moving logic from methods that will be probably deprecated 2010-05-31 22:24:53 -04:30
José Lorenzo Rodríguez
33b2f0489a Migrating ThemeViewTest to phpunit 2010-05-31 22:23:22 -04:30
José Lorenzo Rodríguez
0743cee22f Migrating ViewTest to phpunit 2010-05-31 22:15:03 -04:30
José Lorenzo Rodríguez
b2f7afca11 Migrating SetTest to phpunit 2010-05-31 22:10:24 -04:30
José Lorenzo Rodríguez
499b8cf28e migrating HttpSocketTest to phpunit 2010-05-31 22:04:10 -04:30
José Lorenzo Rodríguez
3586626833 Merge branch '2.0-phpunit' of github.com:cakephp/cakephp into 2.0-phpunit 2010-05-31 21:15:10 -04:30
mark_story
02a04abf6b Fixing return values of methods, and updating tests to run properly in Phpunit which uses exceptions instead of errors. 2010-05-30 22:57:28 -04:00
mark_story
ea2f0327f5 Reverting change made in [7cde309]. Readding trim() to fix issues on windows. Updating tests so they continue to pass on macos. Fixes #769 2010-05-30 22:46:46 -04:00
mark_story
22e942c2a3 Fixing most of the File test case issues with phpunit. 2010-05-30 22:46:42 -04:00
mark_story
713e6e6287 Fixing parse error that caused scaffold test to not run and not pass. 2010-05-30 22:41:52 -04:00
mark_story
75d7b46a35 Updating memcacheEngine test case so it passes under phpunit. 2010-05-30 22:39:45 -04:00
mark_story
fc79dc6232 Merge branch '2.0' into 2.0-phpunit
Conflicts:
	cake/tests/cases/console/libs/tasks/controller.test.php
	cake/tests/cases/libs/code_coverage_manager.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/code_coverage_manager.php
2010-05-30 22:13:09 -04:00
mark_story
5ef9103a52 Updating the rest of the controller task test case to use phpunit. 2010-05-30 00:59:36 -04:00
Mark Story
ca5fb9fb93 Fixing tests broken by changes in default bake templates.
Fixing issue where admin methods wouldn't be correctly generated.
Fixes #664
2010-05-30 00:11:37 -04:00
mark_story
62ec25857f Making more tests work in phpunit. 2010-05-30 00:07:43 -04:00
José Lorenzo Rodríguez
a737b77a89 Fixing bridged method assertIdentical. The corrent interpretetion in PHPUnit was assertEquals and not assertSame, as the former is to assert references to the same object 2010-05-26 23:22:58 -04:30
mark_story
0dc627178a updating helper and component tests for controller task to use phpunit. 2010-05-26 23:01:14 -04:00
mark_story
e4ccaba3e0 Adding a filter GET parameter which allows you filter which test methods get run. It accepts preg_match() compatible patterns. 2010-05-26 22:21:34 -04:00
mark_story
8ac46c3b63 Adding return from _stop() to help testing.
Updating tests for getName()
2010-05-26 21:59:56 -04:00
mark_story
9647e359c4 First test passing for controllertask test 2010-05-25 23:54:28 -04:00
mark_story
08bcf55b8d Starting to convert controller task test to phpunit. 2010-05-25 23:51:48 -04:00
mark_story
66699df9a0 Updating Shell.test to use PHPUnit. There may still be some errors with the windows tests as I don't have access to windows at this time. 2010-05-23 14:52:46 -04:00
mark_story
265609dfc1 Moving test to work with PHPUnit.
Fixing incorrect count amount in SchemaShell.
2010-05-23 00:17:22 -04:00
mark_story
81c2169b0b Fixing BakeShell test for PHPUnit. Mock expectation numbers are off due to some oddities in PHPUnit. 2010-05-22 22:40:18 -04:00
mark_story
0436e938cd Fixing typo in class name. 2010-05-22 22:39:46 -04:00
mark_story
89a8ef3871 Updating API shell to use reflection as the regular expression was not working with visibility keywords.
Updating tests for changes in output.
Updating tests to work with PHPUnit.
2010-05-22 22:09:07 -04:00
mark_story
1955b0fb1f Updating Acl cli tool test case to use PHPUnit mock objects. 2010-05-22 20:21:27 -04:00
mark_story
b73870c33d Removing reference operators in the AclComponent. 2010-05-22 20:20:41 -04:00
mark_story
1c36c1f088 Updating ShellDispatcher test case to use PHPUnit mock objects. 2010-05-22 13:10:01 -04:00
mark_story
326f33f9c6 Adding wrapper for assertIsA() assertion in simpletest. 2010-05-22 13:09:17 -04:00
mark_story
cd4e63423d Exposing Object::_set() as a public method for testing and updating tests. There are still several fails caused by _persist(). 2010-05-22 11:28:22 -04:00