Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
GraphQL
Tests
Validator
NoUnusedFragmentsTest
PHP Class GraphQL\Tests\Validator\NoUnusedFragmentsTest
Inheritance:
extends
TestCase
显示文件
Open project: webonyx/graphql-php
Public Methods
Method
Description
testAllFragmentNamesAreUsed
( )
testAllFragmentNamesAreUsedByMultipleOperations
( )
testContainsUnknownAndUndefFragments
( )
testContainsUnknownFragments
( )
testContainsUnknownFragmentsWithRefCycle
( )
Private Methods
Method
Description
unusedFrag
(
$fragName
,
$line
,
$column
)
Method Details
testAllFragmentNamesAreUsed()
public
method
public
testAllFragmentNamesAreUsed
( )
testAllFragmentNamesAreUsedByMultipleOperations()
public
method
public
testAllFragmentNamesAreUsedByMultipleOperations
( )
testContainsUnknownAndUndefFragments()
public
method
public
testContainsUnknownAndUndefFragments
( )
testContainsUnknownFragments()
public
method
public
testContainsUnknownFragments
( )
testContainsUnknownFragmentsWithRefCycle()
public
method
public
testContainsUnknownFragmentsWithRefCycle
( )