PHP Class GraphQL\Tests\Validator\NoUndefinedVariablesTest

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

Public Methods

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

Private Methods

Method Description
undefVar ( $varName, $line, $column, $opName = null, $l2 = null, $c2 = null )

Method Details

testAllVariablesDeeplyDefined() public method

testAllVariablesDeeplyInInlineFragmentsDefined() public method

testAllVariablesDefined() public method

testAllVariablesInFragmentsDeeplyDefined() public method

testMultipleUndefinedVariablesProduceMultipleErrors() public method

testMultipleVariablesInFragmentsNotDefined() public method

testMultipleVariablesNotDefined() public method

testSingleVariableInFragmentNotDefinedByMultipleOperations() public method

testVariableInFragmentNotDefinedByOperation() public method

testVariableInFragmentNotDefinedByUnNamedQuery() public method

testVariableInFragmentUsedByOtherOperation() public method

testVariableNotDefined() public method

testVariableNotDefinedByUnNamedQuery() public method

testVariableWithinFragmentsDefinedInOperations() public method

testVariableWithinRecursiveFragmentDefined() public method

testVariableWithinSingleFragmentDefinedInMultipleOperations() public method

testVariablesInFragmentNotDefinedByMultipleOperations() public method