Skip to content

Test Result : UstadCacheJvmTest

0 failures (±0)
12 tests (±0)
Took 1.7 sec.

All Tests

Test nameDurationStatus
givenCompressableFileStored_whenRequestMadeWithoutAcceptEncoding_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm]38 msPassed
givenCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm]42 msPassed
givenEmptyFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHit[jvm]72 msPassed
givenEntryLocked_whenLockRemoved_thenWillBeMovedToCacheDir[jvm]57 msPassed
givenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDir[jvm]0.11 secPassed
givenEntryNotStored_whenRetrieved_thenWillReturnNull[jvm]33 msPassed
givenFileCachedAndStored_whenPartialRequestMadeIfRangeNotMatched_thenWillReceiveFullResponse[jvm]32 msPassed
givenFileCachedAndStored_whenPartialRequestMade_thenWillReceivePartialData[jvm]45 msPassed
givenLockedEntryStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndSavedInPersistentPath[jvm]18 msPassed
givenNonCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndNotCompressed[jvm]47 msPassed
givenResponseIsNotUpdated_whenStored_thenWillUpdateLastAccessAndValidationTime[jvm]50 msPassed
givenResponseIsUpdated_whenRetrieved_thenLatestResponseWillBeReturned[jvm]1.2 secPassed