PHP 클래스 ParaTest\Runners\PHPUnit\Configuration

Stores information about the phpunit xml configuration being used to run tests
파일 보기 프로젝트 열기: brianium/paratest 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$availableNodes
$path string Path to the configuration file
$suites array A collection of datastructures build from the nodes inside of a PHPUnit configuration
$xml SimpleXMLElement

공개 메소드들

메소드 설명
__construct ( $path )
__toString ( ) : string Converting the configuration to a string returns the configuration path
getBootstrap ( ) : string Get the bootstrap PHPUnit configuration attribute
getConfigDir ( ) : string Return the path of the directory that contains the phpunit configuration
getPath ( ) : string Returns the path to the phpunit configuration file
getSuiteByName ( string $suiteName ) : SuitePath[] | null Return the contents of the nodes contained in a PHPUnit configuration
getSuitePaths ( $path ) : array | string[] Returns a suite paths relative to the config file
getSuites ( ) : SuitePath[][] | null Return the contents of the nodes contained in a PHPUnit configuration
isGlobRequired ( string $path ) : boolean Returns true if path needs globbing (like a /path/*-to/string)

메소드 상세

__construct() 공개 메소드

public __construct ( $path )

__toString() 공개 메소드

Converting the configuration to a string returns the configuration path
public __toString ( ) : string
리턴 string

getBootstrap() 공개 메소드

Get the bootstrap PHPUnit configuration attribute
public getBootstrap ( ) : string
리턴 string The bootstrap attribute or empty string if not set

getConfigDir() 공개 메소드

Return the path of the directory that contains the phpunit configuration
public getConfigDir ( ) : string
리턴 string

getPath() 공개 메소드

Returns the path to the phpunit configuration file
public getPath ( ) : string
리턴 string

getSuiteByName() 공개 메소드

Return the contents of the nodes contained in a PHPUnit configuration
public getSuiteByName ( string $suiteName ) : SuitePath[] | null
$suiteName string
리턴 SuitePath[] | null

getSuitePaths() 공개 메소드

Returns a suite paths relative to the config file
public getSuitePaths ( $path ) : array | string[]
$path
리턴 array | string[]

getSuites() 공개 메소드

Return the contents of the nodes contained in a PHPUnit configuration
public getSuites ( ) : SuitePath[][] | null
리턴 SuitePath[][] | null

isGlobRequired() 공개 메소드

Returns true if path needs globbing (like a /path/*-to/string)
public isGlobRequired ( string $path ) : boolean
$path string
리턴 boolean

프로퍼티 상세

$availableNodes 보호되어 있는 프로퍼티

protected $availableNodes

$path 보호되어 있는 프로퍼티

Path to the configuration file
protected string $path
리턴 string

$suites 보호되어 있는 프로퍼티

A collection of datastructures build from the nodes inside of a PHPUnit configuration
protected array $suites
리턴 array

$xml 보호되어 있는 프로퍼티

protected SimpleXMLElement $xml
리턴 SimpleXMLElement