@WebAppConfiguration pre Spring 3.2.x

I'm writing a bunch of spring-mvc tests, but I'm using Spring 3.1, there are problems updating to post 3.1 now, so I'm not trying to do that at this time.

My question is that I have a Spring controller test, but I am trying to inject a WebApplicationContext into a test, and wherever I have looked, this is done using the @WebAppConfiguration annotation. This annotation doesn't exist in Spring 3.1, how was it done before 3.2?

Thank! Alessandro Ferrucci

+3


source to share





All Articles