Hi,
I'm a bit lost here. I've a Spring integration test that extends
JerseyTest (1.7) using Grizzly test container. However, My web service
spring dependencies aren't wired up at all when it invokes the my
method.
My test constructor looks like this:
super(new WebAppDescriptor.Builder("my.package")
.contextPath("mypath")
.contextParam("contextConfigLocation",
"classpath:spring-config/*.xml")
.servletClass(SpringServlet.class)
.contextListenerClass(ContextLoaderListener.class)
.build());
From Naresh's blog
(
http://blogs.oracle.com/naresh/entry/jersey_test_framework_re_visited)
it indicated that this is possible, as well as samples from
http://download.java.net/maven/2/com/sun/jersey/samples/spring-annotati
ons/1.1.1-ea/
Any suggestions are greatly appreciated!
Cheers