Documentation

StoreTest extends TestCase
in package

Table of Contents

$request  : mixed
$response  : mixed
$store  : Store
testCanonizesUrlsForCacheKeys()  : mixed
testDoesNotFindAnEntryWithLookupWhenNoneExists()  : mixed
testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist()  : mixed
testDoesNotReturnEntriesThatSlightlyVaryWithLookup()  : mixed
testDoesNotReturnEntriesThatVaryWithLookup()  : mixed
testDoesNotTrustXContentDigestFromUpstream()  : mixed
testFindsAStoredEntryWithLookup()  : mixed
testInvalidatesMetaAndEntityStoreEntriesWithInvalidate()  : mixed
testLocking()  : mixed
testOverwritesNonVaryingResponseWithStore()  : mixed
testPurgeHttpAndHttps()  : mixed
testPurgeHttps()  : mixed
testReadsAnEmptyArrayWithReadWhenNothingCachedAtKey()  : mixed
testRemovesEntriesForKeyWithPurge()  : mixed
testRestoresResponseContentFromEntityStoreWithLookup()  : mixed
testRestoresResponseHeadersProperlyWithLookup()  : mixed
testSetsTheXContentDigestResponseHeaderBeforeStoring()  : mixed
testStoresACacheEntry()  : mixed
testStoresMultipleResponsesForEachVaryCombination()  : mixed
testSucceedsQuietlyWhenInvalidateCalledWithNoMatchingEntries()  : mixed
testUnlockFileThatDoesExist()  : mixed
testUnlockFileThatDoesNotExist()  : mixed
testWritesResponseEvenIfXContentDigestIsPresent()  : mixed
testWritingARestoredResponseDoesNotCorruptCache()  : mixed
getStoreMetadata()  : mixed
getStorePath()  : mixed
setUp()  : mixed
storeSimpleEntry()  : mixed
tearDown()  : mixed

Properties

Methods

testCanonizesUrlsForCacheKeys()

public testCanonizesUrlsForCacheKeys() : mixed
Return values
mixed

testDoesNotFindAnEntryWithLookupWhenNoneExists()

public testDoesNotFindAnEntryWithLookupWhenNoneExists() : mixed
Return values
mixed

testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist()

public testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist() : mixed
Return values
mixed

testDoesNotReturnEntriesThatSlightlyVaryWithLookup()

public testDoesNotReturnEntriesThatSlightlyVaryWithLookup() : mixed
Return values
mixed

testDoesNotReturnEntriesThatVaryWithLookup()

public testDoesNotReturnEntriesThatVaryWithLookup() : mixed
Return values
mixed

testDoesNotTrustXContentDigestFromUpstream()

public testDoesNotTrustXContentDigestFromUpstream() : mixed
Return values
mixed

testFindsAStoredEntryWithLookup()

public testFindsAStoredEntryWithLookup() : mixed
Return values
mixed

testInvalidatesMetaAndEntityStoreEntriesWithInvalidate()

public testInvalidatesMetaAndEntityStoreEntriesWithInvalidate() : mixed
Return values
mixed

testLocking()

public testLocking() : mixed
Return values
mixed

testOverwritesNonVaryingResponseWithStore()

public testOverwritesNonVaryingResponseWithStore() : mixed
Return values
mixed

testPurgeHttpAndHttps()

public testPurgeHttpAndHttps() : mixed
Return values
mixed

testPurgeHttps()

public testPurgeHttps() : mixed
Return values
mixed

testReadsAnEmptyArrayWithReadWhenNothingCachedAtKey()

public testReadsAnEmptyArrayWithReadWhenNothingCachedAtKey() : mixed
Return values
mixed

testRemovesEntriesForKeyWithPurge()

public testRemovesEntriesForKeyWithPurge() : mixed
Return values
mixed

testRestoresResponseContentFromEntityStoreWithLookup()

public testRestoresResponseContentFromEntityStoreWithLookup() : mixed
Return values
mixed

testRestoresResponseHeadersProperlyWithLookup()

public testRestoresResponseHeadersProperlyWithLookup() : mixed
Return values
mixed

testSetsTheXContentDigestResponseHeaderBeforeStoring()

public testSetsTheXContentDigestResponseHeaderBeforeStoring() : mixed
Return values
mixed

testStoresACacheEntry()

public testStoresACacheEntry() : mixed
Return values
mixed

testStoresMultipleResponsesForEachVaryCombination()

public testStoresMultipleResponsesForEachVaryCombination() : mixed
Return values
mixed

testSucceedsQuietlyWhenInvalidateCalledWithNoMatchingEntries()

public testSucceedsQuietlyWhenInvalidateCalledWithNoMatchingEntries() : mixed
Return values
mixed

testUnlockFileThatDoesExist()

public testUnlockFileThatDoesExist() : mixed
Return values
mixed

testUnlockFileThatDoesNotExist()

public testUnlockFileThatDoesNotExist() : mixed
Return values
mixed

testWritesResponseEvenIfXContentDigestIsPresent()

public testWritesResponseEvenIfXContentDigestIsPresent() : mixed
Return values
mixed

testWritingARestoredResponseDoesNotCorruptCache()

public testWritingARestoredResponseDoesNotCorruptCache() : mixed
Return values
mixed

getStoreMetadata()

protected getStoreMetadata(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

getStorePath()

protected getStorePath(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

setUp()

protected setUp() : mixed
Return values
mixed

storeSimpleEntry()

protected storeSimpleEntry([mixed $path = null ][, mixed $headers = [] ]) : mixed
Parameters
$path : mixed = null
$headers : mixed = []
Return values
mixed

tearDown()

protected tearDown() : mixed
Return values
mixed

Search results