From e6cb208a20d77d388855ae517ec224cdc7480ae1 Mon Sep 17 00:00:00 2001 From: mattinger Date: Fri, 7 Jul 2006 00:48:52 +0000 Subject: 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 --- src/java/net/sf/antcontrib/logic/Assert.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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."); -- cgit v1.2.3