PHP Class GraphQL\Tests\Executor\ExecutorTest

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

Méthodes publiques

Méthode Description
tearDown ( )
testAvoidsRecursion ( )
testCorrectFieldOrderingDespiteExecutionOrder ( )
testCorrectlyThreadsArguments ( )
testDoesNotIncludeArgumentsThatWereNotSet ( )
testDoesNotIncludeIllegalFieldsInOutput ( )
testExecutesArbitraryCode ( )
testFailsToExecuteQueryContainingTypeDefinition ( )
testFailsWhenAnIsTypeOfCheckIsNotMet ( )
testMergesParallelFragments ( )
testNullsOutErrorSubtrees ( )
testProvidesInfoAboutCurrentExecutionState ( )
testSerializesToEmptyObjectVsEmptyArray ( )
testSubstitutesArgumentWithDefaultValue ( )
testThreadsContextCorrectly ( )
testThrowsIfNoOperationIsProvided ( )
testThrowsIfNoOperationIsProvidedWithMultipleOperations ( )
testThrowsIfUnknownOperationNameIsProvided ( )
testUsesTheInlineOperationIfNoOperationIsProvided ( )
testUsesTheMutationSchemaForMutations ( )
testUsesTheNamedOperationIfOperationNameIsProvided ( )
testUsesTheOnlyOperationIfNoOperationIsProvided ( )
testUsesTheQuerySchemaForQueries ( )
testUsesTheSubscriptionSchemaForSubscriptions ( )

Private Methods

Méthode Description
awaitPromise ( GraphQL\Executor\Promise\Promise $promise ) : array

Method Details

tearDown() public méthode

public tearDown ( )

testAvoidsRecursion() public méthode

public testAvoidsRecursion ( )

testCorrectFieldOrderingDespiteExecutionOrder() public méthode

testCorrectlyThreadsArguments() public méthode

testDoesNotIncludeArgumentsThatWereNotSet() public méthode

testDoesNotIncludeIllegalFieldsInOutput() public méthode

testExecutesArbitraryCode() public méthode

testFailsToExecuteQueryContainingTypeDefinition() public méthode

testFailsWhenAnIsTypeOfCheckIsNotMet() public méthode

testMergesParallelFragments() public méthode

testNullsOutErrorSubtrees() public méthode

testProvidesInfoAboutCurrentExecutionState() public méthode

testSerializesToEmptyObjectVsEmptyArray() public méthode

See also: https://github.com/webonyx/graphql-php/issues/59

testSubstitutesArgumentWithDefaultValue() public méthode

testThreadsContextCorrectly() public méthode

testThrowsIfNoOperationIsProvided() public méthode

testThrowsIfNoOperationIsProvidedWithMultipleOperations() public méthode

testThrowsIfUnknownOperationNameIsProvided() public méthode

testUsesTheInlineOperationIfNoOperationIsProvided() public méthode

testUsesTheMutationSchemaForMutations() public méthode

testUsesTheNamedOperationIfOperationNameIsProvided() public méthode

testUsesTheOnlyOperationIfNoOperationIsProvided() public méthode

testUsesTheQuerySchemaForQueries() public méthode

testUsesTheSubscriptionSchemaForSubscriptions() public méthode