cbf149d82a2006240d780aa39860bb3faee21ce3
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 private final static int PAGE_SIZE
= 1000;
21 public static File
getEmptyFile() {
25 public static CtfTmfTrace
getEmptyTrace() {
29 public static CtfTmfTrace
createTrace() throws FileNotFoundException
{
30 if ( testTrace1
== null ) {
31 testTrace1
= new CtfTmfTrace();
32 testTrace1
.initTrace("test-trace", testTracePath1
, CtfTmfEvent
.class,PAGE_SIZE
); //$NON-NLS-1$
This page took 0.03273 seconds and 5 git commands to generate.