public int getCpuNumber() {
*/
+@SuppressWarnings("nls")
public class LTTngTraceTest extends TestCase {
private final static String tracepath1="traceset/trace-15316events_nolost_newformat";
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) {
catch( Exception e) {
fail("Construction with correct tracepath failed!");
}
+ System.out.println("Test completed");
}
public void testGetNextEvent() {