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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mariano.iglesias
1c96dd757f
Fixing PHP notice with string parameter
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6675 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:25:36 +00:00
mariano.iglesias
31eb02db28
Removing redundant code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6672 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:22:07 +00:00
mariano.iglesias
4acac55cf2
Fixing issue with CakeTestCase::testAction not returning view. Added documentation for usage. Getting rid of some function aliases.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6671 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:16:52 +00:00
phpnut
acc79fe0f3
"Closes #2508 , Allow requestAction to use array urls
...
Fixes #4325 , error pages no longer displayed since changeset
Closes #4329 , remove am() usage in core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
bacb74a6ef
Adding fix for Set::reverse() XML handling, fixes #4275 , plus fixes from previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
gwoo
b1f5b76f98
changing test suite layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6534 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:04:24 +00:00
gwoo
10bdc235ee
updating test suite for plugins, closes #4107 , closes #2777 . requires update to test.php.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:07:56 +00:00
nate
82f4427b8b
Fixing '0' default values in fixture generation, fixes #4295
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6519 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 17:27:32 +00:00
nate
1960be0dfa
Deprecating vendor() and removing all instances from the core, fixes #4016
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:23:32 +00:00
gwoo
3d191461b2
fixes #4236 , typo in simpletest not installed error message
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6488 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:52:07 +00:00
gwoo
241bda262a
updating test manager to show "all tests" when there are no app groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-04 16:59:52 +00:00
nate
c8974be887
Refactoring fixture handling and Model tests, fixing UPDATE and DELETE queries for other databases, fixes #3794 . Only forcing 'test_suite' prefix on default database connection, fixes #3873
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:00 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
phpnut
de8e7d8b01
"Closes #1854 , Core.po not loaded when using /app/locale/..../default.po
...
Closes #3539
Fixes #3611 , Cannot redeclare loadmodels
Fixes #3622 , loadControllers() and loadModels() look in wrong folders for AppController resp. AppModel
Added trigger_error to all deprecated functions in basics.php
Refactored I18n class to remove debug_backtrace() usage in basics.php, all translations should be placed in a default.po or .mo file from this point forward.
_ _d() function should be used if domain specific translations are used.
Core translations can be placed in app/locales/{lang}/LC_MESSAGES/core.po or .mo these will now be merged with the specified language strings from default.po will replace the core message strings
All translations are now cached to improve performance.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 08:16:23 +00:00
phpnut
c83ae0e1a9
"Fixing path search for fixtures in the test suite"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 01:55:50 +00:00
mariano.iglesias
a9bafdedb4
Removing forcing of table name for CakeTestFixture when importing schema and records from existing model.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5972 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 02:04:42 +00:00
phpnut
e1a0f554e1
Adding fix to only create fixture records if the table has been truncated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5914 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 19:42:16 +00:00
gwoo
fbd3811cd1
removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00