Commit graph

938 commits

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