提交 0c366575 编写于 作者: T tijsrademakers

small changes to osgi module

上级 7a0502c9
......@@ -73,6 +73,10 @@
<artifactId>org.apache.felix.fileinstall</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
......@@ -117,6 +121,11 @@
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
......
......@@ -95,10 +95,11 @@ public class BlueprintBasicTest {
mavenBundle().groupId("org.apache.aries.proxy").artifactId("org.apache.aries.proxy").version("1.0.0"),
mavenBundle().groupId("org.apache.aries").artifactId("org.apache.aries.util").version("1.0.0"),
bundle("reference:file:target/classes"));
return OptionUtils.combine(coreBundles, CoreOptions.junitBundles(),
Option[] optionArray = OptionUtils.combine(coreBundles, CoreOptions.junitBundles(),
provision(createTestBundleWithProcessEngineConfiguration(),
createTestBundleWithProcessDefinition(),
createTestBundleWithTask()));
return optionArray;
}
......@@ -111,7 +112,7 @@ public class BlueprintBasicTest {
.set(Constants.DYNAMICIMPORT_PACKAGE, "*")
.build();
} catch (FileNotFoundException fnfe) {
fail(fnfe.toString());
fail("Failure in createTestBundleWithProcessEngineConfiguration " + fnfe.toString());
return null;
}
}
......@@ -123,7 +124,7 @@ public class BlueprintBasicTest {
.add("OSGI-INF/activiti/example.bpmn20.xml", new FileInputStream(new File("src/test/resources/processes/example.bpmn20.xml")))
.set(Constants.BUNDLE_SYMBOLICNAME, "org.activiti.osgi.example").build();
} catch (FileNotFoundException fnfe) {
fail(fnfe.toString());
fail("Failure in createTestBundleWithProcessDefinition " + fnfe.toString());
return null;
}
}
......@@ -138,7 +139,7 @@ public class BlueprintBasicTest {
.set(Constants.DYNAMICIMPORT_PACKAGE, "*")
.build();
} catch (FileNotFoundException fnfe) {
fail(fnfe.toString());
fail("Failure in createTestBundleWithTask " + fnfe.toString());
return null;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册