Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.tests / src / org / eclipse / linuxtools / lttng / tests / trace / LTTngTraceTest.java
index 371726613663a11b3556da34ee602852dfec1d1d..1f555636b56d3abf7d495cc9d799cc0e68bf7c4f 100644 (file)
@@ -31,6 +31,7 @@ import org.eclipse.linuxtools.tmf.trace.TmfContext;
     public int getCpuNumber() {
  */
 
+@SuppressWarnings("nls")
 public class LTTngTraceTest extends TestCase {
        
     private final static String tracepath1="traceset/trace-15316events_nolost_newformat";
@@ -70,7 +71,7 @@ public class LTTngTraceTest extends TestCase {
                        try {
                                URL location = FileLocator.find(LTTngCoreTestPlugin.getPlugin().getBundle(), new Path(tracepath1), null);
                                File testfile = new File(FileLocator.toFileURL(location).toURI());
-                               LTTngTrace tmpStream = new LTTngTrace(testfile.getPath());
+                               LTTngTrace tmpStream = new LTTngTrace(testfile.getPath(), false);
                                testStream = tmpStream;
                        } 
                        catch (Exception e) {
@@ -108,6 +109,7 @@ public class LTTngTraceTest extends TestCase {
         catch( Exception e) {
                 fail("Construction with correct tracepath failed!");
         }
+        System.out.println("Test completed");
        }
        
        public void testGetNextEvent() {
This page took 0.023716 seconds and 5 git commands to generate.