ProjectTestCase
extends TestCase
in package
AbstractYes
Table of Contents
Properties
- $buildDir : string
- $cloverXmlPath : string
- $cloverXmlPath1 : string
- $cloverXmlPath2 : string
- $filename : string
- $jsonPath : string
- $logsDir : string
- $rootDir : string
- $srcDir : string
- $url : string
Methods
- __call() : mixed
- assertSamePath() : mixed
- assertSamePaths() : mixed
- makeProjectDir() : mixed
- normalizePath() : string
- rmDir() : mixed
- rmFile() : mixed
- setUpDir() : mixed
Properties
$buildDir
protected
string
$buildDir
$cloverXmlPath
protected
string
$cloverXmlPath
$cloverXmlPath1
protected
string
$cloverXmlPath1
$cloverXmlPath2
protected
string
$cloverXmlPath2
$filename
protected
string
$filename
$jsonPath
protected
string
$jsonPath
$logsDir
protected
string
$logsDir
$rootDir
protected
string
$rootDir
$srcDir
protected
string
$srcDir
$url
protected
string
$url
Methods
__call()
public
__call(mixed $method, mixed $args) : mixed
Parameters
- $method : mixed
- $args : mixed
assertSamePath()
protected
assertSamePath(string $expected, string $input[, null|string $msg = null ]) : mixed
Parameters
- $expected : string
- $input : string
- $msg : null|string = null
assertSamePaths()
protected
assertSamePaths(array<string|int, string> $expected, array<string|int, string> $input[, null|string $msg = null ]) : mixed
Parameters
- $expected : array<string|int, string>
- $input : array<string|int, string>
- $msg : null|string = null
makeProjectDir()
protected
makeProjectDir([string $srcDir = null ][, string $logsDir = null ][, string|array<string|int, string> $cloverXmlPaths = null ][, bool $logsDirUnwritable = false ][, bool $jsonPathUnwritable = false ]) : mixed
Parameters
- $srcDir : string = null
- $logsDir : string = null
- $cloverXmlPaths : string|array<string|int, string> = null
- $logsDirUnwritable : bool = false
- $jsonPathUnwritable : bool = false
normalizePath()
protected
normalizePath(string $path) : string
Parameters
- $path : string
Return values
stringrmDir()
protected
rmDir(string $dir) : mixed
Parameters
- $dir : string
rmFile()
protected
rmFile(string $file) : mixed
Parameters
- $file : string
setUpDir()
protected
setUpDir(string $projectDir) : mixed
Parameters
- $projectDir : string