FileDocCategorySizeDatePackage
ScriptConditionTest.javaAPI DocApache Ant 1.701908Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.types.optional

ScriptConditionTest

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

Fields Summary
Constructors Summary
public ScriptConditionTest(String name)
Constructor for the BuildFileTest object

param
name string to pass up to TestCase constructor

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/types/scriptcondition.xml");
    
public voidtestClearByDefault()

        executeTarget("testClearByDefault");
    
public voidtestClearWorks()

        executeTarget("testClearWorks");
    
public voidtestMacro()

        executeTarget("testMacro");
    
public voidtestNolanguage()

        expectBuildExceptionContaining("testNolanguage",
                "Absence of language attribute not detected",
                "script language must be specified");
    
public voidtestSetWorks()

        executeTarget("testSetWorks");
    
public voidtestValueWorks()

        executeTarget("testValueWorks");