Searched refs:readFromFile (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 72 import static libcore.java.nio.file.FilesSetup.readFromFile; 95 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_move() 111 assertEquals(TEST_FILE_DATA_2, 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() 183 readFromFile(filesSetup.getPathInTestDir("dir2/" + DATA_FILE))); in test_move_directory() 469 readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel() 482 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel() 495 … assertEquals(TEST_FILE_DATA + TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_newFileChannel()
|
D | DefaultFileSystemProviderTest.java | 70 import static libcore.java.nio.file.FilesSetup.readFromFile; 609 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_copy() 611 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getDataFilePath())); in test_copy() 622 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getTestPath())); in test_copy() 628 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getDataFilePath())); in test_copy() 679 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_copy_CopyOption()
|
D | FilesSetup.java | 153 static String readFromFile(Path file) throws IOException { in readFromFile() method in FilesSetup
|
D | Files2Test.java | 85 import static libcore.java.nio.file.FilesSetup.readFromFile; 1118 readFromFile(filesSetup.getTestPath())); in test_newBufferedWriter() 1125 readFromFile(filesSetup.getDataFilePath())); in test_newBufferedWriter() 1151 assertEquals(TEST_FILE_DATA, readFromFile(filesSetup.getTestPath())); in test_newBufferedWriter$Path$Charset() 1556 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_write$Path$byte$OpenOption() 1562 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getTestPath())); in test_write$Path$byte$OpenOption_OpenOption() 1566 assertEquals(TEST_FILE_DATA_2, readFromFile(filesSetup.getDataFilePath())); in test_write$Path$byte$OpenOption_OpenOption() 1570 assertEquals(TEST_FILE_DATA + TEST_FILE_DATA_2, readFromFile( in test_write$Path$byte$OpenOption_OpenOption()
|