MCPcopy Create free account
hub / github.com/akeranen/the-one / writeToNewFile

Method writeToNewFile

test/MapBasedMovementTest.java:241–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 private String writeToNewFile() throws IOException {
242 File tempFile = File.createTempFile("mapCachingTest", ".tmp");
243 tempFile.deleteOnExit();
244 writeToFile(tempFile.getAbsolutePath());
245 return tempFile.getAbsolutePath();
246 }
247
248 private void writeToFile(String path) throws IOException {
249 File tempFile = new File(path);

Callers 1

testMapCacheMethod · 0.95

Calls 1

writeToFileMethod · 0.95

Tested by

no test coverage detected