File: typedef.xml

package info (click to toggle)
phing 3.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,868 kB
  • sloc: php: 59,850; xml: 9,713; sql: 78; makefile: 39; sh: 14
file content (44 lines) | stat: -rw-r--r-- 951 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
<?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>