maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r780696 - /maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2196ParentResolutionTest.java
Date Mon, 01 Jun 2009 15:44:58 GMT
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"
);           
         }
     }
 



Mime
View raw message