CollectorCleanupTest
extends TestCase
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
SESSION_ID
private
mixed
SESSION_ID
= "session123"
$original
private
array<string|int, mixed>
$original
$root
private
string
$root
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
—
setUp()
protected
setUp() : void
Return values
void
—
tearDown()
protected
tearDown() : void
Return values
void
—
removeTree()
private
removeTree(string $dir) : void
Parameters
-
$dir
: string
-
Return values
void
—
startSession()
private
startSession() : string
Return values
string
—