Searched refs:testFile (Results 1 - 4 of 4) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DPrintStreamTest.java45 private File testFile = null; field in class:PrintStreamTest
79 tobj = new PrintStream(testFile);
83 assertEquals("output file has wrong length", 1, testFile.length());
84 tobj = new PrintStream(testFile);
87 assertEquals("output file should be empty", 0, testFile.length());
107 tobj = new PrintStream(testFile, "utf-8");
111 assertEquals("output file has wrong length", 1, testFile.length());
112 tobj = new PrintStream(testFile, "utf-8");
115 assertEquals("output file should be empty", 0, testFile.length());
126 tobj = new PrintStream(testFile, "invalidEncodin
[all...]
H A DPrintWriterTest.java60 private File testFile = null; field in class:PrintWriterTest
183 tobj = new PrintWriter(testFile);
186 assertEquals("output file has wrong length", 1, testFile.length());
187 tobj = new PrintWriter(testFile);
190 assertEquals("output file should be empty", 0, testFile.length());
213 tobj = new PrintWriter(testFile, "utf-8");
216 assertEquals("output file has wrong length", 1, testFile.length());
217 tobj = new PrintWriter(testFile, "utf-8");
220 assertEquals("output file should be empty", 0, testFile.length());
231 tobj = new PrintWriter(testFile, "invalidEncodin
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DFileTest.java184 File testFile = new File("test.ser");
185 SerializationTest.verifySelf(testFile);
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLTest.java760 URL testFile = new URL("file:///pages/index.html");
766 assertTrue("file".equalsIgnoreCase(testFile.getProtocol()));

Completed in 59 milliseconds