ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
setUp () | |
testRotationCreatesNewFile () | |
testRotation ($createFile, $dateFormat, $timeCallback) | |
rotationTests More... | |
rotationTests () | |
testAllowOnlyFixedDefinedDateFormats ($dateFormat, $valid) | |
dateFormatProvider More... | |
dateFormatProvider () | |
testDisallowFilenameFormatsWithoutDate ($filenameFormat, $valid) | |
filenameFormatProvider More... | |
filenameFormatProvider () | |
testRotationWhenSimilarFileNamesExist ($dateFormat) | |
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 () | |
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().
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 | ( | ) |
Monolog\Handler\RotatingFileHandlerTest::tearDown | ( | ) |
Definition at line 238 of file RotatingFileHandlerTest.php.
Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats | ( | $dateFormat, | |
$valid | |||
) |
dateFormatProvider
Definition at line 141 of file RotatingFileHandlerTest.php.
References $handler, $valid, and Monolog\Handler\RotatingFileHandlerTest\assertErrorWasTriggered().
Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate | ( | $filenameFormat, | |
$valid | |||
) |
filenameFormatProvider
Definition at line 169 of file RotatingFileHandlerTest.php.
References $handler, $valid, Monolog\Handler\RotatingFileHandlerTest\assertErrorWasTriggered(), and Monolog\Handler\RotatingFileHandler\FILE_PER_DAY.
Monolog\Handler\RotatingFileHandlerTest::testReuseCurrentFile | ( | ) |
Definition at line 228 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Monolog\Handler\RotatingFileHandlerTest::testRotation | ( | $createFile, | |
$dateFormat, | |||
$timeCallback | |||
) |
rotationTests
Definition at line 79 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Monolog\Handler\RotatingFileHandlerTest::testRotationCreatesNewFile | ( | ) |
Definition at line 63 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
Monolog\Handler\RotatingFileHandlerTest::testRotationWhenSimilarFileNamesExist | ( | $dateFormat | ) |
rotationWhenSimilarFilesExistTests
Definition at line 197 of file RotatingFileHandlerTest.php.
References $handler, $log, Monolog\TestCase\getIdentityFormatter(), and Monolog\TestCase\getRecord().
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.