Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 73129 invoked from network); 5 Jul 2005 18:55:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2005 18:55:58 -0000 Received: (qmail 24772 invoked by uid 500); 5 Jul 2005 18:55:55 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24679 invoked by uid 500); 5 Jul 2005 18:55:54 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 24660 invoked by uid 500); 5 Jul 2005 18:55:53 -0000 Received: (qmail 24653 invoked by uid 99); 5 Jul 2005 18:55:53 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 05 Jul 2005 11:55:53 -0700 Received: (qmail 73047 invoked by uid 65534); 5 Jul 2005 18:55:50 -0000 Message-ID: <20050705185550.73042.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r209304 - in /ant/sandbox/antlibs/antunit/trunk: docs/assertions.html src/etc/testcases/assert.xml src/testcases/org/apache/ant/antunit/AssertTest.java Date: Tue, 05 Jul 2005 18:55:49 -0000 To: ant-cvs@apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bodewig Date: Tue Jul 5 11:55:47 2005 New Revision: 209304 URL: http://svn.apache.org/viewcvs?rev=209304&view=rev Log: No classloader issue, just me being unable to read 'name of the data-type'. Modified: ant/sandbox/antlibs/antunit/trunk/docs/assertions.html ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/assert.xml ant/sandbox/antlibs/antunit/trunk/src/testcases/org/apache/ant/antunit/AssertTest.java Modified: ant/sandbox/antlibs/antunit/trunk/docs/assertions.html URL: http://svn.apache.org/viewcvs/ant/sandbox/antlibs/antunit/trunk/docs/assertions.html?rev=209304&r1=209303&r2=209304&view=diff ============================================================================== --- ant/sandbox/antlibs/antunit/trunk/docs/assertions.html (original) +++ ant/sandbox/antlibs/antunit/trunk/docs/assertions.html Tue Jul 5 11:55:47 2005 @@ -440,11 +440,11 @@

Examples

-

Make the build fail if Ant's current Executor is not of type - org.apache.tools.ant.helper.DefaultExecutor:

+

Make the build fail if the reference classpath has not + been set or doesn't point to a <path>.

-      <assertReferenceIsType name="ant.executor" type="org.apache.tools.ant.helper.DefaultExecutor"/>
+      <assertReferenceIsType refid="classpath" type="path"/>
     

assertLogContains

Modified: ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/assert.xml URL: http://svn.apache.org/viewcvs/ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/assert.xml?rev=209304&r1=209303&r2=209304&view=diff ============================================================================== --- ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/assert.xml (original) +++ ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/assert.xml Tue Jul 5 11:55:47 2005 @@ -167,15 +167,15 @@ - + - + - + Modified: ant/sandbox/antlibs/antunit/trunk/src/testcases/org/apache/ant/antunit/AssertTest.java URL: http://svn.apache.org/viewcvs/ant/sandbox/antlibs/antunit/trunk/src/testcases/org/apache/ant/antunit/AssertTest.java?rev=209304&r1=209303&r2=209304&view=diff ============================================================================== --- ant/sandbox/antlibs/antunit/trunk/src/testcases/org/apache/ant/antunit/AssertTest.java (original) +++ ant/sandbox/antlibs/antunit/trunk/src/testcases/org/apache/ant/antunit/AssertTest.java Tue Jul 5 11:55:47 2005 @@ -71,8 +71,7 @@ public void testReferenceSetPass() { testPass("assertReferenceSetPass"); } - // fails, probably due to classloader issues - public void NotestReferenceIsTypePass() { + public void testReferenceIsTypePass() { testPass("assertReferenceIsTypePass"); } @@ -133,7 +132,7 @@ } public void testReferenceIsTypeFailWrongType() { testFail("assertReferenceIsTypeFailWrongType", - "Expected reference 'foo5' to be a 'org.apache.tools.ant.types.FileSet'"); + "Expected reference 'foo5' to be a 'fileset'"); } private void testPass(String target) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org