FileDocCategorySizeDatePackage
JavaResourceTest.javaAPI DocApache Ant 1.701529Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.types.resources

JavaResourceTest

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

Fields Summary
Constructors Summary
public JavaResourceTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/types/resources/javaresource.xml");
    
public voidtestLoadManifest()

        executeTarget("loadManifest");
        assertNotNull(getProject().getProperty("manifest"));

        // this actually relies on the first manifest being found on
        // the classpath (probably rt.jar's) being valid
        assertTrue(getProject().getProperty("manifest")
                   .startsWith("Manifest-Version:"));