com.ustadmobile.libcache.distributed.DistributedCacheHashtableIntegrationTestcom.ustadmobile.libcache.distributed.DistributedCacheHashtableIntegrationTest)zgivenTwoNeighborCaches_whenDiscovered_thenCanDownloadFromOthergivenTwoNeighborCaches_whenDiscovered_thenCanDownloadFromOther[jvm])|givenTwoNeighborCachesDiscovered_thenPingTimesWillBeDeterminedgivenTwoNeighborCachesDiscovered_thenPingTimesWillBeDetermined[jvm]) givenTwoNeighborCaches_whenDiscovered_thenShouldExchangeAvailabilityInfogivenTwoNeighborCaches_whenDiscovered_thenShouldExchangeAvailabilityInfo[jvm])givenTwoNeighborCachesDiscovered_whenNewEntryAdded_thenOtherNodeWillAddToDistributedHashgivenTwoNeighborCachesDiscovered_whenNewEntryAdded_thenOtherNodeWillAddToDistributedHash[jvm]))com.ustadmobile.libcache.okhttp.UstadCacheInterceptorTestUstadCacheInterceptorTest) *givenImmutableEntryWasCached_whenRequested_thenCacheWillHitgivenImmutableEntryWasCached_whenRequested_thenCacheWillHit[jvm]X)(+givenCompressableEntryNotYetCachedAlreadyEncoded_whenRequested_thenWillRespondAndCacheItgivenCompressableEntryNotYetCachedAlreadyEncoded_whenRequested_thenWillRespondAndCacheIt[jvm]B)j,givenEntryIsStale_whenRequestedWithValidationHeader_thenResponseShouldBe304NotModifiedgivenEntryIsStale_whenRequestedWithValidationHeader_thenResponseShouldBe304NotModified[jvm]A)-givenResponseHasNoStoreHeader_whenRequested_thenIsNotStoredgivenResponseHasNoStoreHeader_whenRequested_thenIsNotStored[jvm]K).givenResponsePartiallyStored_whenRequestedWithResumeUuid_thenWillResumegivenResponsePartiallyStored_whenRequestedWithResumeUuid_thenWillResume[jvm])/givenEntryNotYetCached_whenRequested_thenWillRespondAndCacheItgivenEntryNotYetCached_whenRequested_thenWillRespondAndCacheIt[jvm])0givenEntryIsStaleAndValidatable_whenRequested_thenIsValidatedgivenEntryIsStaleAndValidatable_whenRequested_thenIsValidated[jvm]L)i1givenCompressableEntryNotYetCachedNotEncoded_whenRequested_thenWillRespondAndCacheItgivenCompressableEntryNotYetCachedNotEncoded_whenRequested_thenWillRespondAndCacheIt[jvm]?)2givenRequestNotStorable_whenRequested_thenIsNotStoredgivenRequestNotStorable_whenRequested_thenIsNotStored[jvm])com.ustadmobile.libcache.cachecontrol.CacheControlFreshnessCheckerImplTestcom.ustadmobile.libcache.cachecontrol.CacheControlFreshnessCheckerImplTest)zgivenResponseWithinMaxAge_whenChecked_isFreshgivenResponseWithinMaxAge_whenChecked_isFresh[jvm])zgivenResponseHasMustRevalidate_whenChecked_isStalegivenResponseHasMustRevalidate_whenChecked_isStale[jvm])zgivenResponseIsImmutable_whenChecked_isFreshgivenResponseIsImmutable_whenChecked_isFresh[jvm])zgivenRequestHasNoCacheDirective_whenChecked_isStalegivenRequestHasNoCacheDirective_whenChecked_isStale[jvm])zcom.ustadmobile.libcache.distributed.http.DistributedCacheHttpEndpointTestDistributedCacheHttpEndpointTest) givenRequest_willForwardToCachegivenRequest_willForwardToCache[jvm])2!com.ustadmobile.libcache.distributed.model.DistributedHashEntriesTestDistributedHashEntriesTest)4"givenEntriesSerialized_whenDeserialized_thenWillBeEqualgivenEntriesSerialized_whenDeserialized_thenWillBeEqual[jvm])4#givenPingSerialized_whenDeserialized_thenWillBeEqualgivenPingSerialized_whenDeserialized_thenWillBeEqual[jvm])43com.ustadmobile.libcache.partial.ContentRangeTestContentRangeTest)4givenRangeWithStartToEnd_whenParsed_thenMatchesgivenRangeWithStartToEnd_whenParsed_thenMatches[jvm])5givenRangeWhereLastByteAfterTotalBytes_whenParsed_thenThrowsRangeNotSatisfiableExceptiongivenRangeWhereLastByteAfterTotalBytes_whenParsed_thenThrowsRangeNotSatisfiableException[jvm])6givenRangeWhereStartIsAfterLast_whenParsed_thenThrowsRangeNotSatisfiableExceptiongivenRangeWhereStartIsAfterLast_whenParsed_thenThrowsRangeNotSatisfiableException[jvm])7givenBlankStart_whenParsed_thenMatchesgivenBlankStart_whenParsed_thenMatches[jvm])8givenValidRange_whenParsed_thenMatchesgivenValidRange_whenParsed_thenMatches[jvm])com.ustadmobile.libcache.UstadCacheTrimmerTestcom.ustadmobile.libcache.UstadCacheTrimmerTest)zCgivenEntriesExceedSize_whenTrimRun_thenWillEvictRequiredEntriesgivenEntriesExceedSize_whenTrimRun_thenWillEvictRequiredEntries[jvm]Y)zcom.ustadmobile.libcache.cachecontrol.ResponseCacheabilityCheckerImplTestcom.ustadmobile.libcache.cachecontrol.ResponseCacheabilityCheckerImplTest)zgivenPartialResponse_whenChecked_notCacheablegivenPartialResponse_whenChecked_notCacheable[jvm])zgiven200OkResponse_whenChecked_isCacheablegiven200OkResponse_whenChecked_isCacheable[jvm])zgivenNoStoreInHeader_whenChecked_notCacheablegivenNoStoreInHeader_whenChecked_notCacheable[jvm])zcom.ustadmobile.libcache.UstadCacheJvmTestcom.ustadmobile.libcache.UstadCacheJvmTest)u^ givenFileCachedAndStored_whenRequestHasCacheValidationHeaders_thenShouldRespond304NotModifiedgivenFileCachedAndStored_whenRequestHasCacheValidationHeaders_thenShouldRespond304NotModified[jvm])wJgivenResponseIsUpdated_whenRetrieved_thenLatestResponseWillBeReturnedgivenResponseIsUpdated_whenRetrieved_thenLatestResponseWillBeReturned[jvm]F)wgivenEmptyFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitgivenEmptyFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHit[jvm]C)wgivenEntryNotStored_whenRetrieved_thenWillReturnNullgivenEntryNotStored_whenRetrieved_thenWillReturnNull[jvm]:)x givenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDirgivenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDir[jvm]I)xWgivenNonCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndNotCompressedgivenNonCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndNotCompressed[jvm]8)xgivenEntryLocked_whenLockRemoved_thenWillBeMovedToCacheDirgivenEntryLocked_whenLockRemoved_thenWillBeMovedToCacheDir[jvm]N)x givenResponseIsNotUpdated_whenStored_thenWillUpdateLastAccessAndValidationTimegivenResponseIsNotUpdated_whenStored_thenWillUpdateLastAccessAndValidationTime[jvm]9)y givenCompressableFileStored_whenRequestMadeWithoutAcceptEncoding_thenWillBeRetrievedAsCacheHitAndBeCompressedgivenCompressableFileStored_whenRequestMadeWithoutAcceptEncoding_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm]3)yJ givenCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndBeCompressedgivenCompressableFileStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndBeCompressed[jvm]5)y givenFileCachedAndStored_whenPartialRequestMadeIfRangeNotMatched_thenWillReceiveFullResponsegivenFileCachedAndStored_whenPartialRequestMadeIfRangeNotMatched_thenWillReceiveFullResponse[jvm]7)y givenLockedEntryStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndSavedInPersistentPathgivenLockedEntryStored_whenRequestMade_thenWillBeRetrievedAsCacheHitAndSavedInPersistentPath[jvm]F)ygivenFileCachedAndStored_whenPartialRequestMade_thenWillReceivePartialDatagivenFileCachedAndStored_whenPartialRequestMade_thenWillReceivePartialData[jvm]D)z@$com.ustadmobile.libcache.downloader.DownloadIntegrationTestDownloadIntegrationTest)8%givenValidManifestUrl_whenPreparedAndDownloaded_thenShouldDownloadgivenValidManifestUrl_whenPreparedAndDownloaded_thenShouldDownload[jvm])&com.ustadmobile.libcache.io.RangeInputStreamTestRangeInputStreamTest)'givenValidRange_whenReadInSameIncrementAsBuffer_thenWillMatchgivenValidRange_whenReadInSameIncrementAsBuffer_thenWillMatch[jvm])(givenValidRange_whenRead_thenWillMatchgivenValidRange_whenRead_thenWillMatch[jvm])