FileDocCategorySizeDatePackage
XorTest.javaAPI DocApache Ant 1.701751Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs.condition

XorTest

public class XorTest extends org.apache.tools.ant.BuildFileTest
Test that Xor follows the conventional boolean logic semantics (a ^ b) === (a||b)&!(a&&b)

Fields Summary
Constructors Summary
public XorTest(String name)

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

        configureProject("src/etc/testcases/taskdefs/conditions/xor.xml");
    
public voidtest0()

        executeTarget("test0");
    
public voidtest00()

        executeTarget("test00");
    
public voidtest01()

        executeTarget("test01");
    
public voidtest1()

        executeTarget("test1");
    
public voidtest10()

        executeTarget("test10");
    
public voidtest11()

        executeTarget("test11");
    
public voidtestEmpty()

        executeTarget("testEmpty");