PHP Class GraphQL\Tests\Validator\UniqueDirectivesPerLocationTest

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

Public Methods

Method Description
testDifferentDuplicateDirectivesInOneLocation ( )
testDuplicateDirectivesInManyLocations ( )
testDuplicateDirectivesInOneLocation ( )
testManyDuplicateDirectivesInOneLocation ( )
testNoDirectives ( )
testSameDirectivesInDifferentLocations ( )
testSameDirectivesInSimilarLocations ( )
testUniqueDirectivesInDifferentLocations ( )
testUniqueDirectivesInSameLocations ( )

Private Methods

Method Description
duplicateDirective ( $directiveName, $l1, $c1, $l2, $c2 )

Method Details

testDifferentDuplicateDirectivesInOneLocation() public method

testDuplicateDirectivesInManyLocations() public method

testDuplicateDirectivesInOneLocation() public method

testManyDuplicateDirectivesInOneLocation() public method

testNoDirectives() public method

public testNoDirectives ( )

testSameDirectivesInDifferentLocations() public method

testSameDirectivesInSimilarLocations() public method

testUniqueDirectivesInDifferentLocations() public method

testUniqueDirectivesInSameLocations() public method