Browse Source

Add in build file for testing primitive type conversion in myrmidon

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269139 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
c60d74be92
1 changed files with 58 additions and 0 deletions
  1. +58
    -0
      proposal/myrmidon/src/make/primitive-tests.ant

+ 58
- 0
proposal/myrmidon/src/make/primitive-tests.ant View File

@@ -0,0 +1,58 @@
<?xml version="1.0"?>

<!--
==============================================================================

Basic tests build file

Authors:
Peter Donald <donaldp@apache.org>

Legal:
Copyright (c) 2000 The Apache Software Foundation. All Rights Reserved.

==============================================================================
-->

<project name="MySample" default="main" basedir=".">

<property name="year" value="2000"/>

<target name="main" depends="test-target" />

<target name="no-test-target" if="no-do-tests">
<echo message="No tests done here"/>
</target>

<target name="test-target" depends="no-test-target" unless="no-do-tests">

<echo message="Tests away"/>

<prim-test
integer="1"
integer2="2"
short="3"
short2="4"
long="5"
long2="6"
byte="7"
byte2="8"
string="aString"
float="1.0"
float2="2.0"
double="3.0"
double2="4.0"
/>

<sub-elements-test>
<create-beep message="A string" />
<add-beep message="Another String" />
</sub-elements-test>

<conf-test message="..." />
<content-test>123</content-test>
</target>

</project>

Loading…
Cancel
Save