Class com.ustadmobile.libcache.UstadCacheJvmTest

12

tests

0

failures

0

ignored

1.076s

duration

100%

successful

Tests

Test Method name Duration Result
givenCompressableFileStored_whenRequestMadeWithoutAcceptEncoding_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm] givenCompressableFileStored_whenRequestMadeWithoutAcceptEncoding_thenWillBeRetrievedAsCacheHitAndBeCompressed 0.039s passed
givenCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm] givenCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndBeCompressed 0.022s passed
givenEmptyFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHit[jvm] givenEmptyFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHit 0.058s passed
givenEntryLocked_whenLockRemoved_thenWillBeMovedToCacheDir[jvm] givenEntryLocked_whenLockRemoved_thenWillBeMovedToCacheDir 0.031s passed
givenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDir[jvm] givenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDir 0.084s passed
givenEntryNotStored_whenRetrieved_thenWillReturnNull[jvm] givenEntryNotStored_whenRetrieved_thenWillReturnNull 0.012s passed
givenFileCachedAndStored_whenPartialRequestMadeIfRangeNotMatched_thenWillReceiveFullResponse[jvm] givenFileCachedAndStored_whenPartialRequestMadeIfRangeNotMatched_thenWillReceiveFullResponse 0.032s passed
givenFileCachedAndStored_whenPartialRequestMade_thenWillReceivePartialData[jvm] givenFileCachedAndStored_whenPartialRequestMade_thenWillReceivePartialData 0.042s passed
givenLockedEntryStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndSavedInPersistentPath[jvm] givenLockedEntryStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndSavedInPersistentPath 0.033s passed
givenNonCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndNotCompressed[jvm] givenNonCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndNotCompressed 0.034s passed
givenResponseIsNotUpdated_whenStored_thenWillUpdateLastAccessAndValidationTime[jvm] givenResponseIsNotUpdated_whenStored_thenWillUpdateLastAccessAndValidationTime 0.028s passed
givenResponseIsUpdated_whenRetrieved_thenLatestResponseWillBeReturned[jvm] givenResponseIsUpdated_whenRetrieved_thenLatestResponseWillBeReturned 0.661s passed

Standard error

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.