Browse Source

add another test

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536878 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 18 years ago
parent
commit
98b17accfd
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      src/tests/antunit/types/resources/concat-resource-test.xml

+ 16
- 0
src/tests/antunit/types/resources/concat-resource-test.xml View File

@@ -87,4 +87,20 @@ baz
</au:assertTrue> </au:assertTrue>
</target> </target>


<target name="testReference">
<resources id="concat">
<concat>foo</concat>
</resources>
<au:assertTrue>
<and>
<resourcecount count="1" refid="concat" />
<resourcesmatch>
<string>foo</string>
<resources refid="concat" />
<!-- purposely hit it twice to see what happens -->
<resources refid="concat" />
</resourcesmatch>
</and>
</au:assertTrue>
</target>
</project> </project>

Loading…
Cancel
Save