tmf: Don't use .deleteOnExit() in unit tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / stateprovider / StateSystemInMemoryTest.java
1 /*******************************************************************************
2 * Copyright (c) 2013 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Alexandre Montplaisir - Initial API and implementation
11 ******************************************************************************/
12
13 package org.eclipse.linuxtools.lttng2.kernel.core.tests.stateprovider;
14
15 import static org.junit.Assume.assumeTrue;
16
17 import org.eclipse.linuxtools.internal.lttng2.kernel.core.stateprovider.LttngKernelStateProvider;
18 import org.eclipse.linuxtools.tmf.core.statesystem.TmfStateSystemFactory;
19 import org.junit.BeforeClass;
20
21 /**
22 * State system tests using the in-memory back-end.
23 *
24 * @author Alexandre Montplaisir
25 */
26 public class StateSystemInMemoryTest extends StateSystemTest {
27
28 /**
29 * Initialization
30 */
31 @BeforeClass
32 public static void initialize() {
33 assumeTrue(testTrace.exists());
34 input = new LttngKernelStateProvider(testTrace.getTrace());
35 ssq = TmfStateSystemFactory.newInMemHistory(input, true);
36 }
37 }
This page took 0.031298 seconds and 5 git commands to generate.