PHP Class ParaTest\Logging\JUnit\WriterTest

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

Protected Properties

Property Type Description
$interpreter ParaTest\Logging\LogInterpreter
$passing
$writer

Public Methods

Method Description
setUp ( )
testConstructor ( )
testMixedFileLog ( )
testSingleFileLog ( )
testThatEmptyLineAttributesConvertToZero ( ) Empty line attributes, e.g. line="" breaks Jenkins parsing since it needs to be an integer.
testWrite ( )

Protected Methods

Method Description
addPassingReader ( )

Method Details

addPassingReader() protected method

protected addPassingReader ( )

setUp() public method

public setUp ( )

testConstructor() public method

public testConstructor ( )

testMixedFileLog() public method

public testMixedFileLog ( )

testSingleFileLog() public method

public testSingleFileLog ( )

testThatEmptyLineAttributesConvertToZero() public method

To repair, ensure that empty line attributes are actually written as 0 instead of empty string.

testWrite() public method

public testWrite ( )

Property Details

$interpreter protected property

protected LogInterpreter,ParaTest\Logging $interpreter
return ParaTest\Logging\LogInterpreter

$passing protected property

protected $passing

$writer protected property

protected $writer