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
DarkAngelBGE
facf6141d0
code coverage css refactorings
...
code coverage html diff view (which is the default view now)
refactorings for CodeCoverageManager
adding tests for html view, html diff view and a bunch of others
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 18:02:34 +00:00
gwoo
1526a7647a
adding console/cake.php test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 14:39:52 +00:00
mariano.iglesias
f7384bca87
Removing extra check for closing tag in assertTags().
...
Continuing with FormHelperTest refactoring.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 18:44:01 +00:00
mariano.iglesias
3180aecb95
Initial refactor of FormHelperTest to use assertTags for tag testing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 15:09:41 +00:00
mariano.iglesias
b7ec7dbbad
Allow whitespaces between tags in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:51:44 +00:00
nate
9bad5824cb
Enabling empty array URLs in Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:41:42 +00:00
nate
b0568e7ace
Adding schema introspection tests to Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:39:34 +00:00
mariano.iglesias
3f0b8217ec
Allowing regular expressions as part of the tag construction in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:28:00 +00:00
mariano.iglesias
2902969504
Allowing multiple closing tags of the same type for assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6724 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:12:33 +00:00
mariano.iglesias
fae3b0386a
Adding support for pattern based attribute values in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 13:44:02 +00:00
nate
db2c2c02d1
Adding test cases for uncovered Inflector methods, refactoring tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 12:40:47 +00:00
nate
9bab2440e7
Adding Dispatcher test cases for POST data handling and method overrides
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:43:26 +00:00
nate
eb25e3505a
Adding test cases for uncovered RequestHandler methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:11:27 +00:00
nate
d341f531d3
Fixing recursion in Debugger variable dumps
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:10:55 +00:00
nate
0ff44a2ab7
Consolidating Configure and App class tests so test files match, per standard convention
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6718 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-25 01:39:30 +00:00
joelmoss
e1ffd25d49
Added tests for Model::__doThread and to prove #3924 which seems to already have been applied to the core. Closes #3924
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 14:12:36 +00:00
joelmoss
f9ea98e746
Changed Router tests to use static method calls to reflect actual usage in applications. Fixed the __resourceMapped call in Router::mapResources and added tests to prove it is assigned correctly. Fixes #4530
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 13:41:11 +00:00
DarkAngelBGE
2ca68ab3a8
first version of code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6715 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 18:25:03 +00:00
nate
358a613243
Fixing conditions quoting in DboSource, closes #4508
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 15:24:57 +00:00
joelmoss
7f6e54ea3a
Validation now supports error messages on multi record forms. Added tests to support this. Closes #4499 . Thanks jose_zap
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 14:14:58 +00:00
joelmoss
a0af56f923
Removing inline comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:58:26 +00:00
joelmoss
8fa2d1cf9c
Added tests for TextHelper::truncate. Truncate now also fully respects HTML tags and characters if $considerHtml is passed and true. The third parameter of truncate can now also be an array consisting of any of the remaining params.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:23:12 +00:00
the_undefined
aee33deb3a
Implemented CakeTestCase::assertTags
...
Replaced some regex in Form helper test with it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 19:53:00 +00:00
the_undefined
586bcb8f28
Fixed Set::merge warning when calling it from a static function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 17:18:05 +00:00
the_undefined
5321ce98ec
Giving bool return value to DboSource::insertMulti
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 16:59:26 +00:00
nate
42083e0a1b
Refactoring insertMulti() for DboSource and drivers, updating Model test for non-transactional db's
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-21 12:31:28 +00:00
joelmoss
f91f90df71
Added tests for Set::enum
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 22:26:34 +00:00
nate
648d01e2e6
Adding test cases for HtmlHelper::charset()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
the_undefined
ee94d5662c
Added persist feature to routing, allows namedArgs to be auto-populated for reverse routing based on current request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 20:57:23 +00:00
nate
296e8989ba
Adding GET/PUT/DELETE method checks to Security component, refactoring adding tests, closes #4231 . Thanks joelmoss.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 19:25:49 +00:00
mariano.iglesias
d412d7094f
Fixes #4467 , issue with 'atomic' on saveAll not properly rolling back transaction. Thanks amit for the test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 17:33:17 +00:00
nate
b7774103f8
Removing extraneous error catching from Dispatcher and View tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:43:07 +00:00
nate
16bfee9831
Correcting issue in Model::__save() to prevent overwriting of existing record data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:30:11 +00:00
joelmoss
f34ae31184
Modified relevant test cases to use the refactored SecurityComponent:__methodsRequired
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6699 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 18:16:20 +00:00
joelmoss
4ced59868a
Adding test cases for additional require methods or the remaining HTTP verbs/methods. Refs #4231
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:25:47 +00:00
nate
ed51f78227
Adding Model::saveAll() atomic fix, closes #4400 , thanks joelmoss
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:14:40 +00:00
the_undefined
e46425f759
Fixed bad test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:25:03 +00:00
joelmoss
54121efb3e
Adding test case for Model::saveAll, to allow it to return the results of each record save in an array, if 'atomic' option is false. This means we can now see which records failed and which were successful. Refs #4400 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:06:41 +00:00
nate
8756f0d471
Adding test case for generating full-base absolute URLs, disproves and closes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:58:14 +00:00
nate
0793138c6c
Fixing SELECT DISTINCT queries for SQL Server + misc schema fixes, closes #4352
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:27:58 +00:00
nate
fc92ea039a
Simplifying default Debugger output, fixes #4066
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:01:35 +00:00
nate
3e28323667
Fixing conditions quoting in DboSource::conditionKeysToString(), closes #4368
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6691 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:39:54 +00:00
nate
d8cb269dc3
Removing greeting from console apps
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6690 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:30:09 +00:00
nate
6a6928e084
Adding array index fix for loading vendor files in console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:29:46 +00:00
mariano.iglesias
953c778f5f
Adding tests to FormHelper including generating custom names for checkbox elements, closes #4479
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:58:47 +00:00
nate
f6103830c3
Adding prepared statement support to Model::query(), closes #2069 (thanks Mark Story)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:30:32 +00:00
the_undefined
5c0b72db85
Added support for controlling namedArg behavior on routes level, fixes #4451
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 23:14:49 +00:00
mariano.iglesias
ab3b90503f
Fixing issue in Security component with modeless field names, fixes #4454 . Thanks vuego for the test and patch!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:51:40 +00:00
mariano.iglesias
5f8641aac9
Adding test to show afterFind being called from Model::find('list'), closes #4456
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:30:25 +00:00