PHP Class GraphQL\Tests\Validator\FieldsOnCorrectTypeTest

Inheritance: extends TestCase
Show file Open project: webonyx/graphql-php

Public Methods

Method Description
testAliasedFieldTargetNotDefined ( )
testAliasedInterfaceFieldSelection ( )
testAliasedLyingFieldTargetNotDefined ( )
testAliasedObjectFieldSelection ( )
testDefinedOnImplementorsQueriedOnUnion ( )
testDefinedOnImplmentorsButNotOnInterface ( )
testDirectFieldSelectionOnUnion ( )
testFieldNotDefinedOnFragment ( )
testFieldNotDefinedOnInlineFragment ( )
testIgnoresDeeplyUnknownField ( )
testIgnoresFieldsOnUnknownType ( )
testInterfaceFieldSelection ( )
testLyingAliasSelection ( )
testMetaFieldSelectionOnUnion ( )
testNotDefinedOnInterface ( )
testObjectFieldSelection ( )
testReportsErrorsWhenTypeIsKnownAgain ( )
testSubFieldNotDefined ( )
testValidFieldInInlineFragment ( )
testWorksWithLotsOfSuggestions ( )
testWorksWithNoSmallNumbersOfSuggestions ( )
testWorksWithNoSuggestions ( )

Private Methods

Method Description
undefinedField ( $field, $type, $suggestions, $line, $column )

Method Details

testAliasedFieldTargetNotDefined() public method

testAliasedInterfaceFieldSelection() public method

testAliasedLyingFieldTargetNotDefined() public method

testAliasedObjectFieldSelection() public method

testDefinedOnImplementorsQueriedOnUnion() public method

testDefinedOnImplmentorsButNotOnInterface() public method

testDirectFieldSelectionOnUnion() public method

testFieldNotDefinedOnFragment() public method

testFieldNotDefinedOnInlineFragment() public method

testIgnoresDeeplyUnknownField() public method

testIgnoresFieldsOnUnknownType() public method

testInterfaceFieldSelection() public method

testLyingAliasSelection() public method

testMetaFieldSelectionOnUnion() public method

testNotDefinedOnInterface() public method

testObjectFieldSelection() public method

testReportsErrorsWhenTypeIsKnownAgain() public method

testSubFieldNotDefined() public method

testValidFieldInInlineFragment() public method

testWorksWithLotsOfSuggestions() public method

testWorksWithNoSmallNumbersOfSuggestions() public method

testWorksWithNoSuggestions() public method