Searched refs:TEST_FILE_DATA (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 68 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA; 93 assertEquals(TEST_FILE_DATA, readFromInputStream(is)); in test_newInputStream() 119 assertEquals(TEST_FILE_DATA, readFromInputStream(is)); in test_newInputStream_openOption() 129 assertEquals(TEST_FILE_DATA, readFromInputStream(is)); in test_newInputStream_twice() 130 assertEquals(TEST_FILE_DATA, readFromInputStream(is2)); in test_newInputStream_twice() 149 os.write(TEST_FILE_DATA.getBytes()); in test_newOutputStream() 153 assertEquals(TEST_FILE_DATA, readFromInputStream(is)); in test_newOutputStream() 169 os.write(TEST_FILE_DATA.getBytes()); in test_newOutputStream_openOption_APPEND() 173 assertEquals(TEST_FILE_DATA + TEST_FILE_DATA, readFromInputStream(is)); in test_newOutputStream_openOption_APPEND() 214 TEST_FILE_DATA.substring(TEST_FILE_DATA_2.length()); in test_newOutputStream_openOption_WRITE() [all …]
|
D | DefaultFileSystemProvider2Test.java | 70 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA; 95 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_move() 129 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_move_CopyOption() 134 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_move_CopyOption() 182 assertEquals(TEST_FILE_DATA, in test_move_directory() 434 assertEquals(filesSetup.TEST_FILE_DATA, readFromFileChannel(fc)); in test_newFileChannel() 444 assertEquals(filesSetup.TEST_FILE_DATA, readFromFileChannel(fc)); in test_newFileChannel() 454 assertEquals(filesSetup.TEST_FILE_DATA, readFromFileChannel(fc)); in test_newFileChannel() 468 assertEquals(overlayString1OnString2(TEST_FILE_DATA_2, TEST_FILE_DATA), in test_newFileChannel() 495 … assertEquals(TEST_FILE_DATA + TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel()
|
D | FilesSetup.java | 44 final static String TEST_FILE_DATA = "hello"; field in FilesSetup 85 bw.write(TEST_FILE_DATA); in initializeFiles()
|
D | Files2Test.java | 81 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA; 926 lines.add(TEST_FILE_DATA); in test_lines$Path$Charset() 969 lines.add(TEST_FILE_DATA); in test_lines$Path() 1058 assertEquals(TEST_FILE_DATA, bufferedReader.readLine()); in test_newBufferedReader() 1087 assertEquals(TEST_FILE_DATA, bufferedReader.readLine()); in test_newBufferedReader$Path$Charset() 1115 bufferedWriter.write(TEST_FILE_DATA); in test_newBufferedWriter() 1117 assertEquals(TEST_FILE_DATA, in test_newBufferedWriter() 1149 bufferedWriter.write(TEST_FILE_DATA); in test_newBufferedWriter$Path$Charset() 1151 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_newBufferedWriter$Path$Charset() 1191 assertEquals(TEST_FILE_DATA, readData); in test_newByteChannel() [all …]
|
D | DefaultSecureDirectoryStreamTest.java | 49 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA; 226 writeToFile(path_f1, TEST_FILE_DATA); in test_newByteChannel() 234 assertEquals(TEST_FILE_DATA, readData); in test_newByteChannel()
|