Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Panchenko2013-01-25 15:22:43 +0000
committerAlex Panchenko2013-01-25 15:22:43 +0000
commit67b3a580dcb78403f609b7e26c8f42107e06c423 (patch)
tree1b66a93ec33e595f58864ea3fdeec2eaf28c374a
parentfb034a12b591c185e002da109124e107dc40298d (diff)
downloadorg.eclipse.dltk.tcl-67b3a580dcb78403f609b7e26c8f42107e06c423.tar.gz
org.eclipse.dltk.tcl-67b3a580dcb78403f609b7e26c8f42107e06c423.tar.xz
org.eclipse.dltk.tcl-67b3a580dcb78403f609b7e26c8f42107e06c423.zip
build: add tcl.activestatedebugger.tests
-rw-r--r--tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/META-INF/MANIFEST.MF2
-rw-r--r--tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/build.properties3
-rw-r--r--tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/pom.xml34
-rw-r--r--tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/test.xml54
-rw-r--r--tcl/tests/pom.xml1
5 files changed, 37 insertions, 57 deletions
diff --git a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/META-INF/MANIFEST.MF b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/META-INF/MANIFEST.MF
index 4f938118..f3bbbe1e 100644
--- a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/META-INF/MANIFEST.MF
+++ b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Tests Plug-in
Bundle-SymbolicName: org.eclipse.dltk.tcl.activestatedebugger.tests
-Bundle-Version: 5.0.0
+Bundle-Version: 5.0.0.qualifier
Bundle-Activator: org.eclipse.dltk.tcl.activestatedebugger.tests.Activator
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.dltk.tcl.activestatedebugger,
diff --git a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/build.properties b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/build.properties
index d1444fea..34d2e4d2 100644
--- a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/build.properties
+++ b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/build.properties
@@ -1,5 +1,4 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .,\
- test.xml
+ .
diff --git a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/pom.xml b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/pom.xml
new file mode 100644
index 00000000..bfad7dba
--- /dev/null
+++ b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/pom.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>tcl.tests</artifactId>
+ <groupId>org.eclipse.dltk.tcl</groupId>
+ <version>5.0.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <groupId>org.eclipse.dltk.tcl</groupId>
+ <artifactId>org.eclipse.dltk.tcl.activestatedebugger.tests</artifactId>
+ <version>5.0.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.dltk.tcl.activestatedebugger.tests.AllTests</testClass>
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.platform.feature.group</artifactId>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/test.xml b/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/test.xml
deleted file mode 100644
index a60e6fc4..00000000
--- a/tcl/tests/org.eclipse.dltk.tcl.activestatedebugger.tests/test.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}\..\.."/>
-
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="plugin-name" value="org.eclipse.dltk.tcl.activestatedebugger.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
-
- <property name="workspace" value="${basedir}/${plugin-name}/workspace"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <delete dir="${workspace}" quiet="true"/>
-
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.dltk.tcl.activestatedebugger.tests.AllTests"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <delete dir="${workspace}" quiet="true"/>
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-
-</project>
-
-
-
diff --git a/tcl/tests/pom.xml b/tcl/tests/pom.xml
index 7ccd16f9..bcb4c040 100644
--- a/tcl/tests/pom.xml
+++ b/tcl/tests/pom.xml
@@ -20,5 +20,6 @@
<module>org.eclipse.dltk.tcl.formatter.tests</module>
<module>org.eclipse.dltk.tcl.validators.tests</module>
<module>org.eclipse.dltk.tcl.ui.tests</module>
+ <module>org.eclipse.dltk.tcl.activestatedebugger.tests</module>
</modules>
</project>

Back to the top