Commit graph

6671 commits

Author SHA1 Message Date
Mark Story
84840c7b04 Fixing issues with magic input() type detection and adding/updating tests. 2010-01-12 23:27:17 -05:00
Mark Story
d8e7aa929c Merge branch '1.3-misc' into 1.3 2010-01-12 17:18:14 -05:00
Mark Story
8e22e8cbea Merge branch '1.3-test-suite' into 1.3-misc 2010-01-12 09:31:07 -05:00
Mark Story
637b0133a8 Removing memory limit configuration from test.php. Was problematic in that it would override php.ini settings which could be higher. 2010-01-12 09:30:40 -05:00
Mark Story
a0c3c4b803 Updating AuthComponent::startup() so that being redirected to loginAction with no Auth.redirect value in the session and a non empty loginRedirect defined, the Auth.redirect value is not overwritten. This prevents redirection to already accessible pages. Test cases updated.
Fixes #173
2010-01-11 23:54:06 -05:00
Mark Story
4a96f52be9 Refactoring testsuite shell and consolidating duplicated filename generation logic. 2010-01-11 18:04:38 -05:00
Mark Story
0803e2a5a6 Moving CLI code coverage generation into the CliReporter. 2010-01-11 18:04:08 -05:00
Mark Story
07b43be125 Making CLI case code coverage reports include text. 2010-01-11 18:00:45 -05:00
José Lorenzo Rodríguez
04562982b2 Fixing doc block 2010-01-11 15:34:16 -04:30
José Lorenzo Rodríguez
aa9258cbd1 Adding test for DboSource::group() and virtual fields
Closes #184
2010-01-11 12:22:59 -04:30
José Lorenzo Rodríguez
3fe4b46614 Fixing DboSource::group() to test for virtual fields when first parameter is not an array 2010-01-11 12:06:27 -04:30
José Lorenzo Rodríguez
cecfd72f28 Fixing parse error in php 4 2010-01-11 11:51:55 -04:30
Phally
bbb105fc8c Added virtual field support for GROUP BY. 2010-01-11 11:46:59 -04:30
Mark Story
dda2414b5b Fixing compatibility in ConnectionManager with php4. Fixes #187 2010-01-11 09:48:53 -05:00
Mark Story
4ada5b7eea Fixing notice errors caused by incorrect datatyping in php4. 2010-01-11 09:44:51 -05:00
Mark Story
896414e632 Fixing parse error in PHP4 caused by optional arguments with default
values being passed by reference. Fixes #180
2010-01-11 09:40:56 -05:00
Mark Story
84e70c1db1 Adding linebreak for text/cli output situations. 2010-01-10 15:56:51 -05:00
Mark Story
489958ea48 CakeTextReporter now outputs code coverage. 2010-01-10 15:56:24 -05:00
Mark Story
9989327b5b Fixing constructor of CakeCliReporter to match CakeBaseReporter. 2010-01-10 15:55:49 -05:00
Mark Story
980a85cec4 Updating testsuite shell to use new CodeCoverage methods. 2010-01-10 15:55:09 -05:00
Mark Story
02dbbcdfc6 Fixing CliReporter class name as well as making cli/text output the default if the reporter is unknown. 2010-01-10 15:45:41 -05:00
Mark Story
e7e1a9b15c Further refactoring of code coverage manager. 2010-01-10 15:42:30 -05:00
Mark Story
5a88aaf909 Refactoring loops in CodeCoverageManager 2010-01-10 15:28:29 -05:00
Mark Story
645807211b Adding clear to CodeCoverageManager. 2010-01-10 13:39:41 -05:00
Mark Story
d7164c416e Adding code coverage toggling to CakeBaseReporter.
Updating CodeCoverageManager method use in CakeTestSuiteDispatcher.
2010-01-10 13:24:41 -05:00
Mark Story
da26124add Renaming CodeCoverageManager::start() to init().
Adding a start(), stop(), and clear() methods to CodeCoverageManager.
Making CakeBaseReporter toggle code coverage on and off as needed.
Updating test case for CodeCoverageManager.
2010-01-10 13:23:37 -05:00
Mark Story
b83f3d37c8 Removing unused method. 2010-01-10 13:06:11 -05:00
Mark Story
3dad64c9c0 Moving buffer start in CakeHtmlReporter to fix errors when displaying menus.
Adding paintDocumentStart() to CakeTextReporter::paintHeader() to fix issues with test results not being text/plain.
2010-01-10 13:05:35 -05:00
Mark Story
a41678e51f Merge branch '1.3-misc' into 1.3-test-suite 2010-01-10 12:53:00 -05:00
Mark Story
6147de7725 Fixing notice errors in test case. 2010-01-10 12:52:06 -05:00
Mark Story
836c7de7cb Updating CodeCoverageManager test case and CodeCoverageManager 2010-01-10 12:48:40 -05:00
Mark Story
cf5c48ecc5 Making CakeBaseReporter constructor take null for charset, so its easier to type. 2010-01-10 12:48:11 -05:00
Mark Story
e304246e8f Updating test manager test cases to reflect changes in API. 2010-01-10 12:39:21 -05:00
Mark Story
a0aca7ee62 Adding output buffering to htmlreporter fixing issues with tests that send headers like Dispatcher test. 2010-01-10 12:34:55 -05:00
Mark Story
285ff5eb3b Merge branch '1.3-misc' into 1.3-test-suite 2010-01-10 12:28:09 -05:00
predominant
0959de6031 Adding more tests to check cache paths and stupid values. 2010-01-10 20:54:20 +11:00
predominant
3bd8bd2e0e Adding Inflector::underscore tests 2010-01-10 20:52:49 +11:00
Mark Story
f4bda62ea3 Adding doc blocks and correcting constructor of CakeCliReporter
Fixing TestSuite console code coverage output.
2010-01-09 23:00:03 -05:00
Mark Story
bcd7d34023 Refactoring breadcrumb and time generation in the CLI reporter. 2010-01-09 22:51:17 -05:00
Mark Story
d79bacd1ed Making CodeCoverageManager get its settings from the reporter. This
makes code coverage much less reliant on GET parameters.
2010-01-09 22:42:00 -05:00
Mark Story
03da53bb92 Correcting classname used in CodeCoverageManager
Moving CodeCoverageManager::report() to be inside the html document.
2010-01-09 22:35:29 -05:00
Mark Story
f52900f818 Adding time and memory use to CakeCliReporter 2010-01-09 22:04:28 -05:00
Mark Story
7b5addec3e Making CakeCliReporter a subclass of CakeBaseReporter.
Removing duplicated output from reporter message.
Adjusting formatting of output to be more readable.
2010-01-09 22:02:35 -05:00
Mark Story
081509a09c Fixing typos.
Removing useless constant.
Fixing constructor
2010-01-09 21:30:46 -05:00
Mark Story
a8f289349e Letting TestManager::getExtension accept either test or case as a test case type. 2010-01-09 21:29:57 -05:00
Mark Story
696af91aa0 Refactoring testsuite shell features, and adding i18n text. 2010-01-09 21:25:05 -05:00
Mark Story
6a3152c518 Update file header. 2010-01-09 21:24:27 -05:00
Mark Story
9245719711 Updating TestManager::getExtension to be an instance method only.
Updating doc blocks for TestManager.
Removing CliTestManager as it is no longer used/needed.
2010-01-09 21:22:41 -05:00
Mark Story
80670d85fb Updating TestSuite shell to use refactored classes and methods in the TestSuite. 2010-01-09 20:20:51 -05:00
Mark Story
b58f03b53f Fixing package string on CakeBaseReporter 2010-01-09 20:20:13 -05:00