the_undefined
847811701c
Fixed Router::connectNamed, added enhanced named parameter control, closes #4451
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6933 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 22:52:28 +00:00
mariano.iglesias
35391deff5
Renaming configs to config and fixing Acl test.
...
Bringing Configure test coverage up to 82%, the best that can be achieved without calling __loadBootstrap(true) which will cause constant collision.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6932 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 22:51:29 +00:00
nate
b7fbf8f080
Refactoring database transaction handling, fixing Model test for SQLite, all tests now pass
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6931 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 20:19:08 +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
f900ecc1ef
Removed unneeded function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6929 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 19:56:00 +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
DarkAngelBGE
032990a364
bringing the validator to 93% coverage,
...
adding default regexes for Validator::phone(), Validator::postal() and Validator::ssn() if no default regex is supplied, but also no country
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6927 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 15:47:35 +00:00
DarkAngelBGE
45ed8ffeff
bringing the file class to almost 90% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6926 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 14:48:48 +00:00
TommyO
291781ab5a
Added new tests, failing on setup() mangles configuration, onError never triggered, find callbacks not triggered in recursive model finds
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6925 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 12:49:57 +00:00
DarkAngelBGE
010a083d1c
bringing the folder class to 84% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6924 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 11:26:00 +00:00
DarkAngelBGE
f26d9b388e
adding numerical test case refs #4589 ,
...
adding tests for DbSource->length,
fixes #4150 ,
adding tests for DbSource->buildIndex(),
adding tests for DbSource->buildColumn(),
adding test for requestAction using a plugin,
adding DboSource->introspectType fixes #4224 , refs #4589 ,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6923 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 09:22:42 +00:00
nate
6bed503b56
Refactoring schema handling for SQLite and Postgres drivers. Non-primary key indexes are now created properly. Fixed testing bugs in db drivers.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6922 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 06:42:36 +00:00
the_undefined
e1fc6ad5fd
Refactored parts of String::insert into String::cleanInsert
...
Added a html clean method and test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6921 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 06:11:51 +00:00
the_undefined
550b85fdbb
Improved Inflector::slug, closes #4678
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 05:03:12 +00:00
nate
8313fef72d
Changing recursive setting in Auth user lookup query, allows $userScope to use joins, fixes #4665
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6919 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 04:49:54 +00:00
mariano.iglesias
a33cfd0b98
Added Containable behavior, a mix of the original Containable and Bindable behavior.
...
Allows find operations to define restrictions on what models to get based on the 'contain' parameter, including ability to override binding settings on the fly. Go through the test cases to get a crash course about some of the available functionality.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6918 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 04:36:09 +00:00
mark_story
f011839cfe
Update dbo_adodb.php. Passes 452 tests in model.test
...
fixes #4133
Added test for dbo_adodb as well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6917 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 00:20:24 +00:00
the_undefined
d9e6ee6494
Fixed a problem in Configure causing the File engines default path to be ignored , closes #4673
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:47:06 +00:00
the_undefined
7e4224a1f9
Fixed a problem in App::__overload causing issues in PHP4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6915 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:45:25 +00:00
the_undefined
d64bf9b3d8
Marked old cache function as deprecated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6914 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:44:17 +00:00
AD7six
72e54d4780
adding test case to verify permission inheritance functions correctly. Fixes #4464
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6913 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 19:41:32 +00:00
joelmoss
64e68c9b7c
Text helper highlight method now handles HTML tags correctly. Closes #2242
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6912 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 18:45:24 +00:00
AD7six
ec12b91657
updated acl test debug method to display individual permissions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6911 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 18:23:05 +00:00
AD7six
56ce3c0f1c
adding debug function to acl test case to aide checking permissions whilst writing/debugging tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6910 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 17:33:08 +00:00
mariano.iglesias
05047a90b0
Making Model::resetAssociations public and changing tests that use it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6909 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 16:23:46 +00:00
gwoo
bc6a8e03b5
fixes #4671 , skip DboOracle tests when driver is not set. Clean up other dbo tests to be consistent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6908 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 13:59:29 +00:00
phpnut
10d555d5e2
"Adding additional tests for I18n class.
...
Removed unused code from the class.
Fixed use of invalid translations in a po file"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6907 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 06:05:08 +00:00
mark_story
926b88a53a
Updated dispatcher test for case described in #4660
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6906 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 03:52:08 +00:00
phpnut
638b06ff85
"Adding test coverage for I18n class.
...
Adding ability to change translations on the fly
Example: Configure::write('Config.language', 'locale');
Same setting can be used to define you own locale
Example: Configure::write('Config.language', 'somename');
Added ability to set additional directory paths for locale directory
Example: Configure::write('Locale.path', DS . 'directory'. DS . 'locale');
Fixed merging of core translations, if present."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6905 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 00:48:34 +00:00
gwoo
8124d166ff
updating auth url for login actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 18:17:04 +00:00
phishy
6c44d00642
Fixed #4206 - lastError now works
...
Fixed #4181 - model sequence name now respected
added constraint() method to enable/disable
added truncate() to aid in test suite integration
hacked name() to work with ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6903 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:42:13 +00:00
phishy
518f26a269
added test case for DboOracle and two regression tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6902 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:23:30 +00:00
gwoo
8a236492a0
adding Object::stop(), updating auth and auth.test to use
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6901 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:23:00 +00:00
joelmoss
3d251e4145
Replacing vendor() function with App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6900 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:41:39 +00:00
DarkAngelBGE
e42076b9c2
adding CLI exit code to testsuite shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:00:46 +00:00
nate
d9a7170808
Adding validation message fixes for Model::saveAll() and hasOne associations, fixes #4561
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 06:03:33 +00:00
nate
0f1e075d68
Adding fix for Model::saveAll() with 'validate' => 'first' and hasMany records, fixes #4387 , adding test cases to disprove #4494
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6897 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 05:31:14 +00:00
mark_story
5893fd3669
Added additional test using ajaxLogin with Dispatcher. Currently fails.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6896 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 01:33:53 +00:00
gwoo
84739652c8
adding fix for windows paths in view, thanks renan`saddam for reporting and debugging
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 23:57:24 +00:00
TommyO
de086b1be3
Minor code cleanup, removing remnants from an older version that no longer apply
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6894 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 20:17:58 +00:00
gwoo
1623fa89f8
updating auth, fixes #4417 ajaxLogin rendering
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6893 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 19:20:13 +00:00
gwoo
3b524b70d5
removing icons from test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6892 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 18:18:46 +00:00
phpnut
0cc0580fff
"Fixing code CodeCoverageManager so code coverage can be tested when cake core is outside of the ROOT path or set in the php.ini
...
Cleaned up code structure."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6891 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 17:27:57 +00:00
gwoo
17379fff80
fixes #4495 . updating cake.php and cake.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6890 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:40:35 +00:00
TommyO
52037d15e4
Allow afterSave() callbacks to modify value of a data field, as per ticket #2465\nNecessary tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:37:55 +00:00
the_undefined
ab0a607189
Refactored Set::reverse and tweaked the expectation schema for consistency, fixes #4643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 14:48:49 +00:00
nate
68234dd529
Adding tests for HABTM unique key, disproves #3859
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6887 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 07:08:16 +00:00
the_undefined
bf107d1886
Fixed admin routing redirect in AuthComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 07:06:22 +00:00
nate
6614bc96ab
Adding tests for tinyint(1) -> boolean typecasting in DboMysql, closes #4568
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6885 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 06:42:31 +00:00
phpnut
ffd272901c
"Setting missing props"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6884 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 06:00:12 +00:00
phpnut
896de31580
Fixing svn props on files.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6883 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:26:40 +00:00
nate
9d3f601bbc
Adding tests for Model::updateAll() using field calculations, disproves #4052 , refactoring tests to work on Postgres
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6882 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:17:23 +00:00
the_undefined
fa0325b68f
Added Node / Dependency Fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6881 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:14:36 +00:00
phpnut
9d9d69d194
Fixing svn props on files.
...
Renamed sessionHelper.ctp
Fixed test case with proper layout name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:13:44 +00:00
TommyO
fc6934e988
Added additional callbacks to behavior and tests to match.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6879 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 04:53:56 +00:00
the_undefined
52245a059f
Closes #4156
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6878 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 04:00:21 +00:00
the_undefined
ea9e91218e
Fixing bug in Model::saveField, closes #4511
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6877 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 03:16:36 +00:00
the_undefined
d039ad32d4
Allowed for matching empty elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:21:51 +00:00
the_undefined
673e0e6e6f
Fixed expectation for non-transactional databases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6874 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:05:05 +00:00
mark_story
8e9951f32a
Added tests for dump() and additional tests for output();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6873 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 01:59:56 +00:00
mark_story
a8728246db
Updated the expectations of the two failing tests. Both pass now. Fixes #4600
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6872 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 00:56:08 +00:00
nate
b489bb1470
Cleaning up PagesController, fixes #4640
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6871 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 21:34:26 +00:00
gwoo
18b627636b
updating cake.test.php, fixes #4638 . updating cake.php, fixes #4648 (with tests), updated Cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
the_undefined
72c37d429e
Improved String::insert by support placeholders with after sequence during cleanup
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6869 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 16:31:44 +00:00
the_undefined
7308c3e5d4
Fixed bug in String::insert
...
Refactored and improved String::insert cleaning process
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6868 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 15:35:36 +00:00
TommyO
830f9ec3f8
Fixed test path to expand softlinks to match xDebug behavior.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6867 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 15:00:28 +00:00
mark_story
05b3193c54
Added primary keys to Acl fixtures fixes #4634 where tests were failing on InnoDB tables
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6866 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 12:18:21 +00:00
mark_story
fcfd9be4bb
Cleaned out unecessary code in error.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6865 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 02:28:01 +00:00
mark_story
6f4c58377c
Updated Code Coverage (100%)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6864 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 02:24:58 +00:00
chartjes
d7817abf29
Added test case for ticket 4495, where when running "cake bake" on windows will result in the proper app directory being written to disk. Test currently fails when comparing root dir created by bake to the ROOT constant
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6863 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 01:10:24 +00:00
joelmoss
09ebd9cbe6
Paginator Helper prev and next methods now use the Html::tag helper method, allowing you to pass a tag option to specify what HTML tag the disabled links should be wrapped in. Defaults to div. Fixes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:35:47 +00:00
the_undefined
dd7aa25a20
Made custom save $options available throughout all filters and callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6861 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:34:59 +00:00
gwoo
b6a085b90e
updating console/cake.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6860 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:13:31 +00:00
joelmoss
9a4c186ccd
Html::tag now accepts $attributes as a string, in which case, it will be used as the tags class name.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:09:37 +00:00
joelmoss
65454882f3
Created Html::tag helper which allows you to create any HTML block tag. Html::div now uses this method.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:04:52 +00:00
the_undefined
fb7ac680b0
Made sure DboSource always has a prefix setting, closes #4601
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6857 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 22:53:44 +00:00
the_undefined
825eb48508
Fixed missing view path for plugins, closes #4244
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6856 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 22:18:30 +00:00
phpnut
7ee9c21079
"Completing test coverage for Multibyte class.
...
Removed case foldings that have no lower case code points."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6855 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:31:08 +00:00
DarkAngelBGE
6d1f927b3f
fixes #4495
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6854 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:27:33 +00:00
the_undefined
5c1878afec
Removed the Model cache engine for architectural reasons, closes #4415
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:25:19 +00:00
the_undefined
3db8b860d1
Fixed another String::tokenize bug, closes #4627
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6852 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:22:10 +00:00
gwoo
2334a27f51
updating acl.test with new fixtures. reverting modified acl related fixtures used for db_acl.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6851 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 19:29:03 +00:00
DarkAngelBGE
4621e68803
bringing the numbers helper to 100% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 18:04:09 +00:00
gwoo
99874c60d9
fixes #4238 , Mysqli working with the test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6849 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 18:03:44 +00:00
gwoo
c0f042e4ab
fixes #4432 , Model aliases. Updated cases. Removed usage of $this->model in model.test.php in favor of local variables
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 16:42:39 +00:00
DarkAngelBGE
ead3ff125d
adding header test to XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:50:27 +00:00
DarkAngelBGE
11ba82430a
removing unneeded lines from RequestHandler,
...
adding error surpression oeprator in front of header() to make the components group pass (RequestHandler class)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6846 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:38:01 +00:00
DarkAngelBGE
db35048e12
very small refactoring for apc.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6845 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:24:40 +00:00
DarkAngelBGE
d04101a95a
refactoring Controller::referer
...
adding Controller::header() for testability
bring Controller up in code coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6844 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:22:57 +00:00
DarkAngelBGE
87d47722ff
removing a session test that would not work in the all group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6843 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:21:52 +00:00
DarkAngelBGE
2bdf2a7704
removing one test from xml helper that would not work in a group test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6842 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:20:58 +00:00
DarkAngelBGE
35ce49b41e
fizing sanitize.test.php breaking the all core tests group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6841 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 12:26:30 +00:00
joelmoss
ba0a563fe7
Removed TestModel from Object test as it conflicted and wasnt needed anyway
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6840 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 12:23:22 +00:00
DarkAngelBGE
79e1fd6ed2
enabling php4 for xml helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 08:15:15 +00:00
DarkAngelBGE
88a2f0936e
fixes #4559
...
bringing xmlhelper to 100% code coverage
fixing small bugs in XmlHelper::__parseContent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6838 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 07:56:33 +00:00
DarkAngelBGE
a5510c2ebb
fixes #4624
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6837 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 06:51:18 +00:00
DarkAngelBGE
f420d1494e
analyze code coverage link on same line as the other test links,
...
fixing wrong security expectation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6836 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 06:36:38 +00:00
DarkAngelBGE
4b91712791
bringing security component up to 84% coverage,
...
internationalizing trigger_error for security lib
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6835 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 06:27:43 +00:00
the_undefined
24d8878ab6
Added CAKEPHP_SHELL constant to shell dispatcher making it easy to recognize when in shell mode
...
Fixed #4599
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 05:23:57 +00:00
phpnut
52ec5467c6
"Adding new Multibyte Class
...
Adding additional tests
Adding some missing casefoldings
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6833 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 04:20:24 +00:00
the_undefined
93ad951a8c
Fixed small bug in TextHelper::autoLinkUrls, closes #4357
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6832 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:53:26 +00:00
the_undefined
170fe3d9d1
Fixed Router::queryString php.ini setting dependency, closes #4614
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6831 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:40:24 +00:00
the_undefined
451192018a
Improved AuthComponent to use an array to match the login action, fixes #4572
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6830 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:22:34 +00:00
the_undefined
82d595551c
Fixed typo in DbConfig task, closes #4618
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6829 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:38:41 +00:00
the_undefined
425dbf363d
Fixed bug in BehaviorCollection::trigger, closes #4520
...
Added basic test coverage for BehaviorCollection::trigger
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6828 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:33:44 +00:00
the_undefined
6f64efb342
Fixed a String::tokenize bug for a single enclosed item, closes #4627
...
Added basic test coverage for String::tokenize
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6827 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:05:07 +00:00
mark_story
fca356c040
Updated Sanitize test to increase code coverage (92.45%)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6826 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 01:40:52 +00:00
the_undefined
d9a30eaa62
Fix for Model::saveAll validate => first, closes #4533
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6825 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 01:39:06 +00:00
the_undefined
823eb81dc7
Fixed bug in Model::__save validation logic, closes #4554
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6824 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 01:03:11 +00:00
the_undefined
232e3f7ec1
Fix for Model::saveAll bug, closes #4466
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6823 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 00:39:29 +00:00
joelmoss
0b1f7b9151
Debugger tests now at over 70% code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6822 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 21:07:21 +00:00
joelmoss
91b66abb6d
Taking code coverage for Object test to 66%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6821 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 20:38:58 +00:00
DarkAngelBGE
015d21bc6b
adding tests for security library
...
adding check for empty key to Security::cipher()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6820 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 19:50:00 +00:00
DarkAngelBGE
b42a6b6578
fixing code coverage manager.test to be able to be run from group tests itself
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6819 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 18:46:12 +00:00
DarkAngelBGE
cdbc556db8
removing loader.test.php from configure.group.php to make it work again
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6818 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 18:21:13 +00:00
mariano.iglesias
db11f9ef91
Improving test readability
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6817 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 15:47:20 +00:00
nate
81b57b7d5d
Pushing TextHelper code coverage to 100%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 07:05:33 +00:00
nate
66e1efbcdb
Deprecating TextHelper::flay(), fixes #3052
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6815 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:46:58 +00:00
nate
b7a5a28fbb
Improving code coverage for PHP-native JSON generation in JavascriptHelper, fixing object output bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6814 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:04:56 +00:00
mariano.iglesias
ccd28c0139
Re-inserting the expected array for clarity in testSaveAllValidation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6813 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 23:30:41 +00:00
mariano.iglesias
47dad34bb6
Using datasource driver to build table names for tests. Fixing test and adding a non-atomic saveAll. Fixing fixture value.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6812 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 23:08:47 +00:00
joelmoss
de3014b83e
Adding more tests for Session component, taking code coverage to over 95%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6811 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 22:51:37 +00:00
mark_story
a70cc25eed
Updated Model tests to reflect diffs related to ticket #4444
...
Fixed issue with testing of model::query with incorrect table name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6810 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 20:07:04 +00:00
mark_story
f653e203b8
Updated AclComponent Test to increase code coverage
...
Created actual fixtures for aros, acos acos_aros so tests are no longer dependant on each other.
Added configs/acl.ini.php to test_app to facilitate testing of INI base Acl.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6809 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:49:13 +00:00
mariano.iglesias
94c129cf9e
Updating test in JavascriptTest so float precision is taken into account
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6808 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:42:56 +00:00
mariano.iglesias
98cf0f47f5
More code coverage for JavascriptTest
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6807 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:37:45 +00:00
mariano.iglesias
219dca11a0
Fixing issue where 'safe' option was not being considered when calling JavascriptHelper::codeBlock and then blockEnd. Increasing test code coverage for JavascriptHelper.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6806 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:14:35 +00:00
nate
c0d86a76d3
Fixing MSSQL Driver
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 18:53:54 +00:00
joelmoss
d4e01c9322
Removing the need for REQUEST_URI for the show passes link
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6804 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 18:27:39 +00:00
mariano.iglesias
a86b682146
Moving fixing of double path into CodeCoverageManager::start
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6803 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 18:15:36 +00:00
phpnut
d7a171ecf2
"Removing multibyte support from the String class."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6802 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 17:34:53 +00:00
mariano.iglesias
d3cdb7b591
Reverting check from [6791]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6801 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 16:43:16 +00:00
nate
7f090c0cc6
Fixing Socket test to run on non-standard virtual host configurations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6800 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 16:42:19 +00:00
mariano.iglesias
ce01acfbdf
Reverting test change from [6790]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6799 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 16:39:18 +00:00
joelmoss
285a3af40a
Making the HTML Test reporter look a little more aestheticly pleasing.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6798 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 16:18:21 +00:00
nate
925e022e4f
Adding check for XDebug in CCM test, fixing database check in MySQL, adding test coverage for View, fixes #4619
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6797 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 15:48:45 +00:00
mariano.iglesias
751a1b7cf7
Reverting [6795] as it changes existing behavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6796 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:53:15 +00:00
joelmoss
df24fff1a2
Paginator Helper prev and next methods are now wrapped in span tags instead of div tags. Tests also modified to support this. Closes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6795 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:32:51 +00:00
mariano.iglesias
9aa1d645ab
Adding missing xdebug_stop_code_coverage() in CodeCoverageManager
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6794 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 17:29:28 +00:00
mariano.iglesias
a052c1c309
Stopping xdebug code coverage once it is no longer needed on CodeCoverageManager
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6793 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 17:28:49 +00:00
mariano.iglesias
0d02637352
Fixing issue where double path separator was being used under Windows
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6792 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 17:15:16 +00:00
mariano.iglesias
88f25d501b
Fixing CodeCoverageManagerTest for PHP4 command line call under Windows. Fixing issue in CodeCoverageManager where wrong path was created on Windows.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6791 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 17:01:51 +00:00
mariano.iglesias
b8f0e80f7d
Fixing test cases in HtmlHelperTest for command line testing and removing function aliases from CodeCoverageManager
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6790 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 16:42:35 +00:00
gwoo
9982a30eea
cleaning up DbConfigTask
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6789 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 05:37:21 +00:00
mariano.iglesias
b32a196238
Adding more coverage for HtmlHelperTest and fixing issue where HtmlHelper::meta() was overriding the found type as specified in attribute
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:57:46 +00:00
mariano.iglesias
6eb4daccd2
Refactoring HtmlHelperTest to use assertTags, fixes #4449
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6787 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:32:55 +00:00
mariano.iglesias
22781b8af5
Optimizing optional quotes handling in assertTags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6786 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:28:35 +00:00
mariano.iglesias
14fc2ef778
Allowing quotes enclosing attributes to be optional when regular expression used in assertTags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6785 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:26:52 +00:00
mariano.iglesias
697261e3da
Finished refactoring of FormHelperTest so tag matching is done through assertTags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6784 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 03:20:06 +00:00
mariano.iglesias
5e90f87c2d
Removing unneeded operator
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6783 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 01:39:56 +00:00
mariano.iglesias
05e19df994
Fixing PHP4 subversion required to do special processing on CLIReporter
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6782 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 21:28:38 +00:00
nate
9f6ed48362
Removing Post model dependency from View test execution
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6781 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 17:57:36 +00:00
the_undefined
9251801602
Fixed problem with Socket::reset
...
Fixed bad conflict resolution in HttpSocket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 17:55:14 +00:00
gwoo
c6e1a59891
fixes #4610 , missing methods in ErrorHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 16:35:43 +00:00
nate
a5822e6967
Additional test coverage for SessionHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6778 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 16:13:30 +00:00
mark_story
a53d308fa3
Fixed formatting in session helper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6777 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 12:31:34 +00:00
mark_story
2109b9e909
Increase test coverage for SessionHelper
...
Added Layout needed for SessionHelper test to test_app/views/layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6776 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 12:27:07 +00:00
nate
a392e5e605
Refactoring tests and adding code coverage for HtmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 17:48:14 +00:00
gwoo
5584420ac6
updating link on home.ctp, closes #4595
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 15:33:54 +00:00
DarkAngelBGE
9d1619f7cd
adding tests to the View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6773 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 14:54:08 +00:00
the_undefined
493d5e61e1
Allowed whitespace in front of opening tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 13:19:38 +00:00
the_undefined
de5f744a9c
Changed close tag prefix from ! to / to be more HTMLish
...
Added support for simple open tags using <tag
Refactored FormHelper to use new syntax / features
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6771 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 13:14:47 +00:00
the_undefined
075afb244a
Restored last missing FormHelper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6770 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:57:58 +00:00
the_undefined
0a715f2afe
Refactored CakeTestCase::assertTags to tokenize the validation process and give useful debug information on demand
...
Refactored all FormHelper test cases to work for the new approach and make use of new features
Fixed a FormHelper::hour dateTime bug causing the hour 0 to be selected at 12pm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:32:31 +00:00
nate
e2cca50ba9
Cleaning up code formatting on Paginator helper test, and adding extra test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6768 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 04:01:07 +00:00
mark_story
231d585221
Updated paginator.test.php to increase code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6767 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 03:26:47 +00:00
the_undefined
8b42465eaf
Implemented String::insert
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 02:59:00 +00:00
nate
4519261b39
Adding test cases for TextHelper::toList()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6765 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-06 20:44:47 +00:00
DarkAngelBGE
7985746190
fixing failing timehelper tests (isThisWeek())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6764 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 17:54:05 +00:00
gwoo
2e1f8c6303
updating bake project, dbconfig, fixes #4563 now using int for port
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:42:02 +00:00
DarkAngelBGE
5cb193db6e
putting RouterTest::testFullBaseURL() back into place for CLI test reporting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6762 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:11:18 +00:00
DarkAngelBGE
85cd5adaf1
changing numeric check in TimeHelper::wasWithinLast to remove the use of a php extension
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:04:02 +00:00
DarkAngelBGE
44fae51ce8
aggregate code coverage for groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:27 +00:00
gwoo
3263c0bc81
fixes #4571 Helper::clean() returns null if passed empty array or string.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:15 +00:00
DarkAngelBGE
0628b24760
fixing the time helper leap year problem,
...
adding tests to time helper to bring it close to 90% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6758 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:38:03 +00:00
DarkAngelBGE
25033f1599
removing two Router::url() relevant test cases for cli test reporting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6757 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:35:39 +00:00
DarkAngelBGE
c74b83ca7f
adding Socket::reset() and refactoring HttpSocket to use it,
...
adding tests for socket class to get it up to 90+% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:33:35 +00:00
DarkAngelBGE
e7609469d4
refactoring Validation::ip()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6755 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:21:05 +00:00
nate
f96379ea36
Refactoring Router test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6754 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:19:19 +00:00
the_undefined
9154ef1953
Foreign character support for Inflector::slug, fixes #3492
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 13:39:49 +00:00
the_undefined
268bb42a02
Made HttpSocket::decodeChunkedBody a little more forgiving, fixes #4523
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:42:15 +00:00
the_undefined
9097b25111
Fixed failing HttpSocket tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6751 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:38:33 +00:00
nate
b9cfc9ecf3
Correcting handling of empty URLs with full base, fixes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-04 04:34:29 +00:00
nate
f75da65bda
Fixing manual primary key insert in model test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6749 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 16:35:03 +00:00
nate
32ea41a90e
Correcting MSSQL limit/distinct handling, correcting date/time handling, fixes #4352 , fixes #1778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 14:15:47 +00:00
mariano.iglesias
ce31e77574
Continuing refactor of FormHelperTest to use assertTags for tag testing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6747 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 22:09:16 +00:00
mariano.iglesias
e0a9f03572
Fixed issue where $selected = true sent to FormHelper date method was generating multiple OPTION tags with SELECTED attribute
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:26:11 +00:00
mariano.iglesias
893c218be6
Fixing issue where FormHelper::dateTime was generating non valid XHTML
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:22:08 +00:00
mariano.iglesias
c585658c27
CakeTestCase::assertTags() now allows regular expressions for an entire attribute / attribute set
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6744 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 19:35:12 +00:00
gwoo
2aff396611
fixes #4538 , missing '.' in model task when creating fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6743 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:58:16 +00:00
gwoo
6b4fe0a1a2
adding dispatcher test for full page caching, closes #4515
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6742 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:55:48 +00:00
gwoo
7ab5c20577
some clean up related to testsuite shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6741 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:39:36 +00:00
gwoo
48f0131d50
closes #4552 , error test disabled when run from console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6740 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:37:19 +00:00
gwoo
2c061ede2b
updating router test case, closes #4553 where FULL_BASE_URL is not defined when test is run from console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6739 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:54:55 +00:00
gwoo
f6a78538ff
updating shell, fixes #4540 where shell name and model are the same
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:44:21 +00:00
nate
f8f1380bcd
Correcting default value handling in model fixtures; updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 19:19:16 +00:00
DarkAngelBGE
471b6b0e2d
coverage manager fix windows IE styles,
...
testsuite help page typo fixes #4551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 14:08:29 +00:00
DarkAngelBGE
f9ec1e752d
code coverage analysis for cli,
...
fixing CliReporter extending SimpleReporter and not TextReporter (to enable the printing of exceptions in cli)
some minor refactorings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 21:03:51 +00:00
DarkAngelBGE
e38afee93d
code coverage support for plugins
...
typo fix in testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 18:24:52 +00:00
DarkAngelBGE
5ea06cb29c
adding testsuite shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 17:59:31 +00:00