PHP Class Hal\MutaTesting\Mutation\Mutation

Inheritance: implements Hal\MutaTesting\Mutation\MutationInterface
Show file Open project: halleck45/mutatesting Class Usage Examples

Public Methods

Method Description
__construct ( )
addMutation ( Hal\MutaTesting\Mutation\MutationInterface $mutation )
getMutations ( )
getMutedTokensIndexes ( )
getSourceFile ( )
getTestFile ( )
getTokens ( )
getUnit ( )
setMutedTokensIndexes ( $mutedTokensIndexes )
setSourceFile ( $file )
setTestFile ( $testFile )
setTokens ( Hal\Component\Token\TokenCollection $originalCode )
setUnit ( Hal\MutaTesting\Test\UnitInterface $unit = null )

Method Details

__construct() public method

public __construct ( )

addMutation() public method

public addMutation ( Hal\MutaTesting\Mutation\MutationInterface $mutation )
$mutation Hal\MutaTesting\Mutation\MutationInterface

getMutations() public method

public getMutations ( )

getMutedTokensIndexes() public method

getSourceFile() public method

public getSourceFile ( )

getTestFile() public method

public getTestFile ( )

getTokens() public method

public getTokens ( )

getUnit() public method

public getUnit ( )

setMutedTokensIndexes() public method

public setMutedTokensIndexes ( $mutedTokensIndexes )

setSourceFile() public method

public setSourceFile ( $file )

setTestFile() public method

public setTestFile ( $testFile )

setTokens() public method

public setTokens ( Hal\Component\Token\TokenCollection $originalCode )
$originalCode Hal\Component\Token\TokenCollection

setUnit() public method

public setUnit ( Hal\MutaTesting\Test\UnitInterface $unit = null )
$unit Hal\MutaTesting\Test\UnitInterface