deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject git commit: DELTASPIKE-399 fixed test
Date Sun, 29 Dec 2013 09:52:33 GMT
Updated Branches:
  refs/heads/master 585339f89 -> ed5e33687


DELTASPIKE-399 fixed test


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

Branch: refs/heads/master
Commit: ed5e336872efe638198ccabc7a4e054f7d24df20
Parents: 585339f
Author: gpetracek <gpetracek@apache.org>
Authored: Sun Dec 29 10:45:48 2013 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Sun Dec 29 10:45:48 2013 +0100

----------------------------------------------------------------------
 .../test/core/impl/resourceloader/ClasspathResourceTest.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/ed5e3368/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
index 694bc47..3c91ad0 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
@@ -101,8 +101,7 @@ public class ClasspathResourceTest
         Assume.assumeTrue(!isOwbForCdi10());
         //note, we only test this on classpath, since File impl is always getting 1.
         List<InputStream> streams = testResourceHolder.getInputStreams();
-        Assert.assertEquals(4,streams.size());
-
+        Assert.assertTrue(streams.size() > 1); //the count is different on as7 compared
to the standalone setup
     }
 
     private static boolean isOwbForCdi10()


Mime
View raw message