PHP Class Alex\BehatLauncher\Behat\RunUnit

Inheritance: implements Symfony\Component\Serializer\Normalizer\NormalizableInterface
Afficher le fichier Open project: alexandresalome/behat-launcher Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
getCreatedAt ( )
getDuration ( )
getDurationInSeconds ( )
getFeature ( )
getFinishedAt ( )
getId ( )
getOutputFile ( $name ) : OutputFile Returns an OutputFile.
getOutputFiles ( )
getReturnCode ( )
getRun ( )
getStartedAt ( )
getStatus ( ) : string
isFailed ( ) : boolean
isFinished ( ) : boolean
isPending ( ) : boolean
isProcessFinished ( ) : boolean
isRunning ( ) : boolean
isSucceeded ( ) : boolean
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
prepareOutput ( Project $project ) : Process Starts the unit execution
reset ( )
setCreatedAt ( DateTime $createdAt )
setFeature ( $feature )
setFinishedAt ( DateTime $finishedAt = null )
setId ( $id )
setOutputFile ( $name, $file )
setReturnCode ( $returnCode )
setRun ( Run $run = null )
setStartedAt ( DateTime $startedAt = null )
start ( Project $project, Closure $output )
stop ( )

Method Details

__construct() public méthode

public __construct ( )

getCreatedAt() public méthode

public getCreatedAt ( )

getDuration() public méthode

public getDuration ( )

getDurationInSeconds() public méthode

getFeature() public méthode

public getFeature ( )

getFinishedAt() public méthode

public getFinishedAt ( )

getId() public méthode

public getId ( )

getOutputFile() public méthode

Returns an OutputFile.
public getOutputFile ( $name ) : OutputFile
Résultat OutputFile

getOutputFiles() public méthode

public getOutputFiles ( )

getReturnCode() public méthode

public getReturnCode ( )

getRun() public méthode

public getRun ( )

getStartedAt() public méthode

public getStartedAt ( )

getStatus() public méthode

public getStatus ( ) : string
Résultat string

isFailed() public méthode

public isFailed ( ) : boolean
Résultat boolean

isFinished() public méthode

public isFinished ( ) : boolean
Résultat boolean

isPending() public méthode

public isPending ( ) : boolean
Résultat boolean

isProcessFinished() public méthode

public isProcessFinished ( ) : boolean
Résultat boolean a boolean indicating if unit's process is finished.

isRunning() public méthode

public isRunning ( ) : boolean
Résultat boolean

isSucceeded() public méthode

public isSucceeded ( ) : boolean
Résultat boolean

normalize() public méthode

public normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$context array

prepareOutput() public méthode

Starts the unit execution
public prepareOutput ( Project $project ) : Process
$project Project
Résultat Symfony\Component\Process\Process

reset() public méthode

public reset ( )

setCreatedAt() public méthode

public setCreatedAt ( DateTime $createdAt )
$createdAt DateTime

setFeature() public méthode

public setFeature ( $feature )

setFinishedAt() public méthode

public setFinishedAt ( DateTime $finishedAt = null )
$finishedAt DateTime

setId() public méthode

public setId ( $id )

setOutputFile() public méthode

public setOutputFile ( $name, $file )

setReturnCode() public méthode

public setReturnCode ( $returnCode )

setRun() public méthode

public setRun ( Run $run = null )
$run Run

setStartedAt() public méthode

public setStartedAt ( DateTime $startedAt = null )
$startedAt DateTime

start() public méthode

public start ( Project $project, Closure $output )
$project Project
$output Closure

stop() public méthode

public stop ( )