Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding tests for importing loggers from app/libs and plugin/libs.
Adding tests for failed configs.
- Loading branch information
Showing
4 changed files
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* Test Suite Test App Logging stream class. | ||
* | ||
* PHP versions 4 and 5 | ||
* | ||
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> | ||
* Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | ||
* | ||
* Licensed under The Open Group Test Suite License | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | ||
* @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests | ||
* @package cake | ||
* @subpackage cake.tests.cases.libs | ||
* @since CakePHP(tm) v 1.3 | ||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License | ||
*/ | ||
class TestAppLog { | ||
|
||
function write($type, $message) { | ||
|
||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
cake/tests/test_app/plugins/test_plugin/libs/log/test_plugin_log.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* Test Suite Test Plugin Logging stream class. | ||
* | ||
* PHP versions 4 and 5 | ||
* | ||
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> | ||
* Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | ||
* | ||
* Licensed under The Open Group Test Suite License | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) | ||
* @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests | ||
* @package cake | ||
* @subpackage cake.tests.cases.libs | ||
* @since CakePHP(tm) v 1.3 | ||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License | ||
*/ | ||
class TestPluginLog { | ||
|
||
function write($type, $message) { | ||
|
||
} | ||
} |