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

CallTargetTest

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

Fields Summary
Constructors Summary
public CallTargetTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

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

        project.executeTarget("cleanup");
    
public voidtestBlankTarget()

        expectBuildException("blank-target", "target name must not be empty");
    
public voidtestInheritFilterset()

        project.executeTarget("testinheritreffilterset");
    
public voidtestInheritRefFileSet()

        expectLogContaining("testinheritreffileset", "calltarget.xml");
    
public voidtestMultiCall()

        Vector v = new Vector();
        v.add("call-multi");
        v.add("call-multi");
        project.executeTargets(v);
        assertLogContaining("multi is SETmulti is SET");
    
public voidtestMultipleTargets()

        expectLog("multiple-targets", "tadadctbdbtc");
    
public voidtestMultipleTargets2()

        expectLog("multiple-targets-2", "dadctb");