PHP Class GraphQL\Tests\Utils\ValueFromAstTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: webonyx/graphql-php

Méthodes publiques

Méthode Description
testAcceptsVariableValuesAssumingAlreadyCoerced ( )
testAssertsVariablesAreProvidedAsItemsInLists ( )
testCoercesInputObjectsAccordingToInputCoercionRules ( )
testCoercesListsOfNonNullValues ( )
testCoercesListsOfValues ( )
testCoercesNonNullListsOfNonNullValues ( )
testCoercesNonNullListsOfValues ( )
testCoercesToNullUnlessNonNull ( )
testConvertsAccordingToInputCoercionRules ( )
testConvertsEnumValuesAccordingToInputCoercionRules ( )
testDoesNotConvertWhenInputCoercionRulesRejectAValue ( )
testOmitsInputObjectFieldsForUnprovidedVariables ( )
testRejectsEmptyInput ( )

Private Methods

Méthode Description
inputObj ( )
runTestCase ( $type, $valueText, $expected )
runTestCaseWithVars ( $variables, $type, $valueText, $expected )

Method Details

testAcceptsVariableValuesAssumingAlreadyCoerced() public méthode

testAssertsVariablesAreProvidedAsItemsInLists() public méthode

testCoercesInputObjectsAccordingToInputCoercionRules() public méthode

testCoercesListsOfNonNullValues() public méthode

testCoercesListsOfValues() public méthode

testCoercesNonNullListsOfNonNullValues() public méthode

testCoercesNonNullListsOfValues() public méthode

testCoercesToNullUnlessNonNull() public méthode

testConvertsAccordingToInputCoercionRules() public méthode

testConvertsEnumValuesAccordingToInputCoercionRules() public méthode

testDoesNotConvertWhenInputCoercionRulesRejectAValue() public méthode

testOmitsInputObjectFieldsForUnprovidedVariables() public méthode

testRejectsEmptyInput() public méthode