FileDocCategorySizeDatePackage
AbstractCvsTaskTest.javaAPI DocApache Ant 1.701982Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs

AbstractCvsTaskTest

public class AbstractCvsTaskTest extends org.apache.tools.ant.BuildFileTest

Fields Summary
Constructors Summary
public AbstractCvsTaskTest()

        this( "AbstractCvsTaskTest" );
    
public AbstractCvsTaskTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/abstractcvstask.xml");
    
public voidtearDown()

        executeTarget("cleanup");
    
public voidtestAbstractCvsTask()

        executeTarget( "all" );
    
public voidtestPackageAttribute()

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

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