Commit | Line | Data |
---|---|---|
8945f67f | 1 | /******************************************************************************* |
1d4e842f | 2 | * Copyright (c) 2013, 2016 École Polytechnique de Montréal |
8945f67f 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 | *******************************************************************************/ | |
2bdf0193 | 12 | package org.eclipse.tracecompass.tmf.analysis.xml.core.tests.stateprovider; |
8945f67f | 13 | |
1d4e842f | 14 | import org.eclipse.jdt.annotation.NonNull; |
6eca054d | 15 | import org.eclipse.tracecompass.internal.tmf.analysis.xml.core.stateprovider.TmfXmlStrings; |
c4d57ac1 | 16 | import org.eclipse.tracecompass.testtraces.ctf.CtfTestTrace; |
2bdf0193 | 17 | import org.eclipse.tracecompass.tmf.analysis.xml.core.tests.common.TmfXmlTestFiles; |
8945f67f GB |
18 | |
19 | /** | |
20 | * Test suite for the xml state providers | |
21 | * | |
22 | * TODO: instead of using one of the test traces, we should make a custom trace | |
23 | * to make sure it covers the different possibilities of the state provider | |
24 | * | |
25 | * @author Geneviève Bastien | |
26 | */ | |
1d4e842f | 27 | public class StateProviderTest extends XmlProviderTestBase { |
8945f67f | 28 | |
1d4e842f JCK |
29 | @Override |
30 | protected @NonNull String getAnalysisNodeName() { | |
31 | return TmfXmlStrings.STATE_PROVIDER; | |
8945f67f GB |
32 | } |
33 | ||
1d4e842f JCK |
34 | @Override |
35 | protected TmfXmlTestFiles getXmlFile() { | |
36 | return TmfXmlTestFiles.VALID_FILE; | |
8945f67f GB |
37 | } |
38 | ||
1d4e842f JCK |
39 | @Override |
40 | protected @NonNull CtfTestTrace getTrace() { | |
41 | return CtfTestTrace.KERNEL; | |
8945f67f GB |
42 | } |
43 | ||
1d4e842f | 44 | } |