‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest:

Public Member Functions

 writingLogWithoutLatestRotationAndEmptyLogDoesNotRotate ()
 
 writingLogWithoutLatestRotationAndNonEmptyLogRotates ()
 
 writingLogWithLatestRotationInTimeFrameDoesNotRotate (Interval $interval, int $rotationTimestamp)
 
 writingLogWithExpiredLatestRotationInTimeFrameRotates (Interval $interval, int $rotationTimestamp)
 
 rotationRespectsMaxAmountOfFiles ()
 

Static Public Member Functions

static writingLogWithLatestRotationInTimeFrameDoesNotRotateDataProvider ()
 
static writingLogWithExpiredLatestRotationInTimeFrameRotatesDataProvider ()
 

Protected Member Functions

 setUp ()
 
 createWriter (string $prependName='')
 
non empty string getDefaultFileName (string $prependName='')
 

Protected Attributes

string $logFileDirectory = 'Log'
 
string $logFileName = 'test.log'
 
string $testRoot
 
bool $resetSingletonInstances = true
 

Detailed Description

Definition at line 31 of file RotatingFileWriterTest.php.

Member Function Documentation

◆ createWriter()

◆ getDefaultFileName()

◆ rotationRespectsMaxAmountOfFiles()

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::setUp ( )
protected

◆ writingLogWithExpiredLatestRotationInTimeFrameRotates()

TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotates ( Interval  $interval,
int  $rotationTimestamp 
)

◆ writingLogWithExpiredLatestRotationInTimeFrameRotatesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotatesDataProvider ( )
static

Definition at line 151 of file RotatingFileWriterTest.php.

◆ writingLogWithLatestRotationInTimeFrameDoesNotRotate()

TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithLatestRotationInTimeFrameDoesNotRotate ( Interval  $interval,
int  $rotationTimestamp 
)

◆ writingLogWithLatestRotationInTimeFrameDoesNotRotateDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithLatestRotationInTimeFrameDoesNotRotateDataProvider ( )
static

Definition at line 117 of file RotatingFileWriterTest.php.

◆ writingLogWithoutLatestRotationAndEmptyLogDoesNotRotate()

◆ writingLogWithoutLatestRotationAndNonEmptyLogRotates()

TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithoutLatestRotationAndNonEmptyLogRotates ( )

Member Data Documentation

◆ $logFileDirectory

string TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::$logFileDirectory = 'Log'
protected

Definition at line 33 of file RotatingFileWriterTest.php.

◆ $logFileName

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::$resetSingletonInstances = true
protected

Definition at line 36 of file RotatingFileWriterTest.php.

◆ $testRoot

string TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::$testRoot
protected