From 39b58c57392b96f503e573c69f20e2e0b61fb8b0 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 13 May 2004 07:01:07 +0000 Subject: [PATCH] test1 failed unless it was the first test to run. CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276449 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/testcases/taskdefs/defaultexcludes.xml | 4 ++++ .../org/apache/tools/ant/taskdefs/DefaultExcludesTest.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/etc/testcases/taskdefs/defaultexcludes.xml b/src/etc/testcases/taskdefs/defaultexcludes.xml index 6813d71e9..ce4980abb 100644 --- a/src/etc/testcases/taskdefs/defaultexcludes.xml +++ b/src/etc/testcases/taskdefs/defaultexcludes.xml @@ -2,6 +2,10 @@ + + + + diff --git a/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java b/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java index d5085788f..aaeaef2c3 100644 --- a/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java +++ b/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java @@ -32,6 +32,10 @@ public class DefaultExcludesTest extends BuildFileTest { configureProject("src/etc/testcases/taskdefs/defaultexcludes.xml"); } + public void tearDown() { + project.executeTarget("cleanup"); + } + // Output the default excludes public void test1() { String[] expected = {