PHP Class GraphQL\Tests\Validator\NoFragmentCyclesTest

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

Public Methods

Method Description
testDoesNotFalsePositiveOnUnknownFragment ( )
testDoubleSpreadWithinAbstractTypes ( )
testNoSpreadingItselfDeeply ( )
testNoSpreadingItselfDeeplyAndImmediately ( )
testNoSpreadingItselfDeeplyTwoPaths ( )
testNoSpreadingItselfDeeplyTwoPathsTraverseOrder ( )
testNoSpreadingItselfDirectly ( )
testNoSpreadingItselfDirectlyWithinInlineFragment ( )
testNoSpreadingItselfIndirectly ( )
testNoSpreadingItselfIndirectlyReportsOppositeOrder ( )
testNoSpreadingItselfIndirectlyWithinInlineFragment ( )
testSingleReferenceIsValid ( )
testSpreadingRecursivelyWithinFieldFails ( )
testSpreadingTwiceIndirectlyIsNotCircular ( )
testSpreadingTwiceIsNotCircular ( )

Private Methods

Method Description
cycleError ( $fargment, $spreadNames, $line, $column )

Method Details

testDoesNotFalsePositiveOnUnknownFragment() public method

testDoubleSpreadWithinAbstractTypes() public method

testNoSpreadingItselfDeeply() public method

testNoSpreadingItselfDeeplyAndImmediately() public method

testNoSpreadingItselfDeeplyTwoPaths() public method

testNoSpreadingItselfDeeplyTwoPathsTraverseOrder() public method

testNoSpreadingItselfDirectly() public method

testNoSpreadingItselfDirectlyWithinInlineFragment() public method

testNoSpreadingItselfIndirectly() public method

testNoSpreadingItselfIndirectlyReportsOppositeOrder() public method

testNoSpreadingItselfIndirectlyWithinInlineFragment() public method

testSingleReferenceIsValid() public method

testSpreadingRecursivelyWithinFieldFails() public method

testSpreadingTwiceIndirectlyIsNotCircular() public method

testSpreadingTwiceIsNotCircular() public method