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

WhichResourceTest

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

Fields Summary
public static final String
TEST_BUILD_FILE
Constructors Summary
public WhichResourceTest(String name)


       
        super(name);
    
Methods Summary
public voidsetUp()

        configureProject(TEST_BUILD_FILE);
    
public voidtestClassname()

        executeTarget("testClassname");
        assertNotNull(getProject().getProperty("antmain"));
    
public voidtestResourcename()

        executeTarget("testResourcename");
        assertNotNull(getProject().getProperty("defaults"));
    
public voidtestResourcenameWithLeadingSlash()

        executeTarget("testResourcenameWithLeadingSlash");
        assertNotNull(getProject().getProperty("defaults"));