Searched refs:testFile (Results 1 – 6 of 6) sorted by relevance
46 private File testFile = null; field in PrintStreamTest84 assertFileContents(UNICODE_STRING.getBytes(Charset.defaultCharset()), testFile); in test_Constructor_Ljava_lang_String() local103 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_8), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String() local110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String() local750 testFile = File.createTempFile("test", null); in setUp()751 testFilePath = testFile.getAbsolutePath(); in setUp()756 testFile.delete(); in tearDown()757 testFile = null; in tearDown()
2176 File testFile = new File("test.ser"); in test_serialization_self() local2177 SerializationTest.verifySelf(testFile); in test_serialization_self()
27 public void testFile() throws Exception { in testFile() method in OldAndroidFileTest
1134 File testFile = createTempFile("test_socket_setSockoptTimeval_invalidFd", ""); in test_socket_setSockoptTimeval_fileFd() local1135 try (FileInputStream fis = new FileInputStream(testFile)) { in test_socket_setSockoptTimeval_fileFd()1368 File testFile = createTempFile("test_odirect", ""); in test_odirect() local1371 Os.open(testFile.toString(), O_WRONLY | O_DIRECT, S_IRUSR | S_IWUSR); in test_odirect()1379 testFile.delete(); in test_odirect()
443 URL testFile = new URL("file:///pages/index.html"); in testGetProtocol() local449 assertTrue("file".equalsIgnoreCase(testFile.getProtocol())); in testGetProtocol()
53 public void testFile() throws Exception { in testFile() method in BlockGuardTest