FileDocCategorySizeDatePackage
CaseTest.javaAPI DocApache Ant 1.701672Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant

CaseTest

public class CaseTest extends org.apache.tools.ant.BuildFileTest
Simple tests of build file processing

Fields Summary
Constructors Summary
public CaseTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/core/case.xml");
    
public voidtestCaseSensitivity()
Test whether the build file treats nested elements without regard to case. This should not cause an exception.

        executeTarget("case-sensitivity");
    
public voidtestTaskCase()
Test whether the build file uses case when determining task names.

        expectBuildExceptionContaining("taskcase",
            "Task names are case sensitive",
            "Problem: failed to create task or type ecHO");