Documentation

CollectorCleanupTest extends TestCase
in package

Table of Contents

SESSION_ID  = "session123"
$original  : array<string|int, mixed>
$root  : string
testAnEmptySessionFileDoesNotEmptyTheDataDirectory()  : void
testKeepsTheReportAndOtherSessions()  : void
testRemovesTheSessionDataAndTheSessionFile()  : void
testSessionWithoutCollectedDataOnlyLosesItsSessionFile()  : void
testWithoutASessionNothingIsRemoved()  : void
setUp()  : void
tearDown()  : void
removeTree()  : void
startSession()  : string

Constants

Properties

Methods

testAnEmptySessionFileDoesNotEmptyTheDataDirectory()

public testAnEmptySessionFileDoesNotEmptyTheDataDirectory() : void
Return values
void —

testKeepsTheReportAndOtherSessions()

public testKeepsTheReportAndOtherSessions() : void
Return values
void —

testRemovesTheSessionDataAndTheSessionFile()

public testRemovesTheSessionDataAndTheSessionFile() : void
Return values
void —

testSessionWithoutCollectedDataOnlyLosesItsSessionFile()

public testSessionWithoutCollectedDataOnlyLosesItsSessionFile() : void
Return values
void —

testWithoutASessionNothingIsRemoved()

public testWithoutASessionNothingIsRemoved() : void
Return values
void —

removeTree()

private removeTree(string $dir) : void
Parameters
$dir : string
Return values
void —

Search results