MCPcopy Index your code
hub / github.com/questdb/questdb / testRemove

Method testRemove

core/src/test/java/io/questdb/test/FilesTest.java:1097–1107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1095 }
1096
1097 @Test
1098 public void testRemove() throws Exception {
1099 assertMemoryLeak(() -> {
1100 try (Path path = new Path().of(temporaryFolder.newFile().getAbsolutePath())) {
1101 Assert.assertTrue(Files.touch(path.$()));
1102 Assert.assertTrue(Files.exists(path.$()));
1103 Assert.assertTrue(TestUtils.remove(path.$()));
1104 Assert.assertFalse(Files.exists(path.$()));
1105 }
1106 });
1107 }
1108
1109 @Test
1110 public void testSendFileOver2GB() throws Exception {

Callers

nothing calls this directly

Calls 7

touchMethod · 0.95
existsMethod · 0.95
removeMethod · 0.95
ofMethod · 0.65
$Method · 0.65
assertMemoryLeakMethod · 0.45
assertTrueMethod · 0.45

Tested by

no test coverage detected