Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2015-02-03 14:19:35 +0000
committerBernd Hufmann2015-02-04 23:19:09 +0000
commitc9b31f606321336dcbba0804aef2ab84547781cf (patch)
tree58feef2de349d0103fa72167d225b03d4b7a8cd8 /org.eclipse.tracecompass.tmf.ui.tests
parent74fd68d5efd17f4912a0473ecc44c52ad9c89b3d (diff)
downloadorg.eclipse.tracecompass-c9b31f606321336dcbba0804aef2ab84547781cf.tar.gz
org.eclipse.tracecompass-c9b31f606321336dcbba0804aef2ab84547781cf.tar.xz
org.eclipse.tracecompass-c9b31f606321336dcbba0804aef2ab84547781cf.zip
Make Custom Parser trace type backwards compatible to Linux Tools
To achieve this it was necessary to update how the trace type ids are build for custom parsers Change-Id: I09dbfd83c1296f00473bfdd15ae36cdb105d52a9 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/41013 Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Diffstat (limited to 'org.eclipse.tracecompass.tmf.ui.tests')
-rw-r--r--org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java b/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java
index 826b989a02..4dac2dc296 100644
--- a/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java
+++ b/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java
@@ -14,11 +14,10 @@ package org.eclipse.tracecompass.tmf.ui.tests.trace;
import java.util.ArrayList;
-import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomXmlTrace;
-import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomXmlTraceDefinition;
import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomTraceDefinition.OutputColumn;
import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomXmlInputElement;
-import org.eclipse.tracecompass.tmf.core.project.model.TmfTraceType;
+import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomXmlTrace;
+import org.eclipse.tracecompass.tmf.core.parsers.custom.CustomXmlTraceDefinition;
import org.junit.Before;
/**
@@ -44,7 +43,7 @@ public abstract class CustomXmlTraceTest {
*/
@Before
public void init() {
- cxtd = new CustomXmlTraceDefinition(TmfTraceType.CUSTOM_XML_CATEGORY, "test", new CustomXmlInputElement(), new ArrayList<OutputColumn>(), "s");
+ cxtd = new CustomXmlTraceDefinition(CustomXmlTraceDefinition.CUSTOM_XML_CATEGORY, "test", new CustomXmlInputElement(), new ArrayList<OutputColumn>(), "s");
t = new CustomXmlTrace(cxtd);
}

Back to the top