btf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / trace / CTFTraceCallsitePerformanceTest.java
index 2d11615d42b86cabec93db18afaea404e1b8df64..eec6104caf6c65f2c2bd8471014a682ac102521c 100644 (file)
@@ -19,7 +19,7 @@ import java.util.Random;
 import java.util.TreeSet;
 
 import org.eclipse.linuxtools.ctf.core.event.CTFCallsite;
-import org.eclipse.linuxtools.ctf.core.tests.shared.CtfTestTraces;
+import org.eclipse.linuxtools.ctf.core.tests.shared.CtfTestTrace;
 import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
 import org.eclipse.linuxtools.ctf.core.trace.CTFTrace;
 import org.junit.Before;
@@ -32,6 +32,8 @@ import org.junit.Test;
  */
 public class CTFTraceCallsitePerformanceTest {
 
+    private static final CtfTestTrace testTrace = CtfTestTrace.KERNEL;
+
     private static final int NUMBER_OF_SEEKS = 100000;
 
     private final String[] callsites = { "Alligator", "Bunny", "Cat",
@@ -73,8 +75,8 @@ public class CTFTraceCallsitePerformanceTest {
     @Before
     public void setup() throws CTFReaderException, SecurityException,
             IllegalArgumentException {
-        assumeTrue(CtfTestTraces.tracesExist());
-        fTrace = new CTFTrace(CtfTestTraces.getTraceFile().getParentFile());
+        assumeTrue(testTrace.exists());
+        fTrace = new CTFTrace(testTrace.getPath());
     }
 
     private void addCallsites(int numCallsites) {
This page took 0.025028 seconds and 5 git commands to generate.