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

TypeAdapterTest

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

Fields Summary
Constructors Summary
public TypeAdapterTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/typeadapter.xml");
    
public voidtestDelay()

        expectLogContaining("delay", "MyTask called");
    
public voidtestOnErrorIgnore()

        expectLog("onerror.ignore","");
    
public voidtestOnErrorReport()

        expectLogContaining("onerror.report",
                            "MyTaskNotPresent cannot be found");
    
public voidtestRunAdapter()

        expectLogContaining("runadapter", "MyRunnable called");
    
public voidtestRunAdapterError()

        expectBuildExceptionContaining(
            "runadaptererror", "xx", "No public run() method in");
    
public voidtestTaskAdapter()

        expectLogContaining("taskadapter", "MyExec called");