1 package org
.eclipse
.linuxtools
.tmf
.core
.tests
.ctfadaptor
;
4 import java
.io
.FileNotFoundException
;
6 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfEvent
;
7 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfTrace
;
10 public abstract class TestParams
{
12 /* Path to test traces */
13 private static final String testTracePath1
= "Tests/traces/trace20m"; //$NON-NLS-1$
14 private static CtfTmfTrace testTrace1
= null;
16 private static final File emptyFile
= new File(""); //$NON-NLS-1$
17 private static CtfTmfTrace emptyTrace
= new CtfTmfTrace();
19 public static File
getEmptyFile() {
23 public static CtfTmfTrace
getEmptyTrace() {
27 public static CtfTmfTrace
createTrace() throws FileNotFoundException
{
28 if ( testTrace1
== null ) {
29 testTrace1
= new CtfTmfTrace();
30 testTrace1
.initTrace("test-trace", testTracePath1
, CtfTmfEvent
.class); //$NON-NLS-1$
This page took 0.030994 seconds and 5 git commands to generate.