PHP Class GraphQL\Tests\Language\SchemaParserTest

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

Public Methods

Method Description
testDoubleValueEnum ( )
testScalar ( )
testSimpleExtension ( )
testSimpleFieldWithArg ( )
testSimpleFieldWithArgWithDefaultValue ( )
testSimpleFieldWithListArg ( )
testSimpleFieldWithTwoArgs ( )
testSimpleInputObject ( )
testSimpleInputObjectWithArgsShouldFail ( )
testSimpleInterface ( )
testSimpleNonNullType ( )
testSimpleType ( )
testSimpleTypeInheritingInterface ( )
testSimpleTypeInheritingMultipleInterfaces ( )
testSimpleUnion ( )
testSingleValueEnum ( )
testUnionWithTwoTypes ( )

Private Methods

Method Description
enumValueNode ( $name, $loc )
fieldNode ( $name, $type, $loc )
fieldNodeWithArgs ( $name, $type, $args, $loc )
inputValueNode ( $name, $type, $defaultValue, $loc )
nameNode ( $name, $loc )
typeNode ( $name, $loc )

Method Details

testDoubleValueEnum() public method

public testDoubleValueEnum ( )

testScalar() public method

public testScalar ( )

testSimpleExtension() public method

public testSimpleExtension ( )

testSimpleFieldWithArg() public method

testSimpleFieldWithArgWithDefaultValue() public method

testSimpleFieldWithListArg() public method

testSimpleFieldWithTwoArgs() public method

testSimpleInputObject() public method

testSimpleInputObjectWithArgsShouldFail() public method

testSimpleInterface() public method

public testSimpleInterface ( )

testSimpleNonNullType() public method

testSimpleType() public method

public testSimpleType ( )

testSimpleTypeInheritingInterface() public method

testSimpleTypeInheritingMultipleInterfaces() public method

testSimpleUnion() public method

public testSimpleUnion ( )

testSingleValueEnum() public method

public testSingleValueEnum ( )

testUnionWithTwoTypes() public method