On Mar 8, 2010, at 6:03 AM, [email protected] wrote: > Author: jlmonteiro > Date: Mon Mar 8 11:03:56 2010 > New Revision: 920267 > > URL: http://svn.apache.org/viewvc?rev=920267&view=rev > Log: > Add @WebServiceRef injection to the test case.
Jean-Louis, I'm seeing test failures which would seem related to your recent updates. Are tests working for you? Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.659 sec <<< FAILURE! testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest) Time elapsed: 3.631 sec <<< ERROR! javax.naming.NamingException: Unable to find injection meta-data for org.superbiz.calculator.CalculatorTest. Ensure that class was annotated with @org.apache.openejb.api.LocalClient and was successfully discovered and deployed. See http://openejb.apache.org/3.0/local-client-injection.html at org.apache.openejb.client.LocalInitialContext.inject(LocalInitialContext.java:198) at org.apache.openejb.client.LocalInitialContext.bind(LocalInitialContext.java:172) at javax.naming.InitialContext.bind(InitialContext.java:359) at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:55) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework.TestSuite.run(TestSuite.java:223) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) 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:592) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) --kevan
