Hi!

I have several JUnit tests that instantiate
org.apache.tapestry5.ioc.Registry via the RegistryBuilder before tests run.
Now I'm observing that services registered in one test are still available
in other tests although I did call registry.shutdown(). My test runner does
not fork a new JVM.

Calling registry.shutdown() should cause everything to vanish. Is there
anything that causes one-registry-per-JVM?

Stephan



-----
--
http://www.caimito.net - Caimito One Team - Agile Collaboration and Planning
tool
http://www.stephan-schwab.com - Personal blog
http://code.google.com/p/tapestry-sesame - Authentication extension for
Tapestry 5

-- 
View this message in context: 
http://www.nabble.com/IoC-registry-survives-between-JUnit-tests--tp20828078p20828078.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to