Updated fix for bug 366089: Interface to provide trace name.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core.tests / src / org / eclipse / linuxtools / lttng / core / tests / event / LttngEventTest.java
index 7ad8b7c1ea9b8e99ef8364784d120535cae13098..fa777690b270981191604a89fcf9e3a238513321 100644 (file)
@@ -59,7 +59,7 @@ public class LttngEventTest extends TestCase {
                        try {
                                URL location = FileLocator.find(LTTngCoreTestPlugin.getPlugin().getBundle(), new Path(tracepath1), null);
                                File testfile = new File(FileLocator.toFileURL(location).toURI());
-                               LTTngTextTrace tmpStream = new LTTngTextTrace(testfile.getPath(), skipIndexing);
+                               LTTngTextTrace tmpStream = new LTTngTextTrace(testfile.getName(), testfile.getPath(), skipIndexing);
                                testStream = tmpStream;
                        } 
                        catch (Exception e) {
This page took 0.024974 seconds and 5 git commands to generate.