MCPcopy
hub / github.com/google/guava / testCopyFile

Method testCopyFile

guava-tests/test/com/google/common/io/FilesTest.java:168–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 }
167
168 public void testCopyFile() throws IOException {
169 File i18nFile = getTestFile("i18n.txt");
170 File temp = createTempFile();
171 Files.copy(i18nFile, temp);
172 assertThat(Files.toString(temp, UTF_8)).isEqualTo(I18N);
173 }
174
175 public void testCopyEqualFiles() throws IOException {
176 File temp1 = createTempFile();

Callers

nothing calls this directly

Calls 4

copyMethod · 0.95
toStringMethod · 0.95
getTestFileMethod · 0.45
createTempFileMethod · 0.45

Tested by

no test coverage detected