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
|
<?xml version="1.0"?>
<project name="test" default="invalid">
<target name="invalid">
<fail>This file should only be run via a testcase</fail>
</target>
<target name="empty">
<typedef />
</target>
<target name="noClassname">
<typedef name="dummy" />
</target>
<target name="noName">
<typedef classname="Phing\Test\Support\TypedefTestType"/>
</target>
<target name="classNotFound">
<typedef name="" classname="oops"/>
</target>
<path id="testclasses">
<pathelement dir="../../classes" />
</path>
<typedef name="global" classname="Phing\Test\Support\TypedefTestType">
<classpath refid="testclasses" />
</typedef>
<target name="testGlobal">
<global id="global" />
</target>
<target name="testLocal">
<typedef name="local" classname="Phing\Test\Support\TypedefTestType">
<classpath refid="testclasses" />
</typedef>
<local id="local" />
</target>
</project>
|