Browse Source

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
master
Stefan Bodewig 21 years ago
parent
commit
39b58c5739
2 changed files with 8 additions and 0 deletions
  1. +4
    -0
      src/etc/testcases/taskdefs/defaultexcludes.xml
  2. +4
    -0
      src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java

+ 4
- 0
src/etc/testcases/taskdefs/defaultexcludes.xml View File

@@ -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>


+ 4
- 0
src/testcases/org/apache/tools/ant/taskdefs/DefaultExcludesTest.java View File

@@ -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 = {


Loading…
Cancel
Save