org.opennms.test
Class AssertUtils
java.lang.Object
org.opennms.test.AssertUtils
public class AssertUtils
- extends Object
Utilities to support assertions with JUnit.
- Author:
- dj@opennms.org
|
Method Summary |
static void |
fail(String message,
Throwable t)
A version of Assert.fail that can be passed a Throwable which is the
cause of this failure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertUtils
public AssertUtils()
fail
public static void fail(String message,
Throwable t)
throws junit.framework.AssertionFailedError
- A version of Assert.fail that can be passed a Throwable which is the
cause of this failure.
- Parameters:
message - message String to be passed to Assert.fail after appending the throwable stack tracet - cause of this failure
- Throws:
junit.framework.AssertionFailedError
Copyright © 2008. All Rights Reserved.