On Tue, Jul 1, 2008 at 2:20 AM, Copo <[EMAIL PROTECTED]> wrote:
>
> Here is the surfire report :
>
> -------------------------------------------------------------------------------
> 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)

The problem is clearly stated above. The class named
MySpringComponentTest does not have a public constructor whose
signature is TestCase(String name). You just need to add the following
constructor to MySpringComponentTest.java:

    public MySpringComponentTest(String name) {
        super(name);
    }

I have already patched this in the 3.2 branch and the archetypes trunk
so it will be fixed in the next release. See the following JIRA issue
for more information:

https://issues.apache.org/activemq/browse/SM-1443

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Reply via email to