当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
ExtendedAssert - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.common.junit
Class ExtendedAssert
java.lang.Object
Assert
org.jboss.portal.common.junit.ExtendedAssert
- Direct Known Subclasses:
- AssertResult.Test, TestAction
- public class ExtendedAssert
- extends Assert
Add more assert methods.
- Version:
- $Revision: 1842 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Method Summary |
static void |
assertEquals(byte[] expected,
byte[] actual)
|
static void |
assertEquals(java.lang.Object[] expected,
java.lang.Object[] actual)
|
static void |
assertEquals(java.lang.String message,
byte[] expected,
byte[] actual)
Test equality as defined by java.util.Array#equals(Object[], Object[]). |
static void |
assertEquals(java.lang.String message,
java.lang.Object[] expected,
java.lang.Object[] actual)
Test equality as defined by java.util.Array#equals(Object[], Object[]). |
private static java.lang.String |
format(java.lang.Object o)
|
private static java.lang.String |
format(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedAssert
public ExtendedAssert()
assertEquals
public static void assertEquals(java.lang.Object[] expected,
java.lang.Object[] actual)
- See Also:
assertEquals(Object[], Object[])
assertEquals
public static void assertEquals(java.lang.String message,
java.lang.Object[] expected,
java.lang.Object[] actual)
- Test equality as defined by java.util.Array#equals(Object[], Object[]).
assertEquals
public static void assertEquals(byte[] expected,
byte[] actual)
- See Also:
assertEquals(byte[], byte[])
assertEquals
public static void assertEquals(java.lang.String message,
byte[] expected,
byte[] actual)
- Test equality as defined by java.util.Array#equals(Object[], Object[]).
format
private static java.lang.String format(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
format
private static java.lang.String format(java.lang.Object o)