diff options
Diffstat (limited to 'test/resources/logic/trycatch.xml')
-rw-r--r-- | test/resources/logic/trycatch.xml | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/test/resources/logic/trycatch.xml b/test/resources/logic/trycatch.xml deleted file mode 100644 index b8f020d..0000000 --- a/test/resources/logic/trycatch.xml +++ /dev/null @@ -1,108 +0,0 @@ -<project default="invalid"> - <target name="invalid"> - <fail>Don't call this file directly.</fail> - </target> - - <target name="setup"> - <taskdef resource="net/sf/antcontrib/antcontrib.properties"> - <classpath location="${antcontrib.jar}"/> - </taskdef> - </target> - - <target name="fullTest" depends="setup"> - <trycatch property="foo" reference="bar"> - <try> - <fail>Tada!</fail> - </try> - - <catch> - <echo>In <catch>.</echo> - </catch> - - <finally> - <echo>In <finally>.</echo> - </finally> - </trycatch> - </target> - - <target name="twoCatches" depends="setup"> - <trycatch> - <try> - <fail>Tada!</fail> - </try> - - <catch> - <echo>In <catch>.</echo> - </catch> - - <catch> - <echo>In <catch2>.</echo> - </catch> - </trycatch> - </target> - - <target name="twoFinallys" depends="setup"> - <trycatch> - <try> - <fail>Tada!</fail> - </try> - - <finally> - <echo>In <finally>.</echo> - </finally> - - <finally> - <echo>In <finally2>.</echo> - </finally> - </trycatch> - </target> - - <target name="twoTrys" depends="setup"> - <trycatch> - <try> - <fail>Tada!</fail> - </try> - - <try> - <fail>Tada!</fail> - </try> - - <catch> - <echo>In <catch>.</echo> - </catch> - - <finally> - <echo>In <finally>.</echo> - </finally> - </trycatch> - </target> - - <target name="noTry" depends="setup"> - <trycatch> - <catch> - <echo>In <catch>.</echo> - </catch> - - <finally> - <echo>In <finally>.</echo> - </finally> - </trycatch> - </target> - - <target name="noException" depends="setup"> - <trycatch property="foo" reference="bar"> - <try> - <echo>Tada!</echo> - </try> - - <catch> - <echo>In <catch>.</echo> - </catch> - - <finally> - <echo>In <finally>.</echo> - </finally> - </trycatch> - </target> - -</project>
\ No newline at end of file |