Browse Source

antunit-base.xml was not imported from this file, but needed to define some properties like

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1076106 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 14 years ago
parent
commit
039e4fa404
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/tests/antunit/taskdefs/optional/junit/junit-outputtoformatters-test.xml

+ 2
- 1
src/tests/antunit/taskdefs/optional/junit/junit-outputtoformatters-test.xml View File

@@ -16,6 +16,7 @@
limitations under the License. limitations under the License.
--> -->
<project default="all" xmlns:au="antlib:org.apache.ant.antunit"> <project default="all" xmlns:au="antlib:org.apache.ant.antunit">
<import file="../../../antunit-base.xml" />
<property name="ant-build" location="../../../../../../build"/> <property name="ant-build" location="../../../../../../build"/>
<property name="build-junit-dir" location="${ant-build}/ant-unit/junit-dir"/> <property name="build-junit-dir" location="${ant-build}/ant-unit/junit-dir"/>
<property name="reports.dir" location="${build-junit-dir}/report"/> <property name="reports.dir" location="${build-junit-dir}/report"/>
@@ -48,7 +49,7 @@


<macrodef name="assert-log-contains" backtrace="no"> <macrodef name="assert-log-contains" backtrace="no">
<sequential> <sequential>
<au:assertLogContains text="Hello From Test" />
<au:assertLogContains text="Hello From Test"/>
</sequential> </sequential>
</macrodef> </macrodef>




Loading…
Cancel
Save