From: W. Trevor King Date: Fri, 7 Oct 2011 07:50:13 +0000 (-0400) Subject: Don't treat inner classes as test classes with ant. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=368e12ae816b590fff44a7e9e73d21855385ab41;p=fits.git 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 --- diff --git a/build.xml b/build.xml index d3fbad2..e0a2905 100644 --- a/build.xml +++ b/build.xml @@ -41,7 +41,10 @@ - + + + +