From eac253e74682f126147f1c80ed818e171feea22d Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Tue, 23 Mar 2021 01:25:22 +0700 Subject: [PATCH] Revert "Remove module 'run-all-junit-tests' from root POM -> speed up the build" This reverts commit a1867b05ba6443d32abc4049c26b92fc226d6f78. Signed-off-by: Alexander Kriegisch --- build/build.xml | 193 +++++++++--------- installer/pom.xml | 8 + pom.xml | 8 +- run-all-junit-tests/pom.xml | 15 +- .../java/RunTheseBeforeYouCommitTests.java | 3 - tests/harness/SystemPropertiesTest.java | 2 +- 6 files changed, 110 insertions(+), 119 deletions(-) diff --git a/build/build.xml b/build/build.xml index 9c763cb3f..013f32610 100644 --- a/build/build.xml +++ b/build/build.xml @@ -20,7 +20,7 @@ - + @@ -38,11 +38,11 @@ - + - + - + @@ -66,7 +66,7 @@ version="${build.version}" versionSourceFile="${aspectj.modules.dir}/bridge/src/org/aspectj/bridge/Version.java" versionTagFile="${aj.temp.dir}/versionUptodate"/> - + @@ -87,21 +87,21 @@ - + - + - + - + @@ -117,40 +117,40 @@ - + - + - - + - - + + + failonerror="true"/> @@ -159,11 +159,11 @@ distDir="${aj.dist.dir}" jarDir="${aj.jar.dir}" trimTesting="${trim.testing}" - buildConfig="${build.config}" + buildConfig="${build.config}" version="${build.version.long}" verbose="${build.verbose}" assembleall="${assemble}" - failonerror="true"/> + failonerror="true"/> @@ -189,7 +189,7 @@ - + @@ -197,11 +197,11 @@ - + - + - + @@ -226,18 +226,16 @@ - - - + - - @@ -245,7 +243,7 @@ - @@ -253,7 +251,6 @@ files="${aspectj.tools.modules},${aspectj.test.modules}"/> ---> - + - @@ -356,13 +353,13 @@ - + - + @@ -372,7 +369,7 @@ - + @@ -382,7 +379,7 @@ -To use testing client jar in tests, +To use testing client jar in tests, mv ../aj-build/jars/testing-client-all.jar ../lib/tests/testing-client.jar @@ -394,23 +391,23 @@ To use testing client jar in tests, - + - + - + - + @@ -426,12 +423,12 @@ To use testing client jar in tests, - + - + @@ -454,7 +451,7 @@ To use testing client jar in tests, /> - + @@ -500,12 +497,12 @@ To use testing client jar in tests, + description="create the Eclipse distribution plugins"> - + - + @@ -567,7 +564,7 @@ To use testing client jar in tests, - + @@ -647,7 +644,7 @@ To use testing client jar in tests, - + @@ -724,28 +721,28 @@ To use testing client jar in tests, --> - + - - + + - - - - - + + + + + - + - + @@ -755,45 +752,45 @@ To use testing client jar in tests, - + - - + + - + - + - - + + - + - + - - - - + + + + @@ -860,7 +857,7 @@ ant -propertyfile XXX publishtomaven - + @@ -892,7 +889,7 @@ ant -propertyfile XXX publishtomaven - + @@ -941,13 +938,13 @@ ant -propertyfile XXX publishtomaven - + - @@ -960,15 +957,15 @@ ant -propertyfile XXX publishtomaven - - + + - + - @@ -982,10 +979,10 @@ ant -propertyfile XXX publishtomaven - - + + - + diff --git a/installer/pom.xml b/installer/pom.xml index 970851574..b3cf10005 100644 --- a/installer/pom.xml +++ b/installer/pom.xml @@ -14,6 +14,14 @@ pom AspectJ Installer + + + org.aspectj + run-all-junit-tests + ${project.version} + + + diff --git a/pom.xml b/pom.xml index c323cd1c8..16b3f2ba1 100644 --- a/pom.xml +++ b/pom.xml @@ -37,15 +37,9 @@ testing-drivers tests build + run-all-junit-tests docs - - - aspectjrt aspectjweaver diff --git a/run-all-junit-tests/pom.xml b/run-all-junit-tests/pom.xml index b55f3b273..97347e3eb 100644 --- a/run-all-junit-tests/pom.xml +++ b/run-all-junit-tests/pom.xml @@ -9,11 +9,6 @@ 1.9.7.BUILD-SNAPSHOT - run-all-junit-tests jar run-all-junit-tests @@ -275,11 +270,11 @@ - diff --git a/run-all-junit-tests/src/test/java/RunTheseBeforeYouCommitTests.java b/run-all-junit-tests/src/test/java/RunTheseBeforeYouCommitTests.java index 6a55f133d..4515959c9 100644 --- a/run-all-junit-tests/src/test/java/RunTheseBeforeYouCommitTests.java +++ b/run-all-junit-tests/src/test/java/RunTheseBeforeYouCommitTests.java @@ -30,11 +30,8 @@ import junit.framework.Test; import junit.framework.TestSuite; /** - * TODO: Remove this class along with the whole module. Run 'mvn test' at the project root instead. - * * @author Andy Clement */ -@Deprecated public class RunTheseBeforeYouCommitTests { public static Test suite() { diff --git a/tests/harness/SystemPropertiesTest.java b/tests/harness/SystemPropertiesTest.java index e489d4f5a..d02985f88 100644 --- a/tests/harness/SystemPropertiesTest.java +++ b/tests/harness/SystemPropertiesTest.java @@ -3,7 +3,7 @@ public class SystemPropertiesTest { public static void main(String[] args) { boolean pass = Boolean.getBoolean("PASS"); if (!pass) { - throw new Error("failed to get Boolean \"PASS\""); + throw new Error("failed to get Boolean \\\"PASS\\\""); } String value = System.getProperty("name", null); if (!"value".equals(value)) { -- 2.39.5