tmf: Add a new package for state history backends
[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 org.eclipse.linuxtools.internal.lttng2.kernel.core.stateprovider.CtfKernelStateInput;
16 import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
17 import org.eclipse.linuxtools.tmf.core.statesystem.StateSystemManager;
18 import org.junit.BeforeClass;
19
20 /**
21 * State system tests using the in-memory back-end.
22 *
23 * @author Alexandre Montplaisir
24 */
25 public class StateSystemInMemoryTest extends StateSystemTest {
26
27 /**
28 * Initialization
29 */
30 @BeforeClass
31 public static void initialize() {
32 try {
33 input = new CtfKernelStateInput(CtfTestFiles.getTestTrace());
34 ssq = StateSystemManager.newInMemHistory(input, true);
35 } catch (TmfTraceException e) {
36 e.printStackTrace();
37 }
38 }
39 }
This page took 0.032499 seconds and 6 git commands to generate.