1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 Ericsson
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
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.tests
.trace
;
15 import java
.util
.ArrayList
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.parsers
.custom
.CustomXmlTrace
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.parsers
.custom
.CustomXmlTraceDefinition
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.parsers
.custom
.CustomTraceDefinition
.OutputColumn
;
20 import org
.eclipse
.tracecompass
.tmf
.core
.parsers
.custom
.CustomXmlTraceDefinition
.InputElement
;
21 import org
.eclipse
.tracecompass
.tmf
.core
.project
.model
.TmfTraceType
;
22 import org
.junit
.Before
;
25 * Abstract test parent
27 * @author Matthew Khouzam
30 public abstract class CustomXmlTraceTest
{
31 private CustomXmlTraceDefinition cxtd
;
33 * The trace to use to "validate" the xml files
35 private CustomXmlTrace t
;
37 * The path of the trace
47 cxtd
= new CustomXmlTraceDefinition(TmfTraceType
.CUSTOM_XML_CATEGORY
, "test", new InputElement(), new ArrayList
<OutputColumn
>(), "s");
48 t
= new CustomXmlTrace(cxtd
);
55 public CustomXmlTrace
getTrace() {
63 public String
getPath() {
69 * @param path the path to set
71 public void setPath(String path
) {