Browse Source

CVS module move - Gump is going to nag us once 8-)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274049 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
87728e14bd
2 changed files with 7 additions and 7 deletions
  1. +3
    -3
      src/etc/testcases/taskdefs/abstractcvstask.xml
  2. +4
    -4
      src/testcases/org/apache/tools/ant/taskdefs/AbstractCvsTaskTest.java

+ 3
- 3
src/etc/testcases/taskdefs/abstractcvstask.xml View File

@@ -26,7 +26,7 @@
<target name="package-attribute"> <target name="package-attribute">
<mkdir dir="tmpdir" /> <mkdir dir="tmpdir" />
<cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" <cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
package="jakarta-ant/build.xml"
package="ant/build.xml"
dest="tmpdir" dest="tmpdir"
quiet="true" /> quiet="true" />
</target> </target>
@@ -34,12 +34,12 @@
<target name="tag-attribute"> <target name="tag-attribute">
<mkdir dir="tmpdir" /> <mkdir dir="tmpdir" />
<cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" <cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
package="jakarta-ant/build.xml"
package="ant/build.xml"
dest="tmpdir" dest="tmpdir"
quiet="true" quiet="true"
tag="ANT_141" /> tag="ANT_141" />
<cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" <cvs cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
package="jakarta-ant/build.xml"
package="ant/build.xml"
dest="tmpdir" dest="tmpdir"
command="status"/> command="status"/>
</target> </target>


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

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -85,14 +85,14 @@ public class AbstractCvsTaskTest extends BuildFileTest {
} }


public void testPackageAttribute() { public void testPackageAttribute() {
File f = getProject().resolveFile("tmpdir/jakarta-ant/build.xml");
File f = getProject().resolveFile("tmpdir/ant/build.xml");
assertTrue("starting empty", !f.exists()); assertTrue("starting empty", !f.exists());
expectLogContaining("package-attribute", "U jakarta-ant/build.xml");
expectLogContaining("package-attribute", "U ant/build.xml");
assertTrue("now it is there", f.exists()); assertTrue("now it is there", f.exists());
} }


public void testTagAttribute() { public void testTagAttribute() {
File f = getProject().resolveFile("tmpdir/jakarta-ant/build.xml");
File f = getProject().resolveFile("tmpdir/ant/build.xml");
assertTrue("starting empty", !f.exists()); assertTrue("starting empty", !f.exists());
expectLogContaining("tag-attribute", "ANT_141 (revision: 1.175.2.13)"); expectLogContaining("tag-attribute", "ANT_141 (revision: 1.175.2.13)");
assertTrue("now it is there", f.exists()); assertTrue("now it is there", f.exists());


Loading…
Cancel
Save