From 7a1aff605d0d7726e3d9ff03366f32bc4e5c7e7b Mon Sep 17 00:00:00 2001 From: mclarke Date: Tue, 23 Apr 2013 19:45:49 +0000 Subject: [PATCH] Re-introduce JUnit3/JUnit4 split git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1471115 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 26 +++++++++++- src/etc/poms/ant-junit/pom.xml | 4 ++ src/etc/poms/ant-junit4/pom.xml | 71 +++++++++++++++++++++++++++++++++ src/etc/poms/pom.xml | 3 +- 4 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 src/etc/poms/ant-junit4/pom.xml diff --git a/build.xml b/build.xml index fd49fee36..8f936ab9f 100644 --- a/build.xml +++ b/build.xml @@ -186,7 +186,22 @@ - + + + + + + + + + + + + + + + + @@ -295,6 +310,7 @@ + @@ -368,6 +384,9 @@ classname="org.apache.xalan.trace.TraceListenerEx3" classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + - + + @@ -721,6 +741,7 @@ + @@ -813,6 +834,7 @@ + diff --git a/src/etc/poms/ant-junit/pom.xml b/src/etc/poms/ant-junit/pom.xml index 21da4cb65..3f5872112 100644 --- a/src/etc/poms/ant-junit/pom.xml +++ b/src/etc/poms/ant-junit/pom.xml @@ -82,6 +82,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma org/apache/tools/ant/taskdefs/optional/junit/* + + org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter* + org/apache/tools/ant/taskdefs/optional/junit/CustomJUnit4TestAdapterCache* + org/apache/tools/ant/taskdefs/optional/junit/ diff --git a/src/etc/poms/ant-junit4/pom.xml b/src/etc/poms/ant-junit4/pom.xml new file mode 100644 index 000000000..2d1daeaf4 --- /dev/null +++ b/src/etc/poms/ant-junit4/pom.xml @@ -0,0 +1,71 @@ + + + + + + org.apache.ant + ant-parent + ../pom.xml + 1.9.1-SNAPSHOT + + 4.0.0 + http://ant.apache.org/ + org.apache.ant + ant-junit4 + 1.9.1-SNAPSHOT + Apache Ant + JUnit 4 + contains JUnit 4.x support + + + org.apache.ant + ant + 1.9.1-SNAPSHOT + compile + + + junit + junit + 4.11 + compile + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter* + org/apache/tools/ant/taskdefs/optional/junit/CustomJUnit4TestAdapterCache* + + + + + ../../../../src/main + ../../../../src/testcases + ../../../../target/${project.artifactId}/classes + ../../../../target/${project.artifactId}/testcases + ../../../../target/${project.artifactId} + + \ No newline at end of file diff --git a/src/etc/poms/pom.xml b/src/etc/poms/pom.xml index f51b1217c..9df636432 100644 --- a/src/etc/poms/pom.xml +++ b/src/etc/poms/pom.xml @@ -97,6 +97,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma ant-jmf ant-jsch ant-junit + ant-junit4 ant-launcher ant-netrexx ant-swing @@ -106,7 +107,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma junit junit - 4.11 + 3.8.2 test