FileDocCategorySizeDatePackage
BUnzip2Test.javaAPI DocApache Ant 1.702101Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs

BUnzip2Test

public class BUnzip2Test 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 BUnzip2Test(String name)


       
        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/bunzip2.xml");
        executeTarget("prepare");
    
public voidtearDown()

        executeTarget("cleanup");
    
public voidtestDocumentationClaimsOnCopy()

        testRealTest("testDocumentationClaimsOnCopy");
    
public voidtestRealTest()

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

        executeTarget(target);
        assertTrue("File content mismatch after bunzip2",
            FILE_UTILS.contentEquals(project.resolveFile("expected/asf-logo-huge.tar"),
                                    project.resolveFile("asf-logo-huge.tar")));
    
public voidtestRealTestWithResource()

        testRealTest("realTestWithResource");