PHP 클래스 PhpBench\Tests\Unit\Expression\ParserTest

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

공개 메소드들

메소드 설명
provideComparison ( )
setUp ( )
testComparison ( $operator ) It should parse simple constraints.
testCompositeConstraints ( ) It should allow composite constraints.
testImplicitAnd ( ) It should allow implicit and.
testInvalidJson ( ) It should throw an exception if the JSON is invalid.
testInvalidOperator ( ) It should throw an exception if an invalid operator is provided.
testKeyValueEquality ( ) It should allow key: value equality expressions.
testMultipleComposite ( ) It should allow multiple arguments to a composite.

메소드 상세

provideComparison() 공개 메소드

public provideComparison ( )

setUp() 공개 메소드

public setUp ( )

testComparison() 공개 메소드

It should parse simple constraints.
public testComparison ( $operator )

testCompositeConstraints() 공개 메소드

It should allow composite constraints.

testImplicitAnd() 공개 메소드

It should allow implicit and.
public testImplicitAnd ( )

testInvalidJson() 공개 메소드

It should throw an exception if the JSON is invalid.
public testInvalidJson ( )

testInvalidOperator() 공개 메소드

It should throw an exception if an invalid operator is provided.
public testInvalidOperator ( )

testKeyValueEquality() 공개 메소드

It should allow key: value equality expressions.

testMultipleComposite() 공개 메소드

It should allow multiple arguments to a composite.