FileDocCategorySizeDatePackage
ParserSupportsTest.javaAPI DocApache Ant 1.702293Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.condition

ParserSupportsTest

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

Fields Summary
Constructors Summary
public ParserSupportsTest(String name)

        super(name);
    
Methods Summary
public voidNotestPropertyInvalid()

        executeTarget("testPropertyInvalid");
    
public voidNotestXercesProperty()

        executeTarget("testXercesProperty");
    
public voidsetUp()
The JUnit setup method

        configureProject("src/etc/testcases/taskdefs/conditions/parsersupports.xml");
    
public voidtestBoth()

        expectBuildExceptionContaining("testBoth",
                ParserSupports.ERROR_BOTH_ATTRIBUTES,
                ParserSupports.ERROR_BOTH_ATTRIBUTES);
    
public voidtestEmpty()

        expectBuildExceptionContaining("testEmpty",
                ParserSupports.ERROR_NO_ATTRIBUTES,
                ParserSupports.ERROR_NO_ATTRIBUTES);
    
public voidtestNamespaces()

        executeTarget("testNamespaces");
    
public voidtestPropertyNoValue()

        expectBuildExceptionContaining("testPropertyNoValue",
                ParserSupports.ERROR_NO_VALUE,
                ParserSupports.ERROR_NO_VALUE);
    
public voidtestUnknownProperty()

        executeTarget("testUnknownProperty");