Update integration tests.
git-svn-id: https://svn.apache.org/repos/asf/karaf/webconsole/trunk@1291138 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java b/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java
index 8a3cd41..1f0212a 100644
--- a/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java
+++ b/itest/src/test/java/org/apache/karaf/webconsole/itest/FeaturesIntegrationTest.java
@@ -21,8 +21,6 @@
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.junit.Configuration;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
+/**
+ * Features integration test.
+ */
@RunWith(JUnit4TestRunner.class)
public class FeaturesIntegrationTest {
@@ -54,7 +55,7 @@
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 @@
}
@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")