git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270627 13f79535-47bb-0310-9956-ffa450edef68master
@@ -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> |
@@ -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> |
@@ -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> |