FileDocCategorySizeDatePackage
GetTest.javaAPI DocApache Ant 1.701939Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs

GetTest

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

Fields Summary
Constructors Summary
public GetTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

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

        executeTarget("cleanup");
    
public voidtest1()

        expectBuildException("test1", "required argument missing");
    
public voidtest2()

        expectBuildException("test2", "required argument missing");
    
public voidtest3()

        expectBuildException("test3", "required argument missing");
    
public voidtest4()

        expectBuildException("test4", "src invalid");
    
public voidtest5()

        expectBuildException("test5", "dest invalid (or no http-server on local machine)");
    
public voidtest6()

        executeTarget("test6");
    
public voidtestUseTimestamp()

        executeTarget("testUseTimestamp");
    
public voidtestUseTomorrow()

        executeTarget("testUseTomorrow");