tmf: Add utility method to delete supplementary files of a trace
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.tmf.ctf.core.tests / src / org / eclipse / tracecompass / tmf / ctf / core / tests / temp / tracemanager / TmfTraceManagerTest.java
index 7c7721916e2ca917276de053baa6aca1b730034e..cdbec2d75baaa23b19e95618ab92bac2bfe78c43 100644 (file)
@@ -17,7 +17,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertSame;
 
-import java.io.File;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.concurrent.TimeUnit;
@@ -229,26 +228,6 @@ public class TmfTraceManagerTest {
         assertEquals(expected, actual);
     }
 
-    /**
-     * Test the {@link TmfTraceManager#getSupplementaryFileDir} method.
-     */
-    @Test
-    public void testSupplementaryFileDir() {
-        final ITmfTrace localTrace1 = trace1;
-        final ITmfTrace localTrace2 = trace2;
-        assertNotNull(localTrace1);
-        assertNotNull(localTrace2);
-        String name1 = localTrace1.getName();
-        String name2 = localTrace2.getName();
-        String basePath = TmfTraceManager.getTemporaryDirPath() + File.separator;
-
-        String expected1 = basePath + name1 + File.separator;
-        String expected2 = basePath + name2 + File.separator;
-
-        assertEquals(expected1, TmfTraceManager.getSupplementaryFileDir(localTrace1));
-        assertEquals(expected2, TmfTraceManager.getSupplementaryFileDir(localTrace2));
-    }
-
     // ------------------------------------------------------------------------
     // Test a single trace
     // ------------------------------------------------------------------------
This page took 0.02595 seconds and 5 git commands to generate.