From 368e12ae816b590fff44a7e9e73d21855385ab41 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 7 Oct 2011 03:50:13 -0400 Subject: [PATCH] Don't treat inner classes as test classes with ant. This had been causing errors like [junit] Testsuite: nom.tam.util.test.ArrayFuncsTest$CloneTest [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.039 sec [junit] [junit] Testcase: initializationError(nom.tam.util.test.ArrayFuncsTest$CloneTest): Caused an ERROR [junit] Test class should have exactly one public zero-argument constructor [junit] java.lang.Exception: Test class should have exactly one public zero-argument constructor [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:532) The fix follows a patch submitted by peter to the hamake project [1]. [1]: http://code.google.com/p/hamake/issues/detail?id=55 --- build.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index d3fbad2..e0a2905 100644 --- a/build.xml +++ b/build.xml @@ -41,7 +41,10 @@ - + + + + -- 2.26.2