X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tmf%2Forg.eclipse.tracecompass.tmf.core.tests%2Fsrc%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fcore%2Ftests%2Fstatesystem%2FExperimentStateSystemModuleTest.java;h=48b4a0be866086dbb48a171dcf7e4329f6217cd7;hb=c81ffdf267abf79b180902bcba20e3b76d3a39ef;hp=141293a7bc535fd89a4989e6149b6ed14fb22790;hpb=6537ccdd5618115fd243b40c003a5fd954ea0fec;p=deliverable%2Ftracecompass.git diff --git a/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/statesystem/ExperimentStateSystemModuleTest.java b/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/statesystem/ExperimentStateSystemModuleTest.java index 141293a7bc..48b4a0be86 100644 --- a/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/statesystem/ExperimentStateSystemModuleTest.java +++ b/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/statesystem/ExperimentStateSystemModuleTest.java @@ -15,6 +15,7 @@ package org.eclipse.tracecompass.tmf.core.tests.statesystem; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.concurrent.TimeUnit; @@ -106,7 +107,7 @@ public class ExperimentStateSystemModuleTest { } /** - * Make sure that the state system is initialized after calling  + * Make sure that the state system is initialized after calling * {@link TmfStateSystemAnalysisModule#waitForInitialization()}. */ @Test @@ -114,7 +115,7 @@ public class ExperimentStateSystemModuleTest { assertNull(fModule.getStateSystem()); fModule.schedule(); - fModule.waitForInitialization(); + assertTrue("Initialization succeeded", fModule.waitForInitialization()); assertNotNull(fModule.getStateSystem()); }