cakephp2-php8/lib/Cake/Test/Case/Console
mark_story aa7448e3ed Fixing incorrect exit codes on console exceptions.
Uncaught exceptions on the console would result in exit code 0.
This is not helpful in *nix scripting.

- Update the ConsoleErrorHandler to not inherit from the web error handler.
- Make ErrorHandler::_mapErrorCode() public as it isn't overly private.
- Make ConsoleErrorHandler methods instance methods so mocking can be done.
- Add a _stop method to correctly exit.
- Update tests.
2011-10-03 22:48:50 -04:00
..
Command Making test case less configuration independent 2011-10-03 12:13:11 -04:30
AllConsoleLibsTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
AllConsoleTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
AllShellsTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
AllTasksTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
ConsoleErrorHandlerTest.php Fixing incorrect exit codes on console exceptions. 2011-10-03 22:48:50 -04:00
ConsoleOptionParserTest.php Checking if short options exist, fixed an warning caused by not checking it. 2011-09-01 22:10:42 +02:00
ConsoleOutputTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
HelpFormatterTest.php Making long options & arguments replaced with short forms. 2011-08-06 09:50:41 -04:00
ShellDispatcherTest.php Removed the @access and @static. 2011-07-30 20:56:48 -04:00
TaskCollectionTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30