|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.btmatthews.ldapunit.impl.LDAPDataSetAssertions
public final class LDAPDataSetAssertions
| Constructor Summary | |
|---|---|
LDAPDataSetAssertions()
|
|
| Method Summary | |
|---|---|
static boolean |
assertCardinality(int n,
ILDAPDataSet a)
Assert that the cardinality of set a is n. |
static boolean |
assertEquals(ILDAPDataSet a,
ILDAPDataSet b)
Asserts that sets a and b are equivalent. |
static boolean |
assertProperSubSetOf(ILDAPDataSet a,
ILDAPDataSet b)
Asserts that a is a proper subset of b. |
static boolean |
assertSubSetOf(ILDAPDataSet a,
ILDAPDataSet b)
Asserts that a is a subset of b. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LDAPDataSetAssertions()
| Method Detail |
|---|
public static boolean assertCardinality(int n,
ILDAPDataSet a)
a is n.
n - The expected cardinality.a - The set being tested.
true if the cardinality of a is
n.
public static boolean assertEquals(ILDAPDataSet a,
ILDAPDataSet b)
a and b are equivalent.
a - A set being tested.b - A set being tested.
true if the a and b are equivalent.
public static boolean assertSubSetOf(ILDAPDataSet a,
ILDAPDataSet b)
a is a subset of b. This means
that a contains some or all of the elements of
b.
a - The subset being tested.b - The superset being tested.
true if a is a proper subset of
b.
public static boolean assertProperSubSetOf(ILDAPDataSet a,
ILDAPDataSet b)
a is a proper subset of b. This
means that a contains some but not all of the elements
b.
a - The subset being tested.b - The superset being tested.
true if a is a proper subset of
b.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||