PHP Class Coduo\PHPMatcher\Tests\Matcher\JsonMatcherTest

Inheritance: extends PHPUnit_Framework_TestCase
Exibir arquivo Open project: coduo/php-matcher

Public Methods

Method Description
negativeMatches ( )
negativePatterns ( )
normalizationRequiredDataProvider ( )
positiveMatches ( )
positivePatterns ( )
setUp ( )
test_error_when_json_pattern_is_invalid ( )
test_error_when_json_value_is_invalid ( )
test_error_when_matching_fail ( )
test_error_when_path_in_nested_pattern_does_not_exist ( )
test_error_when_path_in_nested_value_does_not_exist ( )
test_negative_can_match ( $pattern )
test_negative_matches ( $value, $pattern )
test_positive_can_match ( $pattern )
test_positive_matches ( $value, $pattern )
test_positive_matches_after_normalization ( $value, $pattern )

Method Details

negativeMatches() public static method

public static negativeMatches ( )

negativePatterns() public static method

public static negativePatterns ( )

normalizationRequiredDataProvider() public static method

positiveMatches() public static method

public static positiveMatches ( )

positivePatterns() public static method

public static positivePatterns ( )

setUp() public method

public setUp ( )

test_error_when_json_pattern_is_invalid() public method

test_error_when_json_value_is_invalid() public method

test_error_when_matching_fail() public method

test_error_when_path_in_nested_pattern_does_not_exist() public method

test_error_when_path_in_nested_value_does_not_exist() public method

test_negative_can_match() public method

public test_negative_can_match ( $pattern )

test_negative_matches() public method

public test_negative_matches ( $value, $pattern )

test_positive_can_match() public method

public test_positive_can_match ( $pattern )

test_positive_matches() public method

public test_positive_matches ( $value, $pattern )

test_positive_matches_after_normalization() public method

public test_positive_matches_after_normalization ( $value, $pattern )