package org.argeo.slc.osgi.test;
package org.argeo.slc.osgi.test;
+import java.util.Properties;
+
import junit.framework.TestCase;
import org.apache.commons.logging.Log;
import junit.framework.TestCase;
import org.apache.commons.logging.Log;
protected OsgiPlatform osgiPlatform = null;
protected OsgiPlatform createOsgiPlatform() {
protected OsgiPlatform osgiPlatform = null;
protected OsgiPlatform createOsgiPlatform() {
- return new EquinoxPlatform();
+ return new EquinoxPlatform() {
+
+ public Properties getConfigurationProperties() {
+ Properties props = super.getConfigurationProperties();
+ props.setProperty("osgi.configuration.area", "target/slc/conf");
+ return props;
+ }
+ };
}
protected void postStart() throws Exception {
}
protected void postStart() throws Exception {
public class HelloTest extends AbstractOsgiRuntimeTest {
public void testHello() throws Exception {
public class HelloTest extends AbstractOsgiRuntimeTest {
public void testHello() throws Exception {
}
protected void postStart() throws Exception {
}
protected void postStart() throws Exception {