You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/06/01 17:44:58 UTC

svn commit: r780696 - /maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java

Author: bentmann
Date: Mon Jun  1 15:44:58 2009
New Revision: 780696

URL: http://svn.apache.org/viewvc?rev=780696&view=rev
Log:
o Removed check for specific exception, failure is all that matters

Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java?rev=780696&r1=780695&r2=780696&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java Mon Jun  1 15:44:58 2009
@@ -63,14 +63,13 @@
             {
                 verifier.executeGoal( "validate" );
                 verifier.verifyErrorFreeLog();
+                fail( "Build should have failed due to bad relativePath" );
             }
             catch ( VerificationException e )
             {
-                verifier.verifyTextInLog( "java.io.IOException" );
+                // expected
                 verifier.resetStreams();
-                return;
             }
-            throw new VerificationException( "Build should have failed with java.io.IOException" );           
         }
     }