Hello. I am writing a unit test. I have a local deployment:
I'm using injection:
protected RuntimeHarness runtimeHarness;
Then a test case:
public void testX() throws Exception {
runtimeHarness.undeployContrib("x.y.z", "OSGI-INF/foo.xml")
The call to undeployContrib fails because the component appears to be loaded into the org.nuxeo.osgi.app bundle. Not sure why. Am I doing something incorrect? (I could force load the bundle and the contribution in code - that's fine - it's mainly that I'm curious if the way I'm going about it is not supported, or, I'm just doing something incorrect.)

0 votes

0 answers