Implement TmfTrace changes - introduce TmfTraceException
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core.tests / src / org / eclipse / linuxtools / lttng / core / tests / event / LttngEventTest.java
index 9843ae4df5090922a4c2e0e201afac72e74c0f8f..f81a634ccec2d5b3fc94fdf4d8e56b44dc5b218e 100644 (file)
@@ -77,7 +77,7 @@ public class LttngEventTest extends TestCase {
 
         try {
             final LTTngTextTrace tmpStream = initializeEventStream();
-            tmpEvent = (LttngEvent)tmpStream.readEvent(new TmfContext(new TmfLocation<Long>(0L), 0) );
+            tmpEvent = (LttngEvent)tmpStream.readNextEvent(new TmfContext(new TmfLocation<Long>(0L), 0) );
         }
         catch (final Exception e) {
             System.out.println("ERROR : Could not open " + tracepath1);
This page took 0.025916 seconds and 5 git commands to generate.