Indeed builds/tests work as a charm on Knoppix run from live cd. I want them
however on my Windows box :)
I've also tried to narrow my problem to JAX-RS I want to investigate, but
running this:
"cd rt/frontend/jaxrs; mvn test"
resuls with errors that do not appear when running from cxf root (and once
again, only on Windows, on Knoppix it's fine):
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.407 sec
<<< FAILURE!
testGetPath(org.apache.cxf.jaxrs.impl.UriInfoImplTest) Time elapsed: 0 sec
<<< ERROR!
java.lang.IllegalStateException: void method cannot return a value
at
org.easymock.internal.MocksControl.andReturn(MocksControl.java:128)
at
org.apache.cxf.jaxrs.impl.UriInfoImplTest.mockMessage(UriInfoImplTest.java:188)
at
org.apache.cxf.jaxrs.impl.UriInfoImplTest.mockMessage(UriInfoImplTest.java:173)
at
org.apache.cxf.jaxrs.impl.UriInfoImplTest.testGetPath(UriInfoImplTest.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
OK, I got it, I should change my OS with more "nix" in it ;)
cheers,
andy.
willem.jiang wrote:
>
> Hi Andy,
>
> Which OS are you using to run the tests ?
> I got these failures in my Windows Vista box sometime.
>
> Willem
>
--
View this message in context:
http://www.nabble.com/Failures-of-unit-tests-on-2.2-snapshot-tp21506655p21533921.html
Sent from the cxf-dev mailing list archive at Nabble.com.