Searched refs:mSliceCountdownLatch (Results 1 – 1 of 1) sorted by relevance
37 private PanelSlicesLoaderCountdownLatch mSliceCountdownLatch; field in PanelSlicesLoaderCountdownLatchTest48 mSliceCountdownLatch = new PanelSlicesLoaderCountdownLatch(URIS.length); in setUp()54 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isFalse(); in hasLoaded_newObject_returnsFalse()59 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in hasLoaded_markSliceLoaded_returnsTrue()61 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isTrue(); in hasLoaded_markSliceLoaded_returnsTrue()67 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in markSliceLoaded_onlyCountsDownUniqueUris()70 assertThat(mSliceCountdownLatch.isPanelReadyToLoad()).isFalse(); in markSliceLoaded_onlyCountsDownUniqueUris()76 mSliceCountdownLatch.markSliceLoaded(URIS[i]); in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()79 assertThat(mSliceCountdownLatch.isPanelReadyToLoad()).isTrue(); in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()85 mSliceCountdownLatch.markSliceLoaded(URIS[i]); in areSlicesReadyToLoad_onlyReturnsTrueOnce()[all …]