Repository: tapestry-5
Updated Branches:
  refs/heads/master 42e69d2b4 -> ac05d51c7


TAP5-1493: Trying to diagnose the test failure


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

Branch: refs/heads/master
Commit: ac05d51c7d90467dae7b5207b84d61e5b0542e4d
Parents: 42e69d2
Author: uklance <[email protected]>
Authored: Fri Jun 27 10:19:02 2014 +0100
Committer: uklance <[email protected]>
Committed: Fri Jun 27 10:19:02 2014 +0100

----------------------------------------------------------------------
 .../internal/services/PropertyConduitSourceImplTest.java      | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ac05d51c/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java
----------------------------------------------------------------------
diff --git 
a/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java
 
b/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java
index 7ab48ef..05067c7 100644
--- 
a/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java
+++ 
b/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java
@@ -893,12 +893,7 @@ public class PropertyConduitSourceImplTest extends 
InternalBaseTestCase
                                matches.add(method);
                        }
                }
-               if (matches.size() < 2) {
-                       throw e;
-               } else {
-                       String msg = String.format("%s (possible candidates 
%s)", e.getMessage(), matches); 
-                       throw new AssertionError(msg, e);
-               }
+               fail(String.format("%s (possible candidates %s)", 
e.getMessage(), matches)); 
         }
         
         // example from Robert

Reply via email to