diff options
author | mattinger <[email protected]> | 2007-03-07 15:11:35 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-07 15:11:35 +0000 |
commit | 8e97f1595dfa63ef3351f178c29f6d37deab5354 (patch) | |
tree | fc2a1d23baafd09f6453111154568ff1d6f86a07 /test/src/net/sf/antcontrib/logic/AssertTest.java | |
parent | cd14e5669f4a961fcb472a8ea4cac907c10d843d (diff) |
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@96 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'test/src/net/sf/antcontrib/logic/AssertTest.java')
-rw-r--r-- | test/src/net/sf/antcontrib/logic/AssertTest.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/src/net/sf/antcontrib/logic/AssertTest.java b/test/src/net/sf/antcontrib/logic/AssertTest.java index 449068f..a5c66cc 100644 --- a/test/src/net/sf/antcontrib/logic/AssertTest.java +++ b/test/src/net/sf/antcontrib/logic/AssertTest.java @@ -49,12 +49,8 @@ public class AssertTest extends BuildFileTestBase { executeTarget( "test1" ); } - public void test2() { - expectBuildExceptionStackTraceContaining( "test2", "testing assert failure", "Property 'testprop' doesn't exist in this project." ); - } - public void test3() { - expectBuildExceptionStackTraceContaining( "test3", "testing assert failure", "Expected 'false', but was 'true'." ); + expectBuildException("test3"); } public void test4() { @@ -70,7 +66,7 @@ public class AssertTest extends BuildFileTestBase { } public void test7(){ - expectBuildExceptionStackTraceContaining( "test7", "testing conditions", "Assertion failed boolean test." ); + expectBuildException("test7"); } public void test8() { @@ -78,7 +74,7 @@ public class AssertTest extends BuildFileTestBase { } public void test9() { - expectBuildExceptionStackTraceContaining( "test9", "testing conditions", "Assertion failed boolean test." ); + expectBuildException("test9"); } } |