alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Ant example source code file (TEST-sampleproject.coins.CoinTest.xml)

This example Ant source code file (TEST-sampleproject.coins.CoinTest.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Ant tags/keywords

cdata, coin=nl,1, doeg, inc, inc, java, java, microsystems, microsystems, platform, rte, specification, sun, sun

The TEST-sampleproject.coins.CoinTest.xml source code

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="1" name="sampleproject.coins.CoinTest" tests="11" time="0.171">
  <properties>
    <property name="testsrc" value="test/">
    <property name="java.runtime.name" value="Java(TM) 2 Runtime Environment, Standard Edition">
    <property name="sun.boot.library.path" value="/usr/java/jdk1.3.1_03/jre/lib/i386">
    <property name="java.vm.version" value="1.3.1_03-b03">
    <property name="ant.version" value="Apache Ant version 1.5 compiled on July 9 2002">
    <property name="ant.java.version" value="1.3">
    <property name="java.vm.vendor" value="Sun Microsystems Inc.">
    <property name="java.vendor.url" value="http://java.sun.com/">
    <property name="path.separator" value=":">
    <property name="java.vm.name" value="Java HotSpot(TM) Client VM">
    <property name="file.encoding.pkg" value="sun.io">
    <property name="classes" value="classes">
    <property name="java.vm.specification.name" value="Java Virtual Machine Specification">
    <property name="user.dir" value="/home/jkf/programming/gretant_sourceforge/sampleproject">
    <property name="java.runtime.version" value="1.3.1_03-b03">
    <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment">
    <property name="basedir" value="/home/jkf/programming/gretant_sourceforge/sampleproject">
    <property name="os.arch" value="i386">
    <property name="java.io.tmpdir" value="/tmp">
    <property name="line.separator" value="
"></property>
    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc.">
    <property name="java.awt.fonts" value="">
    <property name="os.name" value="Linux">
    <property name="ant.home" value="/opt/jakarta-ant-1.5/">
    <property name="ant.project.name" value="sample">
    <property name="reportdir" value="reports">
    <property name="java.library.path" value="/usr/java/jdk1.3.1_03/jre/lib/i386:/usr/java/jdk1.3.1_03/jre/lib/i386/native_threads/:/usr/java/jdk1.3.1_03/jre/lib/i386/client:/usr/java/jdk1.3.1_03/jre/../lib/i386">
    <property name="src" value="code/">
    <property name="debug" value="on">
    <property name="java.specification.name" value="Java Platform API Specification">
    <property name="java.class.version" value="47.0">
    <property name="os.version" value="2.4.18-5">
    <property name="ant.file" value="/home/jkf/programming/gretant_sourceforge/sampleproject/build.xml">
    <property name="unitreport" value="cl-unit.xml">
    <property name="user.home" value="/home/jkf">
    <property name="user.timezone" value="Europe/Amsterdam">
    <property name="java.awt.printerjob" value="sun.awt.motif.PSPrinterJob">
    <property name="java.specification.version" value="1.3">
    <property name="file.encoding" value="ISO-8859-15">
    <property name="java.class.path" value="/opt/jakarta-ant-1.5//lib/xml-apis.jar:/opt/jakarta-ant-1.5//lib/xercesImpl.jar:/opt/jakarta-ant-1.5//lib/xalan.jar:/opt/jakarta-ant-1.5//lib/optional.jar:/opt/jakarta-ant-1.5//lib/junit.jar:/opt/jakarta-ant-1.5//lib/Gretel.jar:/opt/jakarta-ant-1.5//lib/gretant.jar:/opt/jakarta-ant-1.5//lib/cup-runtime.jar:/opt/jakarta-ant-1.5//lib/bcel.jar:/opt/jakarta-ant-1.5//lib/ant.jar:/usr/java/jdk1.3/lib/tools.jar">
    <property name="user.name" value="jkf">
    <property name="coverreport" value="cl-cover.xml">
    <property name="java.vm.specification.version" value="1.0">
    <property name="java.home" value="/usr/java/jdk1.3.1_03/jre">
    <property name="java.specification.vendor" value="Sun Microsystems Inc.">
    <property name="user.language" value="en">
    <property name="java.vm.info" value="mixed mode">
    <property name="java.version" value="1.3.1_03">
    <property name="java.ext.dirs" value="/usr/java/jdk1.3.1_03/jre/lib/ext">
    <property name="sun.boot.class.path" value="/usr/java/jdk1.3.1_03/jre/lib/rt.jar:/usr/java/jdk1.3.1_03/jre/lib/i18n.jar:/usr/java/jdk1.3.1_03/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_03/jre/classes">
    <property name="java.vendor" value="Sun Microsystems Inc.">
    <property name="file.separator" value="/">
    <property name="testclasses" value="testclasses">
    <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi">
    <property name="sun.io.unicode.encoding" value="UnicodeLittle">
    <property name="sun.cpu.endian" value="little">
    <property name="gretclasses" value="gretclasses">
    <property name="user.region" value="US">
    <property name="sun.cpu.isalist" value="">
  </properties>
  <testcase name="testEquals" time="0.014">
  <testcase name="testHashCode" time="0.0010">
  <testcase name="testToString" time="0.0010">
  <testcase name="testGetImageURL" time="0.0">
  <testcase name="testGetCountry" time="0.0010">
  <testcase name="testGetDenomination" time="0.0">
  <testcase name="testGetYear" time="0.0">
  <testcase name="testGetSubType" time="0.0">
  <testcase name="testFail" time="0.0080">
    <failure message="DOEG" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: DOEG
	at sampleproject.coins.CoinTest.testFail(CoinTest.java:229)
</failure>
  </testcase>
  <testcase name="testException" time="0.0010">
    <error message="RTE" type="java.lang.RuntimeException">java.lang.RuntimeException: RTE
	at sampleproject.coins.CoinTest.testException(CoinTest.java:234)
</error>
  </testcase>
  <testcase name="testSuccess" time="0.0">
  <system-out>
  <system-err>
</testsuite>

Other Ant examples (source code examples)

Here is a short list of links related to this Ant TEST-sampleproject.coins.CoinTest.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.