tmf: Bug 415707: Trace already opened should not be re-opened
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / src / org / eclipse / linuxtools / tmf / ui / tests / project / model / ProjectModelTraceTest.java
index 42dc258932b121d34db663d271103cb3ac104c4e..0d45af30b3fff0299321a84d1ca5e60faf064fe8 100644 (file)
@@ -12,7 +12,6 @@
 
 package org.eclipse.linuxtools.tmf.ui.tests.project.model;
 
-import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
@@ -94,8 +93,8 @@ public class ProjectModelTraceTest {
 
         ITmfTrace trace2 = TmfTraceManager.getInstance().getActiveTrace();
 
-        /* The trace was reopened, it is not the same as before */
-        assertFalse(trace2 == trace);
+        /* The trace was reopened, it should be the same as before */
+        assertTrue(trace2 == trace);
 
         /* Here, the getTrace() should return the same as active trace */
         trace = traceElement.getTrace();
This page took 0.024442 seconds and 5 git commands to generate.