PHP Class CoverageMergerTest, paratest

Inheritance: extends TestBase
Show file Open project: brianium/paratest

Public Methods

Method Description
getCoverageFileProvider ( ) : array
testCodeCoverageObjectIsCreatedFromCoverageFile ( array $coverageFiles, $expectedClass )
testCoverageFileDoesNotExist ( )
testCoverageFileIsEmpty ( )
testCoverageFileIsNull ( )
testCoverageFromFileIsDeletedAfterAdd ( array $coverageFiles )
testCoverageIsMergedOnSecondAddCoverageFromFile ( array $coverageFiles )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Private Methods

Method Description
getCoverage ( CoverageMerger $coverageMerger ) : SebastianBergmann\CodeCoverage\CodeCoverage | PHP_CodeCoverage

Method Details

getCoverageFileProvider() public static method

public static getCoverageFileProvider ( ) : array
return array

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testCodeCoverageObjectIsCreatedFromCoverageFile() public method

public testCodeCoverageObjectIsCreatedFromCoverageFile ( array $coverageFiles, $expectedClass )
$coverageFiles array
$expectedClass

testCoverageFileDoesNotExist() public method

testCoverageFileIsEmpty() public method

testCoverageFileIsNull() public method

testCoverageFromFileIsDeletedAfterAdd() public method

public testCoverageFromFileIsDeletedAfterAdd ( array $coverageFiles )
$coverageFiles array

testCoverageIsMergedOnSecondAddCoverageFromFile() public method

public testCoverageIsMergedOnSecondAddCoverageFromFile ( array $coverageFiles )
$coverageFiles array