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

LengthTest

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

Fields Summary
Constructors Summary
public LengthTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

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

        executeTarget("cleanup");
    
public voidtestAll()

        executeTarget("testAll");
    
public voidtestAllCondition()

        executeTarget("testAllCondition");
    
public voidtestBoth()

        executeTarget("testBoth");
    
public voidtestBothCondition()

        executeTarget("testBothCondition");
    
public voidtestDupes()

        executeTarget("testDupes");
    
public voidtestDupesCondition()

        executeTarget("testDupesCondition");
    
public voidtestEach()

        executeTarget("testEach");
    
public voidtestEachCondition()

        executeTarget("testEachCondition");
    
public voidtestFile()

        executeTarget("testFile");
    
public voidtestFileCondition()

        executeTarget("testFileCondition");
    
public voidtestImmutable()

        executeTarget("testImmutable");
    
public voidtestNoTrimString()

        executeTarget("testNoTrimString");
    
public voidtestNoTrimStringCondition()

        executeTarget("testNoTrimStringCondition");
    
public voidtestString()

        executeTarget("testString");
    
public voidtestStringCondition()

        executeTarget("testStringCondition");
    
public voidtestStringFile()

        expectBuildExceptionContaining("testStringFile",
            "should fail", "incompatible");
    
public voidtestTrimFile()

        expectBuildExceptionContaining("testTrimFile",
            "should fail", "string length function only");
    
public voidtestTrimString()

        executeTarget("testTrimString");
    
public voidtestTrimStringCondition()

        executeTarget("testTrimStringCondition");
    
public voidtestZipFileSet()

        executeTarget("testZipFileSet");
    
public voidtestZipFileSetCondition()

        executeTarget("testZipFileSetCondition");