File: XorConditionTest.xml

package info (click to toggle)
phing 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,368 kB
  • sloc: php: 59,821; xml: 9,767; sql: 78; makefile: 39; sh: 14
file content (67 lines) | stat: -rw-r--r-- 1,592 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<project name="XorCoditionTest" default="testEmpty">
    <target name="testEmpty" >
        <condition property="isEmpty">
            <xor/>
        </condition>
    </target>

    <target name="test1" >
        <condition property="testTrue">
            <not>
                <xor>
                    <istrue value="true" />
                </xor>
            </not>
        </condition>
    </target>

    <target name="test0" >
        <condition property="testFalse">
            <xor>
                <istrue value="" />
            </xor>
        </condition>
    </target>

    <target name="test10" >
        <condition property="test10">
            <not>
                <xor>
                    <istrue value="true" />
                    <istrue value="" />
                </xor>
            </not>
        </condition>
    </target>

    <target name="test01" >
        <condition property="test01">
            <not>
                <xor>
                    <istrue value="" />
                    <istrue value="true" />
                </xor>
            </not>
        </condition>
    </target>

    <target name="test00" >
        <condition property="test00">
            <xor>
                <istrue value="" />
                <istrue value="" />
            </xor>
        </condition>
    </target>

    <target name="test11" >
        <condition property="test11">
            <xor>
                <istrue value="" />
                <istrue value="" />
            </xor>
        </condition>
    </target>

</project>