tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Schwab <...@caimito.net>
Subject IoC registry survives between JUnit tests?
Date Thu, 04 Dec 2008 06:28:09 GMT


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?


http://www.caimito.net - Caimito One Team - Agile Collaboration and Planning
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

View raw message