Commit | Line | Data |
---|---|---|
4aa159b2 JCK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 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 | package org.eclipse.tracecompass.tmf.analysis.xml.core.tests.stateprovider; | |
10 | ||
11 | import org.eclipse.jdt.annotation.NonNull; | |
12 | import org.eclipse.tracecompass.internal.tmf.analysis.xml.core.stateprovider.TmfXmlStrings; | |
13 | import org.eclipse.tracecompass.testtraces.ctf.CtfTestTrace; | |
14 | import org.eclipse.tracecompass.tmf.analysis.xml.core.tests.common.TmfXmlTestFiles; | |
15 | ||
16 | /** | |
17 | * Test the pattern analysis module | |
18 | * | |
19 | * @author Jean-Christian Kouame | |
20 | */ | |
21 | public class PatternModuleTest extends XmlModuleTestBase { | |
22 | ||
23 | @Override | |
24 | protected String getAnalysisId() { | |
25 | return "syscall.analysis"; | |
26 | } | |
27 | ||
28 | @Override | |
29 | protected String getAnalysisName() { | |
30 | return "XML system call analysis"; | |
31 | } | |
32 | ||
33 | @Override | |
34 | protected TmfXmlTestFiles getXmlFile() { | |
35 | return TmfXmlTestFiles.VALID_PATTERN_FILE; | |
36 | } | |
37 | ||
38 | @Override | |
39 | protected @NonNull String getAnalysisNodeName() { | |
40 | return TmfXmlStrings.PATTERN; | |
41 | } | |
42 | ||
43 | @Override | |
44 | protected @NonNull CtfTestTrace getTrace() { | |
45 | return CtfTestTrace.ARM_64_BIT_HEADER; | |
46 | } | |
47 | ||
48 | } |