Hello.

I have some code that scans bundles as they're added/removed and
instantiates various services based on the resources contained within
the bundles. I'd like to test this code.

Is there a recommended way to dynamically add/remove bundles inside
individual junit tests? I could inject a reference to a BundleContext
and call installBundle(), but that does require me to build and
serialize some test bundles to a temporary directory. Is there a
"better" way to do things?

M

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: pgpqEbyeZzmKj.pgp
Description: OpenPGP digital signature

Reply via email to