FileDocCategorySizeDatePackage
XmlValidateCatalogTest.javaAPI DocApache Ant 1.702235Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.optional

XmlValidateCatalogTest

public class XmlValidateCatalogTest extends org.apache.tools.ant.BuildFileTest
Tests the XMLValidate optional task with nested external catalogs.
see
XmlValidateTest
since
Ant 1.6

Fields Summary
private static final String
TASKDEFS_DIR
where tasks run
Constructors Summary
public XmlValidateCatalogTest(String name)
Constructor

param
name testname



             
       
        super(name);
    
Methods Summary
public voidsetUp()
The JUnit setup method

        configureProject(TASKDEFS_DIR + "xmlvalidate.xml");
    
public voidtearDown()
The teardown method for JUnit


    
public voidtestXmlCatalogFiles()
catalogfiles fileset should be ignored if resolver.jar is not present, but will be used if it is. either way, test should work b/c we have a nested dtd with the same entity

        executeTarget("xmlcatalogfiles");
    
public voidtestXmlCatalogPath()
Test nested catalogpath. It should be ignored if resolver.jar is not present, but will be used if it is. either way, test should work b/c we have a nested dtd with the same entity

        executeTarget("xmlcatalogpath");