PHP Class GraphQL\Tests\Language\ParserTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: webonyx/graphql-php

Public Methods

Method Description
nodeToArray ( Node $node ) : array
testAllowsNonKeywordsAnywhereANameIsAllowed ( ) allows non-keywords anywhere a Name is allowed
testAllowsParsingWithoutSourceLocationInformation ( )
testContainsReferencesToSource ( )
testContainsReferencesToStartAndEndTokens ( )
testConvertToArray ( )
testDoesNotAcceptFragmentSpreadOfOn ( )
testDoesNotAcceptFragmentsNamedOn ( )
testParseCreatesAst ( )
testParseProvidesUsefulErrorWhenUsingSource ( )
testParseProvidesUsefulErrors ( )
testParsesAnonymousSubscriptionOperations ( )
testParsesConstantDefaultValues ( )
testParsesCustomTypes ( )
testParsesKitchenSink ( )
testParsesListTypes ( )
testParsesListValues ( )
testParsesMultiByteCharacters ( )
testParsesNamedMutationOperations ( )
testParsesNamedSubscriptionOperations ( )
testParsesNestedTypes ( )
testParsesNonNullTypes ( )
testParsesNullValues ( )
testParsesVariableInlineValues ( )
testParsesWellKnownTypes ( )
testParsessAnonymousMutationOperations ( )

Method Details

nodeToArray() public static method

public static nodeToArray ( Node $node ) : array
$node GraphQL\Language\AST\Node
return array

testAllowsNonKeywordsAnywhereANameIsAllowed() public method

allows non-keywords anywhere a Name is allowed

testAllowsParsingWithoutSourceLocationInformation() public method

testContainsReferencesToSource() public method

testContainsReferencesToStartAndEndTokens() public method

testConvertToArray() public method

public testConvertToArray ( )

testDoesNotAcceptFragmentSpreadOfOn() public method

testDoesNotAcceptFragmentsNamedOn() public method

testParseCreatesAst() public method

public testParseCreatesAst ( )

testParseProvidesUsefulErrorWhenUsingSource() public method

testParseProvidesUsefulErrors() public method

testParsesAnonymousSubscriptionOperations() public method

testParsesConstantDefaultValues() public method

testParsesCustomTypes() public method

testParsesKitchenSink() public method

testParsesListTypes() public method

public testParsesListTypes ( )

testParsesListValues() public method

testParsesMultiByteCharacters() public method

testParsesNamedMutationOperations() public method

testParsesNamedSubscriptionOperations() public method

testParsesNestedTypes() public method

testParsesNonNullTypes() public method

testParsesNullValues() public method

testParsesVariableInlineValues() public method

testParsesWellKnownTypes() public method

testParsessAnonymousMutationOperations() public method