FileDocCategorySizeDatePackage
ScriptSelectorTest.javaAPI DocApache Ant 1.702029Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.types.optional

ScriptSelectorTest

public class ScriptSelectorTest extends org.apache.tools.ant.BuildFileTest
Test that scripting selection works. Needs scripting support to work

Fields Summary
Constructors Summary
public ScriptSelectorTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/types/selectors/scriptselector.xml");
    
public voidtestBasedirAttribute()

        executeTarget("testBasedirAttribute");
    
public voidtestFileAttribute()

        executeTarget("testFileAttribute");
    
public voidtestFilenameAttribute()

        executeTarget("testFilenameAttribute");
    
public voidtestNolanguage()

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

        executeTarget("testSelectionClearWorks");
    
public voidtestSelectionSetByDefault()

        executeTarget("testSelectionSetByDefault");
    
public voidtestSelectionSetWorks()

        executeTarget("testSelectionSetWorks");