Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11587 invoked from network); 21 Nov 2009 08:44:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Nov 2009 08:44:46 -0000 Received: (qmail 18776 invoked by uid 500); 21 Nov 2009 08:44:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18701 invoked by uid 500); 21 Nov 2009 08:44:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 18691 invoked by uid 99); 21 Nov 2009 08:44:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Nov 2009 08:44:44 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bencuthbert@me.com designates 17.148.16.105 as permitted sender) Received: from [17.148.16.105] (HELO asmtpout030.mac.com) (17.148.16.105) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Nov 2009 08:44:34 +0000 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_RamjYTALiMx/QjRxEwcTZQ)" Received: from [192.168.1.2] (cpc4-acto5-0-0-cust751.4-2.cable.virginmedia.com [81.99.122.240]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KTG0016AAX88S40@asmtp030.mac.com> for user@ant.apache.org; Sat, 21 Nov 2009 00:44:00 -0800 (PST) From: Ben Cuthbert Subject: Build fail Date: Sat, 21 Nov 2009 08:43:56 +0000 Message-id: <70562B1D-911C-4C27-810D-0B9F5D462D9D@me.com> To: Ant Users List X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_RamjYTALiMx/QjRxEwcTZQ) Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-transfer-encoding: 7BIT When one of my unit tests fail the build is still successful. But in my ant config I have the following test: [echo] running unit tests for project [junit] Testsuite: com.test.NetworkServerInitialisationUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.271 sec [junit] [junit] Testcase: TestTheServerIsNotConnected (com.test.NetworkServerInitialisationUnitTestCase): Caused an ERROR [junit] [junit] java.lang.AssertionError: [junit] at org.junit.Assert.fail(Assert.java:92) [junit] at org.junit.Assert.assertTrue(Assert.java:44) [junit] at org.junit.Assert.assertFalse(Assert.java:69) [junit] at org.junit.Assert.assertFalse(Assert.java:80) [junit] at com.test.NetworkServerInitialisationUnitTestCase.TestTheServerIsNotConnected (NetworkServerInitialisationUnitTestCase.java:77) default: BUILD SUCCESSFUL Total time: 6 seconds --Boundary_(ID_RamjYTALiMx/QjRxEwcTZQ)--