Commit graph

915 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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