PHP Class GraphQL\Tests\Validator\ScalarLeafsTest

Inheritance: extends TestCase
Exibir arquivo Open project: webonyx/graphql-php

Public Methods

Method Description
testInterfaceTypeMissingSelection ( )
testObjectTypeMissingSelection ( )
testScalarSelectionNotAllowedOnBoolean ( )
testScalarSelectionNotAllowedOnEnum ( )
testScalarSelectionNotAllowedWithArgs ( )
testScalarSelectionNotAllowedWithDirectives ( )
testScalarSelectionNotAllowedWithDirectivesAndArgs ( )
testValidScalarSelection ( )
testValidScalarSelectionWithArgs ( )

Private Methods

Method Description
missingObjSubselection ( $field, $type, $line, $column )
noScalarSubselection ( $field, $type, $line, $column )

Method Details

testInterfaceTypeMissingSelection() public method

testObjectTypeMissingSelection() public method

testScalarSelectionNotAllowedOnBoolean() public method

testScalarSelectionNotAllowedOnEnum() public method

testScalarSelectionNotAllowedWithArgs() public method

testScalarSelectionNotAllowedWithDirectives() public method

testScalarSelectionNotAllowedWithDirectivesAndArgs() public method

testValidScalarSelection() public method

testValidScalarSelectionWithArgs() public method