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)
        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)

Thank you :)


bsnyder wrote:
> 
> On Thu, Jun 26, 2008 at 3:55 AM, Copo <[EMAIL PROTECTED]> wrote:
>>
>> thank you, without test it works!
>> But how do you think I could solve this JUnit problem?
> 
> Take a look in target/surefire-reports/ for the text file about the
> test failure and paste its contents in a reply. It should provide some
> direction as to the cause of the failure.
> 
> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/BC-install-problem-tp18108893p18211551.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to