FileDocCategorySizeDatePackage
DescriptionTest.javaAPI DocApache Ant 1.702018Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.types

DescriptionTest

public class DescriptionTest extends org.apache.tools.ant.BuildFileTest
FilterSet testing

Fields Summary
Constructors Summary
public DescriptionTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

    
public voidtearDown()

    
public voidtest1()

        configureProject("src/etc/testcases/types/description1.xml");
        assertEquals("Single description failed", "Test Project Description", project.getDescription());
    
public voidtest2()

        configureProject("src/etc/testcases/types/description2.xml");
        assertEquals("Multi line description failed", "Multi Line\nProject Description", project.getDescription());
    
public voidtest3()

        configureProject("src/etc/testcases/types/description3.xml");
        assertEquals("Multi instance description failed", "Multi Instance Project Description", project.getDescription());
    
public voidtest4()

        configureProject("src/etc/testcases/types/description4.xml");
        assertEquals("Multi instance nested description failed", "Multi Instance Nested Project Description", project.getDescription());