MatrixTest is an abstract class that Ant fails to test. Of course. Why does it even try to instantiate it?

Sorry, did not notice this until now. I ran the tests from my env that skips abstract classes.


    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.mahout.matrix.MatrixTest
    [junit]     at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    [junit]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [junit]     at junit.framework.TestSuite.createTest(TestSuite.java:58)
    [junit]     at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
    [junit]     at junit.framework.TestSuite.<init>(TestSuite.java:140)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:397)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] ))
    [junit]     at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    [junit]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [junit]     at junit.framework.TestSuite.createTest(TestSuite.java:58)
    [junit]     at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
    [junit]     at junit.framework.TestSuite.<init>(TestSuite.java:140)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:397)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] ))
    [junit]     at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    [junit]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)


Reply via email to