|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert net.sf.ezmorph.test.ArrayAssertions
public class ArrayAssertions
Provides assertions on arrays (primitive and objects).
All methods support multiple dimensional arrays.
Method Summary | |
---|---|
static void |
assertEquals(boolean[] expecteds,
boolean[] actuals)
Asserts that two boolean[] are equal. |
static void |
assertEquals(boolean[] expecteds,
Object[] actuals)
Asserts that a boolean[] is equal to an Object[] (presumably an Boolean[]) |
static void |
assertEquals(byte[] expecteds,
byte[] actuals)
Asserts that two byte[] are equal. |
static void |
assertEquals(byte[] expecteds,
Object[] actuals)
Asserts that a byte[] is equal to an Object[] (presumably an Byte[]) |
static void |
assertEquals(char[] expecteds,
char[] actuals)
Asserts that two char[] are equal. |
static void |
assertEquals(char[] expecteds,
Object[] actuals)
Asserts that a char[] is equal to an Object[] (presumably an Character[]) |
static void |
assertEquals(double[] expecteds,
double[] actuals)
Asserts that two double[] are equal. |
static void |
assertEquals(double[] expecteds,
Object[] actuals)
Asserts that a double[] is equal to an Object[] (presumably an Double[]) |
static void |
assertEquals(float[] expecteds,
float[] actuals)
Asserts that two float[] are equal. |
static void |
assertEquals(float[] expecteds,
Object[] actuals)
Asserts that a float[] is equal to an Object[] (presumably an Float[]) |
static void |
assertEquals(int[] expecteds,
int[] actuals)
Asserts that two int[] are equal. |
static void |
assertEquals(int[] expecteds,
Object[] actuals)
Asserts that a int[] is equal to an Object[] (presumably an Integer[]) |
static void |
assertEquals(List expecteds,
List actuals)
Asserts that two Lists are equal. |
static void |
assertEquals(long[] expecteds,
long[] actuals)
Asserts that two long[] are equal. |
static void |
assertEquals(long[] expecteds,
Object[] actuals)
Asserts that a long[] is equal to an Object[] (presumably an Long[]) |
static void |
assertEquals(Object[] expecteds,
boolean[] actuals)
Asserts that Object[] (presumably an Boolean[]) is equal to an boolean[]. |
static void |
assertEquals(Object[] expecteds,
byte[] actuals)
Asserts that Object[] (presumably an Byte[]) is equal to an byte[]. |
static void |
assertEquals(Object[] expecteds,
char[] actuals)
Asserts that Object[] (presumably an Character[]) is equal to an char[]. |
static void |
assertEquals(Object[] expecteds,
double[] actuals)
Asserts that Object[] (presumably an Double[]) is equal to an double[]. |
static void |
assertEquals(Object[] expecteds,
float[] actuals)
Asserts that Object[] (presumably an Float[]) is equal to an float[]. |
static void |
assertEquals(Object[] expecteds,
int[] actuals)
Asserts that Object[] (presumably an Integer[]) is equal to an int[]. |
static void |
assertEquals(Object[] expecteds,
long[] actuals)
Asserts that Object[] (presumably an Long[]) is equal to an long[]. |
static void |
assertEquals(Object[] expecteds,
Object[] actuals)
Asserts that two Object[] are equal. |
static void |
assertEquals(Object[] expecteds,
short[] actuals)
Asserts that Object[] (presumably an Short[]) is equal to an short[]. |
static void |
assertEquals(Object expected,
Object actual)
Asserts that two objects are equal. |
static void |
assertEquals(short[] expecteds,
Object[] actuals)
Asserts that a short[] is equal to an Object[] (presumably an Short[]) |
static void |
assertEquals(short[] expecteds,
short[] actuals)
Asserts that two short[] are equal. |
static void |
assertEquals(String message,
boolean[] expecteds,
boolean[] actuals)
Asserts that two boolean[] are equal. |
static void |
assertEquals(String message,
boolean[] expecteds,
Object[] actuals)
Asserts that a boolean[] is equal to an Object[] (presumably an Boolean[]) |
static void |
assertEquals(String message,
byte[] expecteds,
byte[] actuals)
Asserts that two byte[] are equal. |
static void |
assertEquals(String message,
byte[] expecteds,
Object[] actuals)
Asserts that a byte[] is equal to an Object[] (presumably an Byte[]) |
static void |
assertEquals(String message,
char[] expecteds,
char[] actuals)
Asserts that two char[] are equal. |
static void |
assertEquals(String message,
char[] expecteds,
Object[] actuals)
Asserts that a char[] is equal to an Object[] (presumably an Character[]) |
static void |
assertEquals(String message,
double[] expecteds,
double[] actuals)
Asserts that two double[] are equal. |
static void |
assertEquals(String message,
double[] expecteds,
Object[] actuals)
Asserts that a double[] is equal to an Object[] (presumably an Double[]) |
static void |
assertEquals(String message,
float[] expecteds,
float[] actuals)
Asserts that two float[] are equal. |
static void |
assertEquals(String message,
float[] expecteds,
Object[] actuals)
Asserts that a float[] is equal to an Object[] (presumably an Float[]) |
static void |
assertEquals(String message,
int[] expecteds,
int[] actuals)
Asserts that two int[] are equal. |
static void |
assertEquals(String message,
int[] expecteds,
Object[] actuals)
Asserts that a int[] is equal to an Object[] (presumably an Integer[]) |
static void |
assertEquals(String message,
List expecteds,
List actuals)
Asserts that two Lists are equal. |
static void |
assertEquals(String message,
long[] expecteds,
long[] actuals)
Asserts that two long[] are equal. |
static void |
assertEquals(String message,
long[] expecteds,
Object[] actuals)
Asserts that a long[] is equal to an Object[] (presumably an Long[]) |
static void |
assertEquals(String message,
Object[] expecteds,
boolean[] actuals)
Asserts that Object[] (presumably an Boolean[]) is equal to an boolean[]. |
static void |
assertEquals(String message,
Object[] expecteds,
byte[] actuals)
Asserts that Object[] (presumably an Byte[]) is equal to an byte[]. |
static void |
assertEquals(String message,
Object[] expecteds,
char[] actuals)
Asserts that Object[] (presumably an Character[]) is equal to an char[]. |
static void |
assertEquals(String message,
Object[] expecteds,
double[] actuals)
Asserts that Object[] (presumably an Double[]) is equal to an double[]. |
static void |
assertEquals(String message,
Object[] expecteds,
float[] actuals)
Asserts that Object[] (presumably an Float[]) is equal to an float[]. |
static void |
assertEquals(String message,
Object[] expecteds,
int[] actuals)
Asserts that Object[] (presumably an Integer[]) is equal to an int[]. |
static void |
assertEquals(String message,
Object[] expecteds,
long[] actuals)
Asserts that Object[] (presumably an Long[]) is equal to an long[]. |
static void |
assertEquals(String message,
Object[] expecteds,
Object[] actuals)
Asserts that two Object[] are equal. |
static void |
assertEquals(String message,
Object[] expecteds,
short[] actuals)
Asserts that Object[] (presumably an Short[]) is equal to a short[]. |
static void |
assertEquals(String message,
Object expected,
Object actual)
Asserts that two objects are equal. |
static void |
assertEquals(String message,
short[] expecteds,
Object[] actuals)
Asserts that a short[] is equal to an Object[] (presumably an Short[]) |
static void |
assertEquals(String message,
short[] expecteds,
short[] actuals)
Asserts that two short[] are equal. |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void assertEquals(boolean[] expecteds, boolean[] actuals)
expecteds
- actuals
- public static void assertEquals(boolean[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(byte[] expecteds, byte[] actuals)
expecteds
- actuals
- public static void assertEquals(byte[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(char[] expecteds, char[] actuals)
expecteds
- actuals
- public static void assertEquals(char[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(double[] expecteds, double[] actuals)
expecteds
- actuals
- public static void assertEquals(double[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(float[] expecteds, float[] actuals)
expecteds
- actuals
- public static void assertEquals(float[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(int[] expecteds, int[] actuals)
expecteds
- actuals
- public static void assertEquals(int[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(List expecteds, List actuals)
expecteds
- actuals
- public static void assertEquals(long[] expecteds, long[] actuals)
expecteds
- actuals
- public static void assertEquals(long[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(Object expected, Object actual)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, boolean[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, byte[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, char[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, double[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, float[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, int[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, long[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(Object[] expecteds, short[] actuals)
expecteds
- actuals
- public static void assertEquals(short[] expecteds, Object[] actuals)
expecteds
- actuals
- public static void assertEquals(short[] expecteds, short[] actuals)
expecteds
- actuals
- public static void assertEquals(String message, boolean[] expecteds, boolean[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, boolean[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, byte[] expecteds, byte[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, byte[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, char[] expecteds, char[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, char[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, double[] expecteds, double[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, double[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, float[] expecteds, float[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, float[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, int[] expecteds, int[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, int[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, List expecteds, List actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, long[] expecteds, long[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, long[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object expected, Object actual)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, boolean[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, byte[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, char[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, double[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, float[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, int[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, long[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, Object[] expecteds, short[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, short[] expecteds, Object[] actuals)
message
- expecteds
- actuals
- public static void assertEquals(String message, short[] expecteds, short[] actuals)
message
- expecteds
- actuals
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |