Searched refs:ofAscending (Results 1 – 4 of 4) sorted by relevance
92 PageTokenWrapper wrapper = PageTokenWrapper.ofAscending(true); in ofAscending_timestampNotSet()97 wrapper = PageTokenWrapper.ofAscending(false); in ofAscending_timestampNotSet()231 assertThat(PageTokenWrapper.ofAscending(true).encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong()232 assertThat(PageTokenWrapper.ofAscending(false).encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong()274 PageTokenWrapper ascWrapper = PageTokenWrapper.ofAscending(true); in equals_nonEmptyAndEmpty_expectFalse()275 PageTokenWrapper descWrapper = PageTokenWrapper.ofAscending(false); in equals_nonEmptyAndEmpty_expectFalse()
98 public static PageTokenWrapper ofAscending(boolean isAscending) { in ofAscending() method in PageTokenWrapper113 return PageTokenWrapper.ofAscending(defaultIsAscending); in from()
165 cursor, pageSize, PageTokenWrapper.ofAscending(isAscending)); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()249 cursor, pageSize, PageTokenWrapper.ofAscending(isAscending)); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
50 PageTokenWrapper expectedToken = PageTokenWrapper.ofAscending(false); in createReadByFilterRequest_noPageToken_correctPaginationInfo()