servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r890112 - in /servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4: AbstractFeatureTest.java ExecTest.java
Date Sun, 13 Dec 2009 20:16:20 GMT
Author: jbonofre
Date: Sun Dec 13 20:16:20 2009
New Revision: 890112

URL: http://svn.apache.org/viewvc?rev=890112&view=rev
Log:
Resume SMX4 unit test.

Removed:
    servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/AbstractFeatureTest.java
Modified:
    servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java

Modified: servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java?rev=890112&r1=890111&r2=890112&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java
(original)
+++ servicemix/components/engines/servicemix-exec/trunk/src/test/java/org/apache/servicemix/exec/tests/smx4/ExecTest.java
Sun Dec 13 20:16:20 2009
@@ -16,6 +16,11 @@
  */
 package org.apache.servicemix.exec.tests.smx4;
 
+import static org.ops4j.pax.exam.CoreOptions.felix;
+import static org.ops4j.pax.exam.CoreOptions.options;
+import static org.ops4j.pax.exam.container.def.PaxRunnerOptions.profile;
+import static org.ops4j.pax.exam.container.def.PaxRunnerOptions.scanFeatures;
+
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Option;
@@ -24,13 +29,13 @@
 
 /**
  * <p>
- * Test the Exec component deployment on NMR.
+ * Test the Exec component deployment into the NMR.
  * </p>
  * 
  * @author jbonofre
  */
 @RunWith(JUnit4TestRunner.class)
-public class ExecTest extends AbstractFeatureTest {
+public class ExecTest {
 
     @Test
     public void test() throws Exception {
@@ -38,8 +43,14 @@
     }
 
     @Configuration
-    public static Option[] configure() {
-        return configure("Exec");
+    public static Option[] configuration() {
+        Option[] options = options(
+                profile("log").version("1.4"),
+                org.ops4j.pax.exam.CoreOptions.systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("DEBUG"),
+                scanFeatures("mvn:org.apache.felix.karaf/apache-felix-karaf/1.2.0/xml/features",
"spring-dm/1.2.0"),
+                scanFeatures("mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0/xml/features",
"jbi/1.0.0"),
+                felix());
+        return options;
     }
 
 }



Mime
View raw message