@GwtCompatible(emulated=true) public class MultisetCountTester<E> extends AbstractMultisetTester<E>
Multiset#count
.AbstractContainerTester.ArrayWithDuplicate<E>
collection
container, samples
Constructor and Description |
---|
MultisetCountTester() |
Modifier and Type | Method and Description |
---|---|
static List<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, initThreeCopies
actualContents, createArrayWithNullElement, expectNullMissingWhenNullUnsupported, initCollectionWithNullElement, resetCollection, resetContainer
createArrayWithDuplicateElement, createDisjointCollection, createOrderedArray, createSamplesArray, e0, e1, e2, e3, e4, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer, setUp
getName, getSubjectGenerator, getTestMethodName, init, init, tearDown
assertEquals, 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, toString
public MultisetCountTester()
public 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()
@GwtIncompatible public static List<Method> getCountDuplicateInitializingMethods()
Method
instances for the read tests that assume multisets support duplicates so
that the test of Multisets.forSet()
can suppress them.Copyright © 2010–2018. All rights reserved.