This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag 
org.apache.sling.crankstart.launcher-1.0.0
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-crankstart-launcher.git

commit d9d1250bb059adba02ea68f28078163ec996522f
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed May 14 16:12:33 2014 +0000

    SLING-3528 - test the config command in CrankstartBootstrapTest
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/launcher@1594629
 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                                   |  4 ++--
 .../crankstart/launcher/CrankstartBootstrapTest.java      | 15 ++++++++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9e10b6b..1384639 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
                         <fileset>
                             <directory>${basedir}</directory>
                             <includes>
-                                <include>felix-cache</include>
+                                <include>sling-crankstart</include>
                             </includes>
                         </fileset>
                     </filesets>
@@ -100,7 +100,7 @@
         <dependency>
                    <groupId>org.apache.sling</groupId>
                    
<artifactId>org.apache.sling.crankstart.test.services</artifactId>
-                   <version>1.0.0-SNAPSHOT</version>
+                   <version>0.0.1-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
          <dependency>
diff --git 
a/src/test/java/org/apache/sling/crankstart/launcher/CrankstartBootstrapTest.java
 
b/src/test/java/org/apache/sling/crankstart/launcher/CrankstartBootstrapTest.java
index 64c9205..389f606 100644
--- 
a/src/test/java/org/apache/sling/crankstart/launcher/CrankstartBootstrapTest.java
+++ 
b/src/test/java/org/apache/sling/crankstart/launcher/CrankstartBootstrapTest.java
@@ -42,8 +42,16 @@ public class CrankstartBootstrapTest {
         + "osgi.property org.osgi.framework.storage " + getOsgiStoragePath() + 
"\n"
         + "start.framework\n"
         + "bundle mvn:org.apache.felix/org.apache.felix.http.jetty/2.2.0\n"
+        + "bundle mvn:org.apache.felix/org.apache.felix.eventadmin/1.3.2\n"
+        + "bundle mvn:org.apache.felix/org.apache.felix.scr/1.8.2\n"
+        + "bundle 
mvn:org.apache.sling/org.apache.sling.commons.osgi/2.2.1-SNAPSHOT\n"
         + "bundle mvn:org.apache.sling/org.apache.sling.commons.log/2.1.2\n"
+        + "bundle 
mvn:org.apache.sling/org.apache.sling.crankstart.test.services/0.0.1-SNAPSHOT\n"
+        + "bundle mvn:org.apache.felix/org.apache.felix.configadmin/1.6.0\n"
         + "start.all.bundles\n"
+        + "config 
org.apache.sling.crankstart.testservices.SingleConfigServlet\n"
+        + "  path=/single\n"
+        + "  message=doesn't matter\n"
         + "log felix http service should come up at http://localhost:"; + port 
+ "\n"
     ;
     
@@ -86,13 +94,18 @@ public class CrankstartBootstrapTest {
     
     @Test
     @Retry(timeoutMsec=10000, intervalMsec=250)
-    @Ignore("TODO: activate once config command is ready")
     public void testSingleConfigServlet() throws Exception {
         final GetMethod get = new GetMethod(baseUrl + "/single");
         client.executeMethod(get);
         assertEquals("Expecting success " + get.getURI(), 200, 
get.getStatusCode());
     }
     
+    @Test
+    @Retry(timeoutMsec=10000, intervalMsec=250)
+    @Ignore("TODO - activate once we support config factories")
+    public void testConfigFactoryServlet() throws Exception {
+    }
+    
     private static String getOsgiStoragePath() {
         final File tmpRoot = new File(System.getProperty("java.io.tmpdir"));
         final Random random = new Random();

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to