[431856] [CBI] Enable JUnit tests for sourceediting.tests repo Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/pom.xml b/tests/org.eclipse.jst.jsp.core.tests/pom.xml index b8049b3..29458f6 100644 --- a/tests/org.eclipse.jst.jsp.core.tests/pom.xml +++ b/tests/org.eclipse.jst.jsp.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,29 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.jst.jsp.core.tests</artifactId> <version>1.0.800-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.jst.jsp.core.tests.JSPCoreTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.wst.dtd.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.jst.jsp.tests.encoding/pom.xml b/tests/org.eclipse.jst.jsp.tests.encoding/pom.xml index 325632f..9a390e8 100644 --- a/tests/org.eclipse.jst.jsp.tests.encoding/pom.xml +++ b/tests/org.eclipse.jst.jsp.tests.encoding/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.jst.jsp.tests.encoding</artifactId> <version>1.0.500-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.jst.jsp.tests.encoding.JSPEncodingTestSuite</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/pom.xml b/tests/org.eclipse.jst.jsp.ui.tests/pom.xml index 9d62a9a..7cc714b 100644 --- a/tests/org.eclipse.jst.jsp.ui.tests/pom.xml +++ b/tests/org.eclipse.jst.jsp.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,31 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.jst.jsp.ui.tests</artifactId> <version>1.0.700-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.jst.jsp.ui.tests.JSPUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.equinox.event</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.css.core.tests/pom.xml b/tests/org.eclipse.wst.css.core.tests/pom.xml index f71134e..7952f0e 100644 --- a/tests/org.eclipse.wst.css.core.tests/pom.xml +++ b/tests/org.eclipse.wst.css.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.css.core.tests</artifactId> <version>1.0.900-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.css.core.tests.CSSCoreTestSuite</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.css.tests.encoding/pom.xml b/tests/org.eclipse.wst.css.tests.encoding/pom.xml index 38ce94f..ca75dc8 100644 --- a/tests/org.eclipse.wst.css.tests.encoding/pom.xml +++ b/tests/org.eclipse.wst.css.tests.encoding/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,34 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.css.tests.encoding</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.css.tests.encoding.CSSEncodingTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jdt.core</artifactId> + <version>0.0.0</version> + </dependency> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jst.jsp.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.css.ui.tests/pom.xml b/tests/org.eclipse.wst.css.ui.tests/pom.xml index 007ac56..e535dc7 100644 --- a/tests/org.eclipse.wst.css.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.css.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,31 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.css.ui.tests</artifactId> <version>1.0.500-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.css.ui.tests.CSSUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.equinox.event</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.dtd.core.tests/pom.xml b/tests/org.eclipse.wst.dtd.core.tests/pom.xml index 13976a8..0f7409a 100644 --- a/tests/org.eclipse.wst.dtd.core.tests/pom.xml +++ b/tests/org.eclipse.wst.dtd.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.dtd.core.tests</artifactId> <version>1.0.300-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.dtd.core.tests.DTDCoreTestSuite</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.dtd.ui.tests/pom.xml b/tests/org.eclipse.wst.dtd.ui.tests/pom.xml index 00ee7ad..a2d3f6e 100644 --- a/tests/org.eclipse.wst.dtd.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.dtd.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.dtd.ui.tests</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.dtd.ui.tests.DTDUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.html.core.tests/pom.xml b/tests/org.eclipse.wst.html.core.tests/pom.xml index b19389c..c05efec 100644 --- a/tests/org.eclipse.wst.html.core.tests/pom.xml +++ b/tests/org.eclipse.wst.html.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,29 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.html.core.tests</artifactId> <version>1.0.900-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.html.core.tests.HTMLCoreTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.wst.dtd.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.html.tests.encoding/pom.xml b/tests/org.eclipse.wst.html.tests.encoding/pom.xml index a1e9253..68a9943 100644 --- a/tests/org.eclipse.wst.html.tests.encoding/pom.xml +++ b/tests/org.eclipse.wst.html.tests.encoding/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.html.tests.encoding</artifactId> <version>1.0.500-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.html.tests.encoding.HTMLEncodingTestSuite</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.html.ui.tests/pom.xml b/tests/org.eclipse.wst.html.ui.tests/pom.xml index eb1997d..137f62e 100644 --- a/tests/org.eclipse.wst.html.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.html.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.html.ui.tests</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.html.ui.tests.HTMLUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.jsdt.web.core.tests/pom.xml b/tests/org.eclipse.wst.jsdt.web.core.tests/pom.xml index c81a10a..a2b85e4 100644 --- a/tests/org.eclipse.wst.jsdt.web.core.tests/pom.xml +++ b/tests/org.eclipse.wst.jsdt.web.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,29 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.jsdt.web.core.tests</artifactId> <version>1.0.300-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.web.core.tests.AllWebCoreTests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jst.jsp.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.jsdt.web.ui.tests/pom.xml b/tests/org.eclipse.wst.jsdt.web.ui.tests/pom.xml index 83d7028..974f7da 100644 --- a/tests/org.eclipse.wst.jsdt.web.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.jsdt.web.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.jsdt.web.ui.tests</artifactId> <version>1.0.301-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.web.ui.tests.AllWebUITests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.sse.core.tests/pom.xml b/tests/org.eclipse.wst.sse.core.tests/pom.xml index 92749c5..6dbe224 100644 --- a/tests/org.eclipse.wst.sse.core.tests/pom.xml +++ b/tests/org.eclipse.wst.sse.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,29 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.sse.core.tests</artifactId> <version>1.0.601-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.sse.core.tests.SSEModelTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.wst.xml.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.sse.ui.tests/pom.xml b/tests/org.eclipse.wst.sse.ui.tests/pom.xml index d68fb65..73aad8b 100644 --- a/tests/org.eclipse.wst.sse.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.sse.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.sse.ui.tests</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.sse.ui.tests.SSEUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/pom.xml b/tests/org.eclipse.wst.xml.catalog.tests/pom.xml index aac5707..5ee1ddd 100644 --- a/tests/org.eclipse.wst.xml.catalog.tests/pom.xml +++ b/tests/org.eclipse.wst.xml.catalog.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xml.catalog.tests</artifactId> <version>1.0.100-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xml.catalog.tests.internal.AllTests</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.xml.core.tests/pom.xml b/tests/org.eclipse.wst.xml.core.tests/pom.xml index e5dfd0b..1a843f9 100644 --- a/tests/org.eclipse.wst.xml.core.tests/pom.xml +++ b/tests/org.eclipse.wst.xml.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xml.core.tests</artifactId> <version>1.0.800-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xml.core.tests.SSEModelXMLTestSuite</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.xml.tests.encoding/pom.xml b/tests/org.eclipse.wst.xml.tests.encoding/pom.xml index f126bc8..1695f75 100644 --- a/tests/org.eclipse.wst.xml.tests.encoding/pom.xml +++ b/tests/org.eclipse.wst.xml.tests.encoding/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,34 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xml.tests.encoding</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xml.tests.encoding.EncodingTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jdt.core</artifactId> + <version>0.0.0</version> + </dependency> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jst.jsp.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.xml.ui.tests/pom.xml b/tests/org.eclipse.wst.xml.ui.tests/pom.xml index 3a9cc35..3b033e6 100644 --- a/tests/org.eclipse.wst.xml.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.xml.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xml.ui.tests</artifactId> <version>1.0.700-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xml.ui.tests.XMLUITestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.xml.validation.tests/pom.xml b/tests/org.eclipse.wst.xml.validation.tests/pom.xml index 4764252..8a664fa 100644 --- a/tests/org.eclipse.wst.xml.validation.tests/pom.xml +++ b/tests/org.eclipse.wst.xml.validation.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,34 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xml.validation.tests</artifactId> <version>1.0.601-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xml.validation.tests.internal.AllXMLTests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.jst.standard.schemas</artifactId> + <version>0.0.0</version> + </dependency> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.wst.xsd.core</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.xsd.core.tests/pom.xml b/tests/org.eclipse.wst.xsd.core.tests/pom.xml index 3c6f2f7..ada7279 100644 --- a/tests/org.eclipse.wst.xsd.core.tests/pom.xml +++ b/tests/org.eclipse.wst.xsd.core.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xsd.core.tests</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xsd.core.tests.internal.AllXSDCoreTests</testClass> + </properties> </project>
diff --git a/tests/org.eclipse.wst.xsd.ui.tests/pom.xml b/tests/org.eclipse.wst.xsd.ui.tests/pom.xml index 7701a9a..8ca65b6 100644 --- a/tests/org.eclipse.wst.xsd.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.xsd.ui.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,24 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xsd.ui.tests</artifactId> <version>1.0.100-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xsd.ui.tests.internal.AllXSDUITests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + </configuration> + </plugin> + </plugins> + </build> </project>
diff --git a/tests/org.eclipse.wst.xsd.validation.tests/pom.xml b/tests/org.eclipse.wst.xsd.validation.tests/pom.xml index 7b8c825..8ca3c40 100644 --- a/tests/org.eclipse.wst.xsd.validation.tests/pom.xml +++ b/tests/org.eclipse.wst.xsd.validation.tests/pom.xml
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,10 @@ <groupId>org.eclipse.webtools.sourceediting</groupId> <artifactId>org.eclipse.wst.xsd.validation.tests</artifactId> <version>1.0.501-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.xsd.validation.tests.internal.AllXSDTests</testClass> + </properties> </project>