suppress backtraces for assertions

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Bodewig 2006-09-11 19:51:30 +00:00
parent d8a25af15e
commit ca2564da9b
1 changed files with 15 additions and 15 deletions

View File

@ -39,7 +39,7 @@ under the License.
<typedef name="logcontains" <typedef name="logcontains"
classname="org.apache.ant.antunit.LogContains"/> classname="org.apache.ant.antunit.LogContains"/>
<macrodef name="assertFalse"> <macrodef name="assertFalse" backtrace="false">
<attribute name="message" default="Assertion failed"/> <attribute name="message" default="Assertion failed"/>
<element name="assertion" implicit="true"/> <element name="assertion" implicit="true"/>
<sequential> <sequential>
@ -51,7 +51,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertEquals"> <macrodef name="assertEquals" backtrace="false">
<attribute name="expected"/> <attribute name="expected"/>
<attribute name="actual"/> <attribute name="actual"/>
<attribute name="casesensitive" default="true"/> <attribute name="casesensitive" default="true"/>
@ -65,7 +65,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertPropertySet"> <macrodef name="assertPropertySet" backtrace="false">
<attribute name="name"/> <attribute name="name"/>
<attribute name="message" <attribute name="message"
default="Expected property '@{name}'"/> default="Expected property '@{name}'"/>
@ -76,7 +76,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertPropertyEquals"> <macrodef name="assertPropertyEquals" backtrace="false">
<attribute name="name"/> <attribute name="name"/>
<attribute name="value"/> <attribute name="value"/>
<attribute name="casesensitive" default="true"/> <attribute name="casesensitive" default="true"/>
@ -89,7 +89,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertPropertyContains"> <macrodef name="assertPropertyContains" backtrace="false">
<attribute name="name"/> <attribute name="name"/>
<attribute name="value"/> <attribute name="value"/>
<attribute name="casesensitive" default="true"/> <attribute name="casesensitive" default="true"/>
@ -103,7 +103,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertFileExists"> <macrodef name="assertFileExists" backtrace="false">
<attribute name="file"/> <attribute name="file"/>
<attribute name="message" <attribute name="message"
default="Expected file '@{file}' to exist"/> default="Expected file '@{file}' to exist"/>
@ -114,7 +114,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertFileDoesntExist"> <macrodef name="assertFileDoesntExist" backtrace="false">
<attribute name="file"/> <attribute name="file"/>
<attribute name="message" <attribute name="message"
default="Didn't expect file '@{file}' to exist"/> default="Didn't expect file '@{file}' to exist"/>
@ -125,7 +125,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertDestIsUptodate"> <macrodef name="assertDestIsUptodate" backtrace="false">
<attribute name="src"/> <attribute name="src"/>
<attribute name="dest"/> <attribute name="dest"/>
<attribute name="message" <attribute name="message"
@ -137,7 +137,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertDestIsOutofdate"> <macrodef name="assertDestIsOutofdate" backtrace="false">
<attribute name="src"/> <attribute name="src"/>
<attribute name="dest"/> <attribute name="dest"/>
<attribute name="message" <attribute name="message"
@ -149,7 +149,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertFilesMatch"> <macrodef name="assertFilesMatch" backtrace="false">
<attribute name="expected"/> <attribute name="expected"/>
<attribute name="actual"/> <attribute name="actual"/>
<attribute name="message" <attribute name="message"
@ -161,7 +161,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertFilesDiffer"> <macrodef name="assertFilesDiffer" backtrace="false">
<attribute name="expected"/> <attribute name="expected"/>
<attribute name="actual"/> <attribute name="actual"/>
<attribute name="message" <attribute name="message"
@ -173,7 +173,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertReferenceSet"> <macrodef name="assertReferenceSet" backtrace="false">
<attribute name="refid"/> <attribute name="refid"/>
<attribute name="message" <attribute name="message"
default="Expected reference '@{refid}'"/> default="Expected reference '@{refid}'"/>
@ -184,7 +184,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertReferenceIsType"> <macrodef name="assertReferenceIsType" backtrace="false">
<attribute name="refid"/> <attribute name="refid"/>
<attribute name="type"/> <attribute name="type"/>
<attribute name="message" <attribute name="message"
@ -197,7 +197,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertLogContains"> <macrodef name="assertLogContains" backtrace="false">
<attribute name="text"/> <attribute name="text"/>
<attribute name="level" default="info"/> <attribute name="level" default="info"/>
<attribute name="message" <attribute name="message"
@ -209,7 +209,7 @@ under the License.
</sequential> </sequential>
</macrodef> </macrodef>
<macrodef name="assertLogDoesntContain"> <macrodef name="assertLogDoesntContain" backtrace="false">
<attribute name="text"/> <attribute name="text"/>
<attribute name="level" default="info"/> <attribute name="level" default="info"/>
<attribute name="message" <attribute name="message"