Searched refs:TEST_FILE_DATA_2 (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 69 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA_2; 189 os.write(TEST_FILE_DATA_2.getBytes()); in test_newOutputStream_openOption_TRUNCATE() 193 assertEquals(TEST_FILE_DATA_2, readFromInputStream(is)); in test_newOutputStream_openOption_TRUNCATE() 209 os.write(TEST_FILE_DATA_2.getBytes()); in test_newOutputStream_openOption_WRITE() 213 String expectedFileData = TEST_FILE_DATA_2 + in test_newOutputStream_openOption_WRITE() 214 TEST_FILE_DATA.substring(TEST_FILE_DATA_2.length()); in test_newOutputStream_openOption_WRITE() 230 os.write(TEST_FILE_DATA_2.getBytes()); in test_newOutputStream_openOption_CREATE() 234 String expectedFileData = TEST_FILE_DATA_2 + in test_newOutputStream_openOption_CREATE() 235 TEST_FILE_DATA.substring(TEST_FILE_DATA_2.length()); in test_newOutputStream_openOption_CREATE() 346 sbc.write(ByteBuffer.wrap(TEST_FILE_DATA_2.getBytes())); in test_newByteChannel_openOption_WRITE() [all …]
|
D | Files2Test.java | 82 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA_2; 968 lines.add(TEST_FILE_DATA_2); in test_lines$Path() 1122 bufferedWriter.write(TEST_FILE_DATA_2); in test_newBufferedWriter() 1124 assertEquals(TEST_FILE_DATA_2, in test_newBufferedWriter() 1213 sbc.write(ByteBuffer.wrap(TEST_FILE_DATA_2.getBytes())); in test_newByteChannel_openOption_WRITE() 1217 String expectedFileData = TEST_FILE_DATA_2 + in test_newByteChannel_openOption_WRITE() 1219 TEST_FILE_DATA_2.length()); in test_newByteChannel_openOption_WRITE() 1239 sbc.write(ByteBuffer.wrap(TEST_FILE_DATA_2.getBytes())); in test_newByteChannel_openOption_WRITE_READ() 1241 String expectedFileData = TEST_FILE_DATA + TEST_FILE_DATA_2; in test_newByteChannel_openOption_WRITE_READ() 1263 writeToFile(filesSetup.getDataFilePath(), "\n" + TEST_FILE_DATA_2, in test_readAllLine() local [all …]
|
D | DefaultFileSystemProvider2Test.java | 71 import static libcore.java.nio.file.FilesSetup.TEST_FILE_DATA_2; 109 writeToFile(filesSetup.getDataFilePath(), TEST_FILE_DATA_2); in test_move() local 111 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getTestPath())); in test_move() 466 writeToFileChannel(fc, filesSetup.TEST_FILE_DATA_2); in test_newFileChannel() 468 assertEquals(overlayString1OnString2(TEST_FILE_DATA_2, TEST_FILE_DATA), in test_newFileChannel() 480 writeToFileChannel(fc, filesSetup.TEST_FILE_DATA_2); in test_newFileChannel() 482 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel() 493 writeToFileChannel(fc, filesSetup.TEST_FILE_DATA_2); in test_newFileChannel() 495 … assertEquals(TEST_FILE_DATA + TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel()
|
D | FilesSetup.java | 46 final static String TEST_FILE_DATA_2 = "test"; field in FilesSetup
|