FileDocCategorySizeDatePackage
ImmutableTest.javaAPI DocApache Ant 1.702504Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant

ImmutableTest

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

Fields Summary
Constructors Summary
public ImmutableTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/core/immutable.xml");
    
public voidtest1()

        executeTarget("test1");
        assertEquals("override", project.getProperty("test"));
    
public voidtest2()

        executeTarget("test2");
        assertNotNull(project.getProperty("DSTAMP"));
        assertNotNull(project.getProperty("start.DSTAMP"));
    
public voidtest3()

        executeTarget("test3");
        assertEquals("original", project.getProperty("DSTAMP"));
    
public voidtest4()

        executeTarget("test4");
        assertEquals("original", project.getProperty("test"));
    
public voidtest5()

        executeTarget("test5");
        assertEquals("original", project.getProperty("test"));
    
public voidtest6()

        executeTarget("test6");
        assertEquals("original", project.getProperty("test1"));
        assertEquals("original", project.getProperty("test2"));
    
public voidtest7()

        executeTarget("test7");
        assertEquals("original", project.getProperty("test"));