You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by ld...@apache.org on 2012/02/20 08:38:47 UTC

svn commit: r1291138 - /karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java

Author: ldywicki
Date: Mon Feb 20 07:38:46 2012
New Revision: 1291138

URL: http://svn.apache.org/viewvc?rev=1291138&view=rev
Log:
Update integration tests.

Modified:
    karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java

Modified: karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java
URL: http://svn.apache.org/viewvc/karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java?rev=1291138&r1=1291137&r2=1291138&view=diff
==============================================================================
--- karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java (original)
+++ karaf/webconsole/trunk/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java Mon Feb 20 07:38:46 2012
@@ -21,8 +21,6 @@ import static org.openengsb.labs.paxexam
 import static org.ops4j.pax.exam.CoreOptions.maven;
 import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
 import java.net.URI;
 import java.util.ArrayList;
 import java.util.List;
@@ -39,6 +37,9 @@ import org.ops4j.pax.exam.Option;
 import org.ops4j.pax.exam.junit.Configuration;
 import org.ops4j.pax.exam.junit.JUnit4TestRunner;
 
+/**
+ * Features integration test.
+ */
 @RunWith(JUnit4TestRunner.class)
 public class FeaturesIntegrationTest {
 
@@ -54,7 +55,7 @@ public class FeaturesIntegrationTest {
         return new Option[] {
             karafDistributionConfiguration().frameworkUrl(
                 maven().groupId("org.apache.karaf").artifactId("apache-karaf").version(karafVersion).type("zip")
-            ),
+            ).karafVersion(karafVersion),
 
             // use system property to provide project version for tests
             systemProperty("webconsole-version").value(webconsoleVersion)
@@ -67,7 +68,7 @@ public class FeaturesIntegrationTest {
     }
 
     @Test
-    public void someTest() throws Exception {
+    public void shouldInstallAllFeatures() throws Exception {
         String url = maven("org.apache.karaf.webconsole", "apache-karaf-webconsole")
             .version(featuresVersion)
             .classifier("features")