TMF: Renamed o.e.l.tmf.analysis.xml.core.tests stubs folder to common
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Wed, 29 Jan 2014 20:08:28 +0000 (15:08 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Fri, 7 Feb 2014 20:52:29 +0000 (15:52 -0500)
As mentioned as a last comment in the https://git.eclipse.org/r/#/c/19914/
patch, this folder contains test traces and not implementation stubs so
the name is more fit as "common".

Change-Id: Ia274cb4de2086a0311ffea4a1b95f6407d584b77
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/21294
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>

org.eclipse.linuxtools.tmf.analysis.xml.core.tests/.classpath
org.eclipse.linuxtools.tmf.analysis.xml.core.tests/build.properties
org.eclipse.linuxtools.tmf.analysis.xml.core.tests/common/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java [new file with mode: 0644]
org.eclipse.linuxtools.tmf.analysis.xml.core.tests/stubs/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java [deleted file]

index f1d3296b72d0ee03de7520d7cf140734e5afc570..64f94945a3efd9bdcd1e0ac5c734ac8d0a25cd8c 100644 (file)
@@ -3,6 +3,6 @@
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
        <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
        <classpathentry kind="src" path="src"/>
-       <classpathentry kind="src" path="stubs"/>
+       <classpathentry kind="src" path="common"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index 73ce20d487d9c9a96e09b652d858ad0ab9feecb7..a4d88ed3c7949a457c71b6754e3f645f83e1e696 100644 (file)
@@ -1,5 +1,5 @@
 source.. = src/,\
-           stubs/
+           common/
 output.. = bin/
 bin.includes = META-INF/,\
                .,\
diff --git a/org.eclipse.linuxtools.tmf.analysis.xml.core.tests/common/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java b/org.eclipse.linuxtools.tmf.analysis.xml.core.tests/common/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java
new file mode 100644 (file)
index 0000000..2274bd8
--- /dev/null
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2014 École Polytechnique de Montréal
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *   Geneviève Bastien - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.linuxtools.tmf.analysis.xml.core.tests.common;
+
+import java.io.File;
+
+/**
+ * Provides some test XML files to use
+ *
+ * @author Geneviève Bastien
+ */
+public enum TmfXmlTestFiles {
+    /** A valid XML test file */
+    VALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_valid.xml"),
+    /** An invalid test file */
+    INVALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_invalid.xml");
+
+    private final String fPath;
+
+    private TmfXmlTestFiles(String file) {
+        fPath = file;
+    }
+
+    /**
+     * Get the file name part of the file
+     *
+     * @return The path of this test file
+     */
+    public String getPath() {
+        return fPath;
+    }
+
+    /**
+     * Returns the file object corresponding to the test XML file
+     *
+     * @return The file object for this test file
+     */
+    public File getFile() {
+        return new File(fPath);
+    }
+
+}
diff --git a/org.eclipse.linuxtools.tmf.analysis.xml.core.tests/stubs/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java b/org.eclipse.linuxtools.tmf.analysis.xml.core.tests/stubs/org/eclipse/linuxtools/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java
deleted file mode 100644 (file)
index 2274bd8..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2014 École Polytechnique de Montréal
- *
- * All rights reserved. This program and the accompanying materials are
- * made available under the terms of the Eclipse Public License v1.0 which
- * accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *   Geneviève Bastien - Initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.linuxtools.tmf.analysis.xml.core.tests.common;
-
-import java.io.File;
-
-/**
- * Provides some test XML files to use
- *
- * @author Geneviève Bastien
- */
-public enum TmfXmlTestFiles {
-    /** A valid XML test file */
-    VALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_valid.xml"),
-    /** An invalid test file */
-    INVALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_invalid.xml");
-
-    private final String fPath;
-
-    private TmfXmlTestFiles(String file) {
-        fPath = file;
-    }
-
-    /**
-     * Get the file name part of the file
-     *
-     * @return The path of this test file
-     */
-    public String getPath() {
-        return fPath;
-    }
-
-    /**
-     * Returns the file object corresponding to the test XML file
-     *
-     * @return The file object for this test file
-     */
-    public File getFile() {
-        return new File(fPath);
-    }
-
-}
This page took 0.029253 seconds and 5 git commands to generate.