Glad it worked for you.
And thanks for the explanation.
It's much clearer than my ambiguous one :-)
Regards,
Iwao
2011/2/23 Marcus Kraßmann :
> Hi Iwao,
>
> Today I sucessfully tried your way. It took just 10 minutes and works like a
> charme. Just created a new SpringTestInterceptor with the s
Hi Iwao,
Today I sucessfully tried your way. It took just 10 minutes and works like a
charme. Just created a new SpringTestInterceptor with the same code like the
original one, but changed calls of SpringHelper to SpringTestHelper. This
offers the same inject methods like SpringHelper, but retr
I had no idea you could do this kind of Spring/JUnit integration. Looks
cool. It probably has a way to tell it to use some supplied
ApplicationContext though, instead of creating one itself... Like injecting
the bean factory itself (??? :P)
Cheers
Remi
2011/2/22 Marcus Kraßmann
> Well, my test
Well, my test case looks like this:
@RunWith(SpringJUnit4ClassRunner.class)
@TestExecutionListeners( { DependencyInjectionTestExecutionListener.class,
DirtiesContextTestExecutionListener.class})
@ContextConfiguration(locations = "classpath:test-context.xml")
public class LogoutActi