1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.tests
.statistics
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfEvent
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfTrace
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.exceptions
.TmfTraceException
;
20 * This is the set up for the trace files to be used with the TmfStatistics
23 abstract class TestParams
{
25 /* Path to test traces */
26 private static final String testTracePath1
= "../org.eclipse.linuxtools.ctf.core.tests/traces/kernel"; //$NON-NLS-1$
27 private static CtfTmfTrace testTrace1
= null;
29 public synchronized static CtfTmfTrace
createTrace() throws TmfTraceException
{
30 if (testTrace1
== null) {
31 testTrace1
= new CtfTmfTrace();
32 testTrace1
.initTrace(null, testTracePath1
, CtfTmfEvent
.class);
This page took 0.031824 seconds and 6 git commands to generate.