Searched refs:TEST_FILESIZE (Results 1 – 1 of 1) sorted by relevance
77 private val TEST_FILESIZE = 1_000_000 // 1MB constant188 newAvailable.coerceIn(0, TEST_FILESIZE), in setAvailable()207 if (position >= TEST_FILESIZE) return -1 // End of stream in read()229 doReturn(TEST_FILESIZE.toLong()).`when`(connection).contentLengthLong in setUp()312 assertEquals(0, TEST_FILESIZE % 100) in makeFileUri()313 assertTrue(TEST_FILESIZE / 100 > 0) in makeFileUri()314 inputStream1.setAvailable(TEST_FILESIZE / 100) in makeFileUri()322 inputStream1.setAvailable(TEST_FILESIZE) in makeFileUri()326 assertSameContents(it, TestInputStream(TEST_FILESIZE)) in makeFileUri()332 inputStream2.setAvailable(TEST_FILESIZE / 100) in makeFileUri()[all …]