Return-Path: Delivered-To: apmail-continuum-commits-archive@www.apache.org Received: (qmail 24316 invoked from network); 30 Apr 2008 22:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 22:45:18 -0000 Received: (qmail 56075 invoked by uid 500); 30 Apr 2008 22:45:20 -0000 Delivered-To: apmail-continuum-commits-archive@continuum.apache.org Received: (qmail 56065 invoked by uid 500); 30 Apr 2008 22:45:20 -0000 Mailing-List: contact commits-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list commits@continuum.apache.org Received: (qmail 56054 invoked by uid 99); 30 Apr 2008 22:45:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 15:45:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 22:44:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A846823889BA; Wed, 30 Apr 2008 15:44:55 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r652403 - /continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java Date: Wed, 30 Apr 2008 22:44:55 -0000 To: commits@continuum.apache.org From: carlos@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080430224455.A846823889BA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: carlos Date: Wed Apr 30 15:44:55 2008 New Revision: 652403 URL: http://svn.apache.org/viewvc?rev=652403&view=rev Log: Improve test failure message Modified: continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java Modified: continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java?rev=652403&r1=652402&r2=652403&view=diff ============================================================================== --- continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java (original) +++ continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataTest.java Wed Apr 30 15:44:55 2008 @@ -102,11 +102,8 @@ ContinuumProjectBuildingResult result = (ContinuumProjectBuildingResult) context .get( CreateProjectsFromMetadataAction.KEY_PROJECT_BUILDING_RESULT ); - if ( result.hasErrors() ) - { - System.out.println( "Errors=" + result.getErrorsAsString() ); - } - assertFalse( "Should not have errors", result.hasErrors() ); + assertFalse( "Should not have errors but had " + result.getErrorsAsString() + + " (this test requires internet access)", result.hasErrors() ); } public void testExecuteWithRecursiveMode() @@ -123,11 +120,8 @@ ContinuumProjectBuildingResult result = (ContinuumProjectBuildingResult) context .get( CreateProjectsFromMetadataAction.KEY_PROJECT_BUILDING_RESULT ); - if ( result.hasErrors() ) - { - System.out.println( "Errors=" + result.getErrorsAsString() ); - } - assertFalse( "Should not have errors", result.hasErrors() ); + assertFalse( "Should not have errors but had " + result.getErrorsAsString() + + " (this test requires internet access)", result.hasErrors() ); } }