ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r821632 - /incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java
Date Sun, 04 Oct 2009 22:44:47 GMT
Author: marrs
Date: Sun Oct  4 22:44:46 2009
New Revision: 821632

URL: http://svn.apache.org/viewvc?rev=821632&view=rev
Log:
Test now also waits for HttpService to come up.

Modified:
    incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java

Modified: incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java?rev=821632&r1=821631&r2=821632&view=diff
==============================================================================
--- incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java (original)
+++ incubator/ace/trunk/test/src/org/apache/ace/test/log/Activator.java Sun Oct  4 22:44:46
2009
@@ -35,6 +35,7 @@
 import org.osgi.framework.Constants;
 import org.osgi.service.cm.Configuration;
 import org.osgi.service.cm.ConfigurationAdmin;
+import org.osgi.service.http.HttpService;
 import org.osgi.service.log.LogService;
 
 public class Activator extends TestActivatorBase {
@@ -66,6 +67,7 @@
         // service containing the actual integration test
         manager.add(createService()
             .setImplementation(LogIntegrationTest.class)
+            .add(createServiceDependency().setService(HttpService.class).setRequired(true))
             .add(createServiceDependency().setService(Log.class, "(&("+Constants.OBJECTCLASS+"="+Log.class.getName()+")(name=auditlog))").setRequired(true))
             .add(createServiceDependency().setService(LogStore.class, "(&("+Constants.OBJECTCLASS+"="+LogStore.class.getName()+")(name=auditlog))").setRequired(true))
             .add(createServiceDependency().setService(Runnable.class, "(&("+Constants.OBJECTCLASS+"="+Runnable.class.getName()+")(taskName=auditlog))").setRequired(true))



Mime
View raw message