lttng: Rename CtfKernelTrace to LttngKernelTrace
[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.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces;
20 import org.junit.BeforeClass;
21
22 /**
23 * State system tests using the in-memory back-end.
24 *
25 * @author Alexandre Montplaisir
26 */
27 public class StateSystemInMemoryTest extends StateSystemTest {
28
29 /**
30 * Initialization
31 */
32 @BeforeClass
33 public static void initialize() {
34 assumeTrue(CtfTmfTestTraces.tracesExist());
35 input = new LttngKernelStateProvider(CtfTmfTestTraces.getTestTrace(TRACE_INDEX));
36 ssq = TmfStateSystemFactory.newInMemHistory(input, true);
37 }
38 }
This page took 0.031941 seconds and 5 git commands to generate.