PHP Class GraphQL\Tests\Validator\NoUndefinedVariablesTest

Inheritance: extends TestCase
Afficher le fichier Open project: webonyx/graphql-php

Méthodes publiques

Méthode Description
testAllVariablesDeeplyDefined ( )
testAllVariablesDeeplyInInlineFragmentsDefined ( )
testAllVariablesDefined ( )
testAllVariablesInFragmentsDeeplyDefined ( )
testMultipleUndefinedVariablesProduceMultipleErrors ( )
testMultipleVariablesInFragmentsNotDefined ( )
testMultipleVariablesNotDefined ( )
testSingleVariableInFragmentNotDefinedByMultipleOperations ( )
testVariableInFragmentNotDefinedByOperation ( )
testVariableInFragmentNotDefinedByUnNamedQuery ( )
testVariableInFragmentUsedByOtherOperation ( )
testVariableNotDefined ( )
testVariableNotDefinedByUnNamedQuery ( )
testVariableWithinFragmentsDefinedInOperations ( )
testVariableWithinRecursiveFragmentDefined ( )
testVariableWithinSingleFragmentDefinedInMultipleOperations ( )
testVariablesInFragmentNotDefinedByMultipleOperations ( )

Private Methods

Méthode Description
undefVar ( $varName, $line, $column, $opName = null, $l2 = null, $c2 = null )

Method Details

testAllVariablesDeeplyDefined() public méthode

testAllVariablesDeeplyInInlineFragmentsDefined() public méthode

testAllVariablesDefined() public méthode

testAllVariablesInFragmentsDeeplyDefined() public méthode

testMultipleUndefinedVariablesProduceMultipleErrors() public méthode

testMultipleVariablesInFragmentsNotDefined() public méthode

testMultipleVariablesNotDefined() public méthode

testSingleVariableInFragmentNotDefinedByMultipleOperations() public méthode

testVariableInFragmentNotDefinedByOperation() public méthode

testVariableInFragmentNotDefinedByUnNamedQuery() public méthode

testVariableInFragmentUsedByOtherOperation() public méthode

testVariableNotDefined() public méthode

testVariableNotDefinedByUnNamedQuery() public méthode

testVariableWithinFragmentsDefinedInOperations() public méthode

testVariableWithinRecursiveFragmentDefined() public méthode

testVariableWithinSingleFragmentDefinedInMultipleOperations() public méthode

testVariablesInFragmentNotDefinedByMultipleOperations() public méthode