lttng: Add an in-depth test for full state system queries
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / stateprovider / StateSystemInMemoryTest.java
CommitLineData
f9a76cac
AM
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
13package org.eclipse.linuxtools.lttng2.kernel.core.tests.stateprovider;
14
92ba8466
AM
15import static org.junit.Assume.assumeTrue;
16
f9a76cac 17import org.eclipse.linuxtools.internal.lttng2.kernel.core.stateprovider.CtfKernelStateInput;
f9a76cac 18import org.eclipse.linuxtools.tmf.core.statesystem.StateSystemManager;
92ba8466 19import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces;
f9a76cac
AM
20import org.junit.BeforeClass;
21
22/**
23 * State system tests using the in-memory back-end.
24 *
25 * @author Alexandre Montplaisir
26 */
27public class StateSystemInMemoryTest extends StateSystemTest {
28
29 /**
30 * Initialization
31 */
32 @BeforeClass
33 public static void initialize() {
92ba8466
AM
34 assumeTrue(CtfTmfTestTraces.tracesExist());
35 input = new CtfKernelStateInput(CtfTmfTestTraces.getTestTrace(TRACE_INDEX));
36 ssq = StateSystemManager.newInMemHistory(input, true);
f9a76cac
AM
37 }
38}
This page took 0.026586 seconds and 5 git commands to generate.