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

GUnzipTest

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

Fields Summary
private static final org.apache.tools.ant.util.FileUtils
FILE_UTILS
Utilities used for file operations
Constructors Summary
public GUnzipTest(String name)


       
        super(name);
    
Methods Summary
public voidsetUp()

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

        executeTarget("cleanup");
    
public voidtest1()

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

        expectBuildException("test2", "attribute src invalid");
    
public voidtestDocumentationClaimsOnCopy()

        testRealTest("testDocumentationClaimsOnCopy");
    
public voidtestRealTest()

        testRealTest("realTest");
    
private voidtestRealTest(java.lang.String target)

        executeTarget(target);
        assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
                                           project.resolveFile("asf-logo.gif")));
    
public voidtestRealTestWithResource()

        testRealTest("realTestWithResource");
    
public voidtestTestGzipTask()

        testRealTest("testGzipTask");