bodewig 2004/05/13 00:01:08 Modified: src/etc/testcases/taskdefs defaultexcludes.xml src/testcases/org/apache/tools/ant/taskdefs DefaultExcludesTest.java Log: 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. Revision Changes Path 1.3 +4 -0 ant/src/etc/testcases/taskdefs/defaultexcludes.xml Index: defaultexcludes.xml =================================================================== RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/defaultexcludes.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- defaultexcludes.xml 21 Jul 2003 10:52:19 -0000 1.2 +++ defaultexcludes.xml 13 May 2004 07:01:07 -0000 1.3 @@ -2,6 +2,10 @@ <project name="echo-test" basedir="." default="test1"> + <target name="cleanup"> + <defaultexcludes default="true"/> + </target> + <target name="test1"> <defaultexcludes echo="true"/> </target> 1.8 +4 -0 ant/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java Index: DefaultExcludesTest.java =================================================================== RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- DefaultExcludesTest.java 9 Mar 2004 16:48:57 -0000 1.7 +++ DefaultExcludesTest.java 13 May 2004 07:01:07 -0000 1.8 @@ -32,6 +32,10 @@ configureProject("src/etc/testcases/taskdefs/defaultexcludes.xml"); } + public void tearDown() { + project.executeTarget("cleanup"); + } + // Output the default excludes public void test1() { String[] expected = {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]