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 | ||
d3ba47d4 | 17 | import org.eclipse.linuxtools.internal.lttng2.kernel.core.stateprovider.LttngKernelStateProvider; |
3f436e7c | 18 | import org.eclipse.linuxtools.tmf.core.statesystem.TmfStateSystemFactory; |
f9a76cac AM |
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() { | |
9ac63b5b AM |
33 | assumeTrue(testTrace.exists()); |
34 | input = new LttngKernelStateProvider(testTrace.getTrace()); | |
3f436e7c | 35 | ssq = TmfStateSystemFactory.newInMemHistory(input, true); |
f9a76cac AM |
36 | } |
37 | } |