FileDocCategorySizeDatePackage
IsFileSelectedTest.javaAPI DocApache Ant 1.701719Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.condition

IsFileSelectedTest

public class IsFileSelectedTest extends org.apache.tools.ant.BuildFileTest
Testcase for the <isfileselected> condition.

Fields Summary
Constructors Summary
public IsFileSelectedTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/conditions/isfileselected.xml");
    
public voidtestBaseDir()

        executeTarget("basedir");
    
public voidtestName()

        executeTarget("name");
    
public voidtestNotSelector()

        expectBuildExceptionContaining(
            "not.selector", "checking for use as a selector (not allowed)",
            "fileset doesn't support the nested \"isfile");
    
public voidtestSimple()

        executeTarget("simple");
    
public voidtestType()

        executeTarget("type");