Browse Source

Throw some base build to use as testcases.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270627 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
68aafc9b3d
3 changed files with 102 additions and 0 deletions
  1. +34
    -0
      proposal/sandbox/clearcase/src/etc/testcases/cc-checkin.xml
  2. +34
    -0
      proposal/sandbox/clearcase/src/etc/testcases/cc-checkout.xml
  3. +34
    -0
      proposal/sandbox/clearcase/src/etc/testcases/cc-mkelem.xml

+ 34
- 0
proposal/sandbox/clearcase/src/etc/testcases/cc-checkin.xml View File

@@ -0,0 +1,34 @@
<project name="cc-checkin" basedir="." default="noop"/>
<!-- default value for test.dir, override to specify a cc location -->
<property name="test.dir" location="."/>
<target name="noop"/>
<target name="test-allcheckedout" description="should co all ci files">
<cc-checkin viewpath="${test.dir}" comment="test-allcheckedout">
<include name="**/*.cctest.ci"/>
</cc-checkin>
</target>

<target name="test-allcheckedin" description="should ci nothing">
<cc-checkin viewpath="${test.dir}" comment="test-allcheckedin">
<include name="**/*.cctest.co"/>
</cc-checkin>
</target>
<target name="test-allprivate" description="should ci nothing">
<cc-checkin viewpath="${test.dir}" comment="test-allprivate">
<include name="**/*.cctest.private"/>
</cc-checkin>
</target>
<target name="test-mix" description="should ci only co files">
<cc-checkin viewpath="${test.dir}">
<include name="**/*.cctest.private"/>
<include name="**/*.cctest.ci"/>
<include name="**/*.cctest.co"/>
</cc-checkin>
</target>
</project>

+ 34
- 0
proposal/sandbox/clearcase/src/etc/testcases/cc-checkout.xml View File

@@ -0,0 +1,34 @@
<project name="cc-checkout" basedir="." default="noop"/>
<!-- default value for test.dir, override to specify a cc location -->
<property name="test.dir" location="."/>
<target name="noop"/>
<target name="test-allcheckedout" description="should co nothing">
<cc-checkout viewpath="${test.dir}" comment="test-allcheckedout">
<include name="**/*.cctest.ci"/>
</cc-checkout>
</target>

<target name="test-allcheckedin" description="should co all files">
<cc-checkout viewpath="${test.dir}" comment="test-allcheckedin">
<include name="**/*.cctest.co"/>
</cc-checkout>
</target>
<target name="test-allprivate" description="should co nothing">
<cc-checkout viewpath="${test.dir}" comment="test-allprivate">
<include name="**/*.cctest.private"/>
</cc-checkout>
</target>
<target name="test-mix" description="should co only ci files">
<cc-checkout viewpath="${test.dir}">
<include name="**/*.cctest.private"/>
<include name="**/*.cctest.ci"/>
<include name="**/*.cctest.co"/>
</cc-checkout>
</target>
</project>

+ 34
- 0
proposal/sandbox/clearcase/src/etc/testcases/cc-mkelem.xml View File

@@ -0,0 +1,34 @@
<project name="cc-mkelem" basedir="." default="noop"/>
<!-- default value for test.dir, override to specify a cc location -->
<property name="test.dir" location="."/>
<target name="noop"/>
<target name="test-allcheckedout" description="should mkelem nothing">
<cc-mkelem viewpath="${test.dir}" comment="test-allcheckedout">
<include name="**/*.cctest.ci"/>
</cc-mkelem>
</target>

<target name="test-allcheckedin" description="should mkelem nothing">
<cc-mkelem viewpath="${test.dir}" comment="test-allcheckedin">
<include name="**/*.cctest.co"/>
</cc-mkelem>
</target>
<target name="test-allprivate" description="should mkelem all files">
<cc-mkelem viewpath="${test.dir}" comment="test-allprivate">
<include name="**/*.cctest.private"/>
</cc-mkelem>
</target>
<target name="test-mix" description="should mkelem only private files">
<cc-mkelem viewpath="${test.dir}">
<include name="**/*.cctest.private"/>
<include name="**/*.cctest.ci"/>
<include name="**/*.cctest.co"/>
</cc-mkelem>
</target>
</project>

Loading…
Cancel
Save