summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormattinger <[email protected]>2006-07-07 00:48:52 +0000
committermattinger <[email protected]>2006-07-07 00:48:52 +0000
commite6cb208a20d77d388855ae517ec224cdc7480ae1 (patch)
treeb547fc173ce6e892967fee8c22cd7664bd001b9e /src
parent42879e34de2ee5cafd7a290418db5c1fe7d6b181 (diff)
Fixing some assert tests
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@7 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src')
-rw-r--r--src/java/net/sf/antcontrib/logic/Assert.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/logic/Assert.java b/src/java/net/sf/antcontrib/logic/Assert.java
index eb5654a..7c77964 100644
--- a/src/java/net/sf/antcontrib/logic/Assert.java
+++ b/src/java/net/sf/antcontrib/logic/Assert.java
@@ -53,6 +53,10 @@ public class Assert
tasks.add(task);
}
+ public BooleanConditionBase createBool() {
+ return this;
+ }
+
public void execute() {
if (countConditions() == 0) {
throw new BuildException("There is no condition specified.");