Commit | Line | Data |
---|---|---|
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 | ||
13 | package org.eclipse.linuxtools.lttng2.kernel.core.tests.stateprovider; | |
14 | ||
92ba8466 AM |
15 | import static org.junit.Assume.assumeTrue; |
16 | ||
f9a76cac | 17 | import org.eclipse.linuxtools.internal.lttng2.kernel.core.stateprovider.CtfKernelStateInput; |
f9a76cac | 18 | import org.eclipse.linuxtools.tmf.core.statesystem.StateSystemManager; |
92ba8466 | 19 | import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces; |
f9a76cac AM |
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() { | |
92ba8466 AM |
34 | assumeTrue(CtfTmfTestTraces.tracesExist()); |
35 | input = new CtfKernelStateInput(CtfTmfTestTraces.getTestTrace(TRACE_INDEX)); | |
36 | ssq = StateSystemManager.newInMemHistory(input, true); | |
f9a76cac AM |
37 | } |
38 | } |