donaldp 02/01/27 15:42:15
Modified: proposal/myrmidon/src/manifest selftest-ant-descriptor.xml
proposal/myrmidon/src/make primitive-tests.ant
Added: proposal/myrmidon/src/java/org/apache/antlib/selftest
TypedAdderTest.java
Log:
Added a simple class to help test the typed adder construct
Revision Changes Path
1.1 jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/selftest/TypedAdderTest.java
Index: TypedAdderTest.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.antlib.selftest;
import org.apache.myrmidon.api.AbstractTask;
import org.apache.myrmidon.api.TaskException;
/**
* This is to test whether adders with just a type (and no name) work.
*
* @author Peter Donald
* @ant:task name="typed-adder-test"
*/
public class TypedAdderTest
extends AbstractTask
{
public void add( final Integer value )
{
//Should fail as value is not an interface
getLogger().warn( "Integer add: " + value );
}
public void execute()
throws TaskException
{
}
}
1.6 +1 -0 jakarta-ant/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml
Index: selftest-ant-descriptor.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- selftest-ant-descriptor.xml 17 Dec 2001 09:22:16 -0000 1.5
+++ selftest-ant-descriptor.xml 27 Jan 2002 23:42:15 -0000 1.6
@@ -7,5 +7,6 @@
+
1.8 +5 -0 jakarta-ant/proposal/myrmidon/src/make/primitive-tests.ant
Index: primitive-tests.ant
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/primitive-tests.ant,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- primitive-tests.ant 15 Jan 2002 09:13:13 -0000 1.7
+++ primitive-tests.ant 27 Jan 2002 23:42:15 -0000 1.8
@@ -75,4 +75,9 @@
+
+
+
+
+
--
To unsubscribe, e-mail:
For additional commands, e-mail: