From f9f5baaf283187063785e9844678c9f794c7ace2 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Mon, 28 Jan 2002 00:50:05 +0000 Subject: [PATCH] No need to have a test task now that we have junit tests git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270977 13f79535-47bb-0310-9956-ffa450edef68 --- .../antlib/selftest/TypedAdderTest.java | 32 ------------------- .../src/manifest/selftest-ant-descriptor.xml | 1 - 2 files changed, 33 deletions(-) delete mode 100644 proposal/myrmidon/src/java/org/apache/antlib/selftest/TypedAdderTest.java diff --git a/proposal/myrmidon/src/java/org/apache/antlib/selftest/TypedAdderTest.java b/proposal/myrmidon/src/java/org/apache/antlib/selftest/TypedAdderTest.java deleted file mode 100644 index abb4d8e8d..000000000 --- a/proposal/myrmidon/src/java/org/apache/antlib/selftest/TypedAdderTest.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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 - { - } -} diff --git a/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml b/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml index 2d058fa63..95d22d1a7 100644 --- a/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml +++ b/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml @@ -7,6 +7,5 @@ - \ No newline at end of file