‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest:

Public Member Functions

 orderByDependenciesBuildsCorrectOrder (array $items, string $beforeKey, string $afterKey, array $expectedOrderedItems)
 
 prepareDependenciesBuildsFullIdentifierList (array $dependencies, array $expectedDependencies)
 
 buildDependencyGraphBuildsValidGraph (array $dependencies, array $expectedGraph)
 
 calculateOrderResolvesCorrectOrder (array $graph, array $expectedList)
 
 calculateOrderDetectsCyclicGraph ()
 
 findPathInGraphReturnsCorrectPath (array $graph, string $from, string $to, array $expected)
 

Static Public Member Functions

static orderByDependenciesBuildsCorrectOrderDataProvider ()
 
static prepareDependenciesBuildsFullIdentifierListDataProvider ()
 
static buildDependencyGraphBuildsValidGraphDataProvider ()
 
static calculateOrderResolvesCorrectOrderDataProvider ()
 
static findPathInGraphReturnsCorrectPathDataProvider ()
 

Detailed Description

Definition at line 25 of file DependencyOrderingServiceTest.php.

Member Function Documentation

◆ buildDependencyGraphBuildsValidGraph()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::buildDependencyGraphBuildsValidGraph ( array  $dependencies,
array  $expectedGraph 
)

Definition at line 208 of file DependencyOrderingServiceTest.php.

◆ buildDependencyGraphBuildsValidGraphDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::buildDependencyGraphBuildsValidGraphDataProvider ( )
static

Definition at line 214 of file DependencyOrderingServiceTest.php.

◆ calculateOrderDetectsCyclicGraph()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::calculateOrderDetectsCyclicGraph ( )

Definition at line 623 of file DependencyOrderingServiceTest.php.

◆ calculateOrderResolvesCorrectOrder()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::calculateOrderResolvesCorrectOrder ( array  $graph,
array  $expectedList 
)

Definition at line 573 of file DependencyOrderingServiceTest.php.

◆ calculateOrderResolvesCorrectOrderDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::calculateOrderResolvesCorrectOrderDataProvider ( )
static

Definition at line 579 of file DependencyOrderingServiceTest.php.

◆ findPathInGraphReturnsCorrectPath()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::findPathInGraphReturnsCorrectPath ( array  $graph,
string  $from,
string  $to,
array  $expected 
)

Definition at line 678 of file DependencyOrderingServiceTest.php.

◆ findPathInGraphReturnsCorrectPathDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::findPathInGraphReturnsCorrectPathDataProvider ( )
static

Definition at line 640 of file DependencyOrderingServiceTest.php.

◆ orderByDependenciesBuildsCorrectOrder()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::orderByDependenciesBuildsCorrectOrder ( array  $items,
string  $beforeKey,
string  $afterKey,
array  $expectedOrderedItems 
)

Definition at line 29 of file DependencyOrderingServiceTest.php.

◆ orderByDependenciesBuildsCorrectOrderDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::orderByDependenciesBuildsCorrectOrderDataProvider ( )
static

Definition at line 35 of file DependencyOrderingServiceTest.php.

◆ prepareDependenciesBuildsFullIdentifierList()

TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::prepareDependenciesBuildsFullIdentifierList ( array  $dependencies,
array  $expectedDependencies 
)
Exceptions

Definition at line 158 of file DependencyOrderingServiceTest.php.

◆ prepareDependenciesBuildsFullIdentifierListDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Service\DependencyOrderingServiceTest::prepareDependenciesBuildsFullIdentifierListDataProvider ( )
static

Definition at line 165 of file DependencyOrderingServiceTest.php.