deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-835 updated ServiceUtilsTest
Date Fri, 20 Feb 2015 14:03:47 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 887d347c1 -> 95d6b5ced


DELTASPIKE-835 updated ServiceUtilsTest


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/95d6b5ce
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/95d6b5ce
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/95d6b5ce

Branch: refs/heads/master
Commit: 95d6b5ced7f84d5051ffb2ce2b7529c202364932
Parents: 887d347
Author: gpetracek <gpetracek@apache.org>
Authored: Fri Feb 20 14:59:15 2015 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Fri Feb 20 14:59:15 2015 +0100

----------------------------------------------------------------------
 .../deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/95d6b5ce/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java
index c67986e..bd2ed90 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/custom/spi/ServiceUtilsTest.java
@@ -27,12 +27,14 @@ import org.junit.Test;
 public abstract class ServiceUtilsTest
 {
     private static final String CONTAINER_OWB_1_1_x = "owb-1\\.1\\..*";
+    private static final String CONTAINER_OWB_1_2_0 = "owb-1\\.2\\.0";
 
     @Test
     public void lookupOfSpiImplementations()
     {
-        //exclude it due to an issue with the arquillian-adapter for owb 1.1.x
-        Assume.assumeTrue(!CdiContainerUnderTest.is(CONTAINER_OWB_1_1_x));
+        //exclude it due to an issue with the arquillian-adapter for owb 1.1.x and 1.2.0
+        Assume.assumeTrue(!CdiContainerUnderTest.is(CONTAINER_OWB_1_1_x) &&
+                !CdiContainerUnderTest.is(CONTAINER_OWB_1_2_0));
 
         Assert.assertTrue(ServiceUtils.loadServiceImplementations(MyInterface.class).iterator().hasNext());
 


Mime
View raw message