|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
@covers Monolog\Handler\RotatingFileHandler More...
Inheritance diagram for Monolog\Handler\RotatingFileHandlerTest:
Collaboration diagram for Monolog\Handler\RotatingFileHandlerTest:Public Member Functions | |
| setUp () | |
| testRotationCreatesNewFile () | |
| testRotation ($createFile, $dateFormat, $timeCallback) | |
| @dataProvider rotationTests More... | |
| rotationTests () | |
| testAllowOnlyFixedDefinedDateFormats ($dateFormat, $valid) | |
| @dataProvider dateFormatProvider More... | |
| dateFormatProvider () | |
| testDisallowFilenameFormatsWithoutDate ($filenameFormat, $valid) | |
| @dataProvider filenameFormatProvider More... | |
| filenameFormatProvider () | |
| testRotationWhenSimilarFileNamesExist ($dateFormat) | |
| @dataProvider rotationWhenSimilarFilesExistTests More... | |
| rotationWhenSimilarFilesExistTests () | |
| testReuseCurrentFile () | |
| tearDown () | |
Data Fields | |
| $lastError | |
This var should be private but then the anonymous function in the setUp method won't be able to set it. More... | |
Private Member Functions | |
| assertErrorWasTriggered ($code, $message) | |
Additional Inherited Members | |
Protected Member Functions inherited from Monolog\TestCase | |
| getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
| getMultipleRecords () | |
| getIdentityFormatter () | |
@covers Monolog\Handler\RotatingFileHandler
Definition at line 20 of file RotatingFileHandlerTest.php.
|
private |
Definition at line 48 of file RotatingFileHandlerTest.php.
References $code, and $message.
Referenced by Monolog\Handler\RotatingFileHandlerTest\testAllowOnlyFixedDefinedDateFormats(), and Monolog\Handler\RotatingFileHandlerTest\testDisallowFilenameFormatsWithoutDate().
Here is the caller graph for this function:| Monolog\Handler\RotatingFileHandlerTest::dateFormatProvider | ( | ) |
Definition at line 155 of file RotatingFileHandlerTest.php.
References Monolog\Handler\RotatingFileHandler\FILE_PER_DAY, Monolog\Handler\RotatingFileHandler\FILE_PER_MONTH, and Monolog\Handler\RotatingFileHandler\FILE_PER_YEAR.
| Monolog\Handler\RotatingFileHandlerTest::filenameFormatProvider | ( | ) |
Definition at line 181 of file RotatingFileHandlerTest.php.
| Monolog\Handler\RotatingFileHandlerTest::rotationTests | ( | ) |
Definition at line 107 of file RotatingFileHandlerTest.php.
References Monolog\Handler\RotatingFileHandler\FILE_PER_DAY, Monolog\Handler\RotatingFileHandler\FILE_PER_MONTH, and Monolog\Handler\RotatingFileHandler\FILE_PER_YEAR.
| Monolog\Handler\RotatingFileHandlerTest::rotationWhenSimilarFilesExistTests | ( | ) |
Definition at line 213 of file RotatingFileHandlerTest.php.
References Monolog\Handler\RotatingFileHandler\FILE_PER_DAY, Monolog\Handler\RotatingFileHandler\FILE_PER_MONTH, and Monolog\Handler\RotatingFileHandler\FILE_PER_YEAR.
| Monolog\Handler\RotatingFileHandlerTest::setUp | ( | ) |
Definition at line 30 of file RotatingFileHandlerTest.php.
| Monolog\Handler\RotatingFileHandlerTest::tearDown | ( | ) |
Definition at line 238 of file RotatingFileHandlerTest.php.
| Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats | ( | $dateFormat, | |
| $valid | |||
| ) |
@dataProvider dateFormatProvider
Definition at line 141 of file RotatingFileHandlerTest.php.
References $handler, $valid, and Monolog\Handler\RotatingFileHandlerTest\assertErrorWasTriggered().
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate | ( | $filenameFormat, | |
| $valid | |||
| ) |
@dataProvider filenameFormatProvider
Definition at line 169 of file RotatingFileHandlerTest.php.
References $handler, $valid, Monolog\Handler\RotatingFileHandlerTest\assertErrorWasTriggered(), and Monolog\Handler\RotatingFileHandler\FILE_PER_DAY.
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::testReuseCurrentFile | ( | ) |
Definition at line 228 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::testRotation | ( | $createFile, | |
| $dateFormat, | |||
| $timeCallback | |||
| ) |
@dataProvider rotationTests
Definition at line 79 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::testRotationCreatesNewFile | ( | ) |
Definition at line 63 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::testRotationWhenSimilarFileNamesExist | ( | $dateFormat | ) |
@dataProvider rotationWhenSimilarFilesExistTests
Definition at line 197 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\RotatingFileHandlerTest::$lastError |
This var should be private but then the anonymous function in the setUp method won't be able to set it.
$this cant't be used in the anonymous function in setUp because PHP 5.3 does not support it.
Definition at line 28 of file RotatingFileHandlerTest.php.