Hi

Thanks for the suggestion. Actually now I noticed that my issue is really with 
iPojo and ConfigAdmin on the way my components are created

Carlos

On Feb 17, 2011, at 9:21 AM, Toni Menzel wrote:

In your Exam Test (inside @Test) you can do anything you can do in a normal 
osgi bundle - because it is an osgi bundle at runtime.
Not sure, but i don't see a problem with aquiring ConfigAdmin and setting stuff 
there inside your test.
You can also use @BeforeTest / @AfterTest


On Thu, Feb 17, 2011 at 1:12 PM, Carlos Quiroz 
<cqui...@gemini.edu<mailto:cqui...@gemini.edu>> wrote:
Hi

I'm trying to do some integration testing using pax-exam and while I can launch 
my bundles and have my services started I'm not able to configure them
My services are written using IPojo with ConfigAdmin as described here:
http://felix.apache.org/site/combining-ipojo-and-configuration-admin.html

But my services are started before I can programatically configure them using 
ConfigAdmin.

Is there a standard way to do this with pax-exam?

Carlos



_______________________________________________
general mailing list
general@lists.ops4j.org<mailto:general@lists.ops4j.org>
http://lists.ops4j.org/mailman/listinfo/general




--
Toni Menzel - http://www.okidokiteam.com<http://www.okidokiteam.com/>

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to