- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for tmpdir (0.3 sec)
-
okhttp/src/test/java/okhttp3/RequestBodyTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir class RequestBodyTest { private lateinit var filePath: okio.Path @BeforeEach fun setup( @TempDir tempDir: Path, ) { filePath = tempDir.toOkioPath() / "file.txt" } @Test fun testFileDescriptor() { assertOnFileDescriptor { fd ->
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
import org.junit.jupiter.api.io.TempDir import org.opentest4j.TestAbortedException /** Android's URLConnectionTest, ported to exercise OkHttp's Call API. */ @Tag("Slow") class URLConnectionTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @TempDir lateinit var tempDir: File
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir class FileOperatorTest { @TempDir var tempDir: File? = null private var file: File? = null private var randomAccessFile: RandomAccessFile? = null @BeforeEach fun setUp() { file = File(tempDir, "test") randomAccessFile = RandomAccessFile(file, "rw") } @AfterEach fun tearDown() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir @Tag("Slowish") class RelayTest { @TempDir var tempDir: File? = null private val executor = Executors.newCachedThreadPool(threadFactory("RelayTest")) private val metadata: ByteString = "great metadata!".encodeUtf8() private lateinit var file: File @BeforeEach fun setUp() { file = File(tempDir, "test") } @AfterEach fun tearDown() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assumptions import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.io.TempDir import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource class FileSystemParamProvider : SimpleProvider() { override fun arguments() = listOf(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
mazeplay.com // mcpe.me : https://mcpe.me // Submitted by Noa Heyl <******@****.***> mcpe.me // McHost : https://mchost.ru // Submitted by Evgeniy Subbotin <******@****.***> mcdir.me mcdir.ru mcpre.ru vps.mcdir.ru // Mediatech : https://mediatech.by // Submitted by Evgeniy Kozhuhovskiy <******@****.***> mediatech.by mediatech.dev // Medicom Health : https://medicomhealth.com
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)