PHP 클래스 PhpBench\Tests\Unit\Serializer\XmlDecoderTest

상속: extends XmlTestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
testDecodeUnknownResultClass ( ) It should throw an exception when encountering a non-existing result class.
testDecodeUnknownResultKey ( ) It should throw an exception for a non-existing result key.
testDecoder ( array $params, $expected ) It should encode the suite to an XML document.
testInvalidAttribute ( ) It should throw an exception if an attribute name has no - prefix.

비공개 메소드들

메소드 설명
encode ( SuiteCollection $collection )

메소드 상세

testDecodeUnknownResultClass() 공개 메소드

It should throw an exception when encountering a non-existing result class.

testDecodeUnknownResultKey() 공개 메소드

It should throw an exception for a non-existing result key.

testDecoder() 공개 메소드

It should encode the suite to an XML document.
public testDecoder ( array $params, $expected )
$params array

testInvalidAttribute() 공개 메소드

It should throw an exception if an attribute name has no - prefix.