summaryrefslogtreecommitdiffstats
path: root/test/antunit/property/propertyselector.xml
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-03-07 21:25:39 +0000
committermattinger <[email protected]>2007-03-07 21:25:39 +0000
commit1bce0a66a11f4cbf8d6bcc46fbd9a36cb7ebe64a (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /test/antunit/property/propertyselector.xml
parent391a3b1becbcb9b778b8f86ff11793123ec04f78 (diff)
Removing old stuff
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/branches/ant-1.7.0-upgrade@99 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'test/antunit/property/propertyselector.xml')
-rw-r--r--test/antunit/property/propertyselector.xml44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/antunit/property/propertyselector.xml b/test/antunit/property/propertyselector.xml
deleted file mode 100644
index 016f159..0000000
--- a/test/antunit/property/propertyselector.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<project name="propertycopy"
- xmlns:au="antlib:org.apache.ant.antunit"
- xmlns:antcontrib="antlib:net.sf.antcontrib">
- <import file="../common.xml" />
-
- <property name="module.Module1.id" value="1" />
- <property name="module.Module1.name" value="Module 1" />
- <property name="module.Module2.id" value="2" />
- <property name="module.Module2.name" value="Module 2" />
- <property name="module.Module2.foo.id" value="3" />
- <property name="module.Module2.foo.name" value="Module 3" />
-
- <target name="testGrouping0">
- <antcontrib:propertyselector property="module.list"
- match="module\.([^\.]*)\.id"
- delimiter=","
- casesensitive="false" />
-
- <au:assertTrue>
- <and>
- <contains string="${module.list}" substring="module.Module1.id" />
- <contains string="${module.list}" substring="module.Module2.id" />
- <not><contains string="${module.list}" substring="module.Module3.foo.id" /></not>
- </and>
- </au:assertTrue>
- </target>
-
- <target name="testGrouping1">
- <antcontrib:propertyselector property="module.list"
- match="module\.([^\.]*)\.id"
- select="\1"
- delimiter=","
- casesensitive="false" />
- <au:assertTrue>
- <and>
- <not><contains string="${module.list}" substring="module." /></not>
- <not><contains string="${module.list}" substring=".id" /></not>
- <contains string="${module.list}" substring="Module1" />
- <contains string="${module.list}" substring="Module2" />
- <not><contains string="${module.list}" substring="Module3" /></not>
- </and>
- </au:assertTrue>
- </target>
-</project> \ No newline at end of file