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
1 /*******************************************************************************
2 * Copyright (c) 2013, 2016 École Polytechnique de Montréal
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
13 package org.eclipse.tracecompass.tmf.analysis.xml.core.tests.stateprovider;
14
15 import org.eclipse.jdt.annotation.NonNull;
16 import org.eclipse.tracecompass.internal.tmf.analysis.xml.core.stateprovider.TmfXmlStrings;
17 import org.eclipse.tracecompass.testtraces.ctf.CtfTestTrace;
18 import org.eclipse.tracecompass.tmf.analysis.xml.core.tests.common.TmfXmlTestFiles;
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 */
27 public class StateProviderModuleTest extends XmlModuleTestBase {
28
29 @Override
30 protected String getAnalysisId() {
31 return "kernel.linux.sp";
32 }
33
34 @Override
35 protected String getAnalysisName() {
36 return "Xml kernel State System";
37 }
38
39 @Override
40 protected TmfXmlTestFiles getXmlFile() {
41 return TmfXmlTestFiles.VALID_FILE;
42 }
43
44 @Override
45 protected @NonNull String getAnalysisNodeName() {
46 return TmfXmlStrings.STATE_PROVIDER;
47 }
48
49 @Override
50 protected @NonNull CtfTestTrace getTrace() {
51 return CtfTestTrace.KERNEL;
52 }
53
54 }
This page took 0.03293 seconds and 6 git commands to generate.