Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.1, 3.3
-
None
Description
From the user mailing list:
-------------------------------------------------------------------------------
Test set: org.apache.servicemix.samples.helloworld.bc.MySpringComponentTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
<<< FAILURE!
warning(junit.framework.TestSuite$1) Time elapsed: 0.01 sec <<< FAILURE!
junit.framework.AssertionFailedError: Class
org.apache.servicemix.samples.helloworld.bc.MySpringComponentTest has no
public constructor TestCase(String name)
at
junit.framework.Assert.fail(E:/JKarel/code/junit/framework/Assert.java:143)
at
junit.framework.TestSuite$1.runTest(E:/JKarel/code/junit/framework/TestSuite.java:178)
at
junit.framework.TestCase.runBare(E:/JKarel/code/junit/framework/TestCase.java:129)
at
junit.framework.TestResult$1.protect(E:/JKarel/code/junit/framework/TestResult.java:100)
at
junit.framework.TestResult.runProtected(E:/JKarel/code/junit/framework/TestResult.java:117)
at
junit.framework.TestResult.run(E:/JKarel/code/junit/framework/TestResult.java:103)
at
junit.framework.TestCase.run(E:/JKarel/code/junit/framework/TestCase.java:120)
at
junit.framework.TestSuite.run(E:/JKarel/code/junit/framework/TestSuite.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)