import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
+import static org.junit.Assume.assumeTrue;
import org.eclipse.linuxtools.lttng2.kernel.core.event.matching.TcpEventMatching;
import org.eclipse.linuxtools.lttng2.kernel.core.event.matching.TcpLttngEventMatching;
-import org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace;
import org.eclipse.linuxtools.tmf.core.event.matching.TmfEventMatching;
import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
import org.eclipse.linuxtools.tmf.core.synchronization.ITmfTimestampTransform;
import org.eclipse.linuxtools.tmf.core.synchronization.SynchronizationAlgorithm;
import org.eclipse.linuxtools.tmf.core.synchronization.TmfTimestampTransform;
-import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces;
import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
+import org.eclipse.linuxtools.tmf.ctf.core.CtfTmfTrace;
+import org.eclipse.linuxtools.tmf.ctf.core.tests.shared.CtfTmfTestTrace;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
*/
@Before
public void setUp() {
- CtfTmfTrace trace1 = CtfTmfTestTraces.getTestTrace(3);
- CtfTmfTrace trace2 = CtfTmfTestTraces.getTestTrace(4);
+ assumeTrue(CtfTmfTestTrace.SYNC_SRC.exists());
+ assumeTrue(CtfTmfTestTrace.SYNC_DEST.exists());
+ CtfTmfTrace trace1 = CtfTmfTestTrace.SYNC_SRC.getTrace();
+ CtfTmfTrace trace2 = CtfTmfTestTrace.SYNC_DEST.getTrace();
fTraces = new CtfTmfTrace[2];
fTraces[0] = trace1;
public void cleanUp() {
fTraces[0].setTimestampTransform(TmfTimestampTransform.IDENTITY);
fTraces[1].setTimestampTransform(TmfTimestampTransform.IDENTITY);
+ CtfTmfTestTrace.SYNC_SRC.dispose();
+ CtfTmfTestTrace.SYNC_DEST.dispose();
}
/**