public class MultisetCountTester<E> extends AbstractMultisetTester<E>
Multiset#count.AbstractContainerTester.ArrayWithDuplicate<E>collectioncontainer, samples| Constructor and Description |
|---|
MultisetCountTester() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.reflect.Method> |
getCountDuplicateInitializingMethods()
Returns
Method instances for the read tests that assume multisets support duplicates so
that the test of Multisets.forSet() can suppress them. |
void |
testCount_0() |
void |
testCount_1() |
void |
testCount_3() |
void |
testCount_null_forbidden() |
void |
testCount_nullAbsent() |
void |
testCount_nullPresent() |
void |
testCount_wrongType() |
getMultiset, initThreeCopiesactualContents, createArrayWithNullElement, expectNullMissingWhenNullUnsupported, initCollectionWithNullElement, resetCollection, resetContainercreateArrayWithDuplicateElement, createDisjointCollection, createOrderedArray, createSamplesArray, e0, e1, e2, e3, e4, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer, setUpgetName, getSubjectGenerator, getTestMethodName, init, init, tearDownassertEquals, assertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, run, run, runBare, runTest, setName, toStringpublic void testCount_0()
public void testCount_1()
public void testCount_3()
public void testCount_nullAbsent()
public void testCount_null_forbidden()
public void testCount_nullPresent()
public void testCount_wrongType()
public static java.util.List<java.lang.reflect.Method> getCountDuplicateInitializingMethods()
Method instances for the read tests that assume multisets support duplicates so
that the test of Multisets.forSet() can suppress them.