polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [4/6] zest-qi4j git commit: There is an assumeNoException(), which should be used.
Date Wed, 17 Jun 2015 03:10:10 GMT
There is an assumeNoException(), which should be used.


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

Branch: refs/heads/develop
Commit: ed98b17e27e9f72024e7120870137af1e0ed8eaf
Parents: b49e394
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Wed Jun 17 10:37:48 2015 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Wed Jun 17 10:37:48 2015 +0800

----------------------------------------------------------------------
 core/testsupport/src/main/java/org/qi4j/test/util/Assume.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/ed98b17e/core/testsupport/src/main/java/org/qi4j/test/util/Assume.java
----------------------------------------------------------------------
diff --git a/core/testsupport/src/main/java/org/qi4j/test/util/Assume.java b/core/testsupport/src/main/java/org/qi4j/test/util/Assume.java
index f8b23e4..f60b0d3 100644
--- a/core/testsupport/src/main/java/org/qi4j/test/util/Assume.java
+++ b/core/testsupport/src/main/java/org/qi4j/test/util/Assume.java
@@ -73,11 +73,12 @@ public class Assume
         }
         catch( SocketException ex )
         {
-            assumeFalse( true );
+            assumeNoException( ex );
         }
     }
 
     /**
+     * // TODO: qi4j.org will soon go down.
      * If called on a runtime with no access to qi4j.org on port 80, the test will halt and
be ignored.
      */
     public static void assumeConnectivity()
@@ -99,7 +100,7 @@ public class Assume
         }
         catch( IOException ex )
         {
-            assumeFalse( true );
+            assumeNoException( ex );
         }
     }
 


Mime
View raw message