TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
DependencyOrderingServiceTest Class Reference
Inheritance diagram for DependencyOrderingServiceTest:
UnitTestCase BaseTestCase

Public Member Functions

 orderByDependenciesBuildsCorrectOrder (array $items, $beforeKey, $afterKey, array $expectedOrderedItems)
 
 orderByDependenciesBuildsCorrectOrderDataProvider ()
 
 prepareDependenciesBuildsFullIdentifierListDataProvider ()
 
 buildDependencyGraphBuildsValidGraph (array $dependencies, array $expectedGraph)
 
 buildDependencyGraphBuildsValidGraphDataProvider ()
 
 calculateOrderResolvesCorrectOrder (array $graph, array $expectedList)
 
 calculateOrderResolvesCorrectOrderDataProvider ()
 
 calculateOrderDetectsCyclicGraph ()
 
 findPathInGraphReturnsCorrectPathDataProvider ()
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 23 of file DependencyOrderingServiceTest.php.

Member Function Documentation

buildDependencyGraphBuildsValidGraph ( array  $dependencies,
array  $expectedGraph 
)
Test:
buildDependencyGraphBuildsValidGraphDataProvider
Parameters
array$dependencies
array$expectedGraph

Definition at line 225 of file DependencyOrderingServiceTest.php.

buildDependencyGraphBuildsValidGraphDataProvider ( )
Returns
array

Definition at line 234 of file DependencyOrderingServiceTest.php.

calculateOrderDetectsCyclicGraph ( )
Test:

Definition at line 667 of file DependencyOrderingServiceTest.php.

calculateOrderResolvesCorrectOrder ( array  $graph,
array  $expectedList 
)
Test:
calculateOrderResolvesCorrectOrderDataProvider
Parameters
array$graph
array$expectedList

Definition at line 612 of file DependencyOrderingServiceTest.php.

calculateOrderResolvesCorrectOrderDataProvider ( )
Returns
array

Definition at line 621 of file DependencyOrderingServiceTest.php.

findPathInGraphReturnsCorrectPathDataProvider ( )
Returns
array

Definition at line 687 of file DependencyOrderingServiceTest.php.

orderByDependenciesBuildsCorrectOrder ( array  $items,
  $beforeKey,
  $afterKey,
array  $expectedOrderedItems 
)
Test:
orderByDependenciesBuildsCorrectOrderDataProvider
Parameters
array$items
string$beforeKey
string$afterKey
array$expectedOrderedItems

Definition at line 33 of file DependencyOrderingServiceTest.php.

orderByDependenciesBuildsCorrectOrderDataProvider ( )
Returns
array

Definition at line 42 of file DependencyOrderingServiceTest.php.

prepareDependenciesBuildsFullIdentifierListDataProvider ( )
Returns
array

Definition at line 178 of file DependencyOrderingServiceTest.php.