Commit | Line | Data |
---|---|---|
8a6ff07f | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2013, 2015 École Polytechnique de Montréal |
8a6ff07f GB |
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 | * Geneviève Bastien - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.tests.stubs.analysis; |
8a6ff07f | 14 | |
d0c7e4ba AM |
15 | import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull; |
16 | ||
baa96b1d | 17 | import org.eclipse.jdt.annotation.NonNullByDefault; |
2bdf0193 AM |
18 | import org.eclipse.tracecompass.tmf.core.statesystem.ITmfStateProvider; |
19 | import org.eclipse.tracecompass.tmf.core.statesystem.TmfStateSystemAnalysisModule; | |
8a6ff07f GB |
20 | |
21 | /** | |
22 | * Test State System module | |
23 | * | |
24 | * @author Geneviève Bastien | |
25 | */ | |
baa96b1d | 26 | @NonNullByDefault |
8a6ff07f GB |
27 | public class TestStateSystemModule extends TmfStateSystemAnalysisModule { |
28 | ||
29 | @Override | |
baa96b1d | 30 | protected ITmfStateProvider createStateProvider() { |
d0c7e4ba | 31 | return new TestStateSystemProvider(checkNotNull(getTrace())); |
8a6ff07f GB |
32 | } |
33 | ||
34 | @Override | |
35 | protected StateSystemBackendType getBackendType() { | |
36 | return StateSystemBackendType.INMEM; | |
37 | } | |
38 | ||
39 | } |