tmf: Add test suite for pattern analysis module
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.analysis.xml.core.tests / src / org / eclipse / tracecompass / tmf / analysis / xml / core / tests / stateprovider / StateProviderModuleTest.java
CommitLineData
8945f67f 1/*******************************************************************************
4aa159b2 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 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.analysis.xml.core.tests.stateprovider;
8945f67f 14
4aa159b2 15import org.eclipse.jdt.annotation.NonNull;
6eca054d 16import org.eclipse.tracecompass.internal.tmf.analysis.xml.core.stateprovider.TmfXmlStrings;
c4d57ac1 17import org.eclipse.tracecompass.testtraces.ctf.CtfTestTrace;
2bdf0193 18import org.eclipse.tracecompass.tmf.analysis.xml.core.tests.common.TmfXmlTestFiles;
8945f67f
GB
19
20/**
21 * Test suite for the XmlStateSystemModule Test. It tests the reading of the
22 * file, the header and the module's proper functioning as a module, but not the
23 * state system building, which is covered by another test suite.
24 *
25 * @author Geneviève Bastien
26 */
4aa159b2 27public class StateProviderModuleTest extends XmlModuleTestBase {
8945f67f 28
4aa159b2
JCK
29 @Override
30 protected String getAnalysisId() {
31 return "kernel.linux.sp";
8945f67f
GB
32 }
33
4aa159b2
JCK
34 @Override
35 protected String getAnalysisName() {
36 return "Xml kernel State System";
37 }
8945f67f 38
4aa159b2
JCK
39 @Override
40 protected TmfXmlTestFiles getXmlFile() {
41 return TmfXmlTestFiles.VALID_FILE;
42 }
0ff9e595 43
4aa159b2
JCK
44 @Override
45 protected @NonNull String getAnalysisNodeName() {
46 return TmfXmlStrings.STATE_PROVIDER;
47 }
8945f67f 48
4aa159b2
JCK
49 @Override
50 protected @NonNull CtfTestTrace getTrace() {
51 return CtfTestTrace.KERNEL;
8945f67f 52 }
4aa159b2 53
8945f67f 54}
This page took 0.065892 seconds and 5 git commands to generate.