PHP Class Neos\Flow\Tests\Unit\Mvc\Routing\RouterCachingServiceTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$mockApplicationContext Neos\Flow\Core\ApplicationContext | PHPUnit_Framework_MockObject_MockObject
$mockHttpRequest Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
$mockPersistenceManager Neos\Flow\Persistence\PersistenceManagerInterface | PHPUnit_Framework_MockObject_MockObject
$mockResolveCache Neos\Cache\Frontend\StringFrontend | PHPUnit_Framework_MockObject_MockObject
$mockRouteCache Neos\Cache\Frontend\VariableFrontend | PHPUnit_Framework_MockObject_MockObject
$mockSystemLogger Neos\Flow\Log\SystemLoggerInterface | PHPUnit_Framework_MockObject_MockObject
$mockUri Neos\Flow\Http\Uri | PHPUnit_Framework_MockObject_MockObject
$routerCachingService Neos\Flow\Mvc\Routing\RouterCachingService

Méthodes publiques

Méthode Description
containsObjectDetectsObjectsInVariousSituations ( $expectedResult, $subject )
containsObjectDetectsObjectsInVariousSituationsDataProvider ( ) Data provider for containsObjectDetectsObjectsInVariousSituations()
flushCachesResetsBothRoutingCaches ( )
getCachedMatchResultsReturnsCachedMatchResultsIfFoundInCache ( )
getCachedMatchResultsReturnsFalseIfNotFoundInCache ( )
getCachedResolvedUriPathReturnsCachedResolvedUriPathIfFoundInCache ( )
getCachedResolvedUriPathSkipsCacheIfRouteValuesContainObjectsThatCantBeConvertedToHashes ( )
initializeDoesNotFlushCachesInDevelopmentContextIfRoutingSettingsHaveNotChanged ( )
initializeFlushesCachesInDevelopmentContextIfRoutingSettingsHaveChanged ( )
initializeFlushesCachesInDevelopmentContextIfRoutingSettingsWhereNotStoredPreviously ( )
initializeObjectDoesNotFlushCachesInProductionContext ( )
setUp ( ) Sets up this test case
storeMatchExtractsUuidsAndTheHashedUriPathToCacheTags ( )
storeMatchResultsDoesNotStoreMatchResultsInCacheIfTheyContainObjects ( )
storeResolvedUriPathConvertsObjectsImplementingCacheAwareInterfaceToCacheEntryIdentifier ( )
storeResolvedUriPathConvertsObjectsToHashesToGenerateCacheIdentifier ( )
storeResolvedUriPathExtractsUuidsToCacheTags ( )

Method Details

containsObjectDetectsObjectsInVariousSituations() public méthode

public containsObjectDetectsObjectsInVariousSituations ( $expectedResult, $subject )

containsObjectDetectsObjectsInVariousSituationsDataProvider() public méthode

Data provider for containsObjectDetectsObjectsInVariousSituations()

flushCachesResetsBothRoutingCaches() public méthode

getCachedMatchResultsReturnsCachedMatchResultsIfFoundInCache() public méthode

getCachedMatchResultsReturnsFalseIfNotFoundInCache() public méthode

getCachedResolvedUriPathReturnsCachedResolvedUriPathIfFoundInCache() public méthode

getCachedResolvedUriPathSkipsCacheIfRouteValuesContainObjectsThatCantBeConvertedToHashes() public méthode

initializeDoesNotFlushCachesInDevelopmentContextIfRoutingSettingsHaveNotChanged() public méthode

initializeFlushesCachesInDevelopmentContextIfRoutingSettingsHaveChanged() public méthode

initializeFlushesCachesInDevelopmentContextIfRoutingSettingsWhereNotStoredPreviously() public méthode

initializeObjectDoesNotFlushCachesInProductionContext() public méthode

setUp() public méthode

Sets up this test case
public setUp ( )

storeMatchExtractsUuidsAndTheHashedUriPathToCacheTags() public méthode

storeMatchResultsDoesNotStoreMatchResultsInCacheIfTheyContainObjects() public méthode

storeResolvedUriPathConvertsObjectsImplementingCacheAwareInterfaceToCacheEntryIdentifier() public méthode

storeResolvedUriPathConvertsObjectsToHashesToGenerateCacheIdentifier() public méthode

storeResolvedUriPathExtractsUuidsToCacheTags() public méthode

Property Details

$mockApplicationContext protected_oe property

protected ApplicationContext,Neos\Flow\Core|PHPUnit_Framework_MockObject_MockObject $mockApplicationContext
Résultat Neos\Flow\Core\ApplicationContext | PHPUnit_Framework_MockObject_MockObject

$mockHttpRequest protected_oe property

protected Request,Neos\Flow\Http|PHPUnit_Framework_MockObject_MockObject $mockHttpRequest
Résultat Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject

$mockObjectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement|PHPUnit_Framework_MockObject_MockObject $mockObjectManager
Résultat Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject

$mockPersistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence|PHPUnit_Framework_MockObject_MockObject $mockPersistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface | PHPUnit_Framework_MockObject_MockObject

$mockResolveCache protected_oe property

protected StringFrontend,Neos\Cache\Frontend|PHPUnit_Framework_MockObject_MockObject $mockResolveCache
Résultat Neos\Cache\Frontend\StringFrontend | PHPUnit_Framework_MockObject_MockObject

$mockRouteCache protected_oe property

protected VariableFrontend,Neos\Cache\Frontend|PHPUnit_Framework_MockObject_MockObject $mockRouteCache
Résultat Neos\Cache\Frontend\VariableFrontend | PHPUnit_Framework_MockObject_MockObject

$mockSystemLogger protected_oe property

protected SystemLoggerInterface,Neos\Flow\Log|PHPUnit_Framework_MockObject_MockObject $mockSystemLogger
Résultat Neos\Flow\Log\SystemLoggerInterface | PHPUnit_Framework_MockObject_MockObject

$mockUri protected_oe property

protected Uri,Neos\Flow\Http|PHPUnit_Framework_MockObject_MockObject $mockUri
Résultat Neos\Flow\Http\Uri | PHPUnit_Framework_MockObject_MockObject

$routerCachingService protected_oe property

protected RouterCachingService,Neos\Flow\Mvc\Routing $routerCachingService
Résultat Neos\Flow\Mvc\Routing\RouterCachingService