|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.junit.MapTester
public class MapTester
This class asserts (among other things) that two maps are equals.
| Method Summary | |
|---|---|
static void |
assertEqualKeys(Map<?,?> m1,
Map<?,?> m2)
Checks if each key in map m1 is equals to that of map m2. |
static void |
assertEquals(Map<?,?> m1,
Map<?,?> m2)
Checks if each key-value pair in map m1 is equals to that of map m2. |
static void |
assertEqualValues(Map<?,?> m1,
Map<?,?> m2)
Checks if each value in map m1 is equals to that of map m2. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void assertEquals(Map<?,?> m1,
Map<?,?> m2)
m1 - the m1m2 - the m2
public static void assertEqualKeys(Map<?,?> m1,
Map<?,?> m2)
m1 - the m1m2 - the m2
public static void assertEqualValues(Map<?,?> m1,
Map<?,?> m2)
m1 - the m1m2 - the m2
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||