|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.google.common.collect.testing.AbstractTester<OneSizeTestContainerGenerator<C,E>>
com.google.common.collect.testing.AbstractContainerTester<Collection<E>,E>
com.google.common.collect.testing.AbstractCollectionTester<E>
com.google.common.collect.testing.google.AbstractMultisetTester<E>
com.google.common.collect.testing.google.MultisetReadsTester<E>
@GwtCompatible(emulated=true) public class MultisetReadsTester<E>
A generic JUnit test which tests multiset-specific read operations.
Can't be invoked directly; please see
SetTestSuiteBuilder.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.common.collect.testing.AbstractContainerTester |
|---|
AbstractContainerTester.ArrayWithDuplicate<E> |
| Field Summary |
|---|
| Fields inherited from class com.google.common.collect.testing.AbstractCollectionTester |
|---|
collection |
| Fields inherited from class com.google.common.collect.testing.AbstractContainerTester |
|---|
container, samples |
| Constructor Summary | |
|---|---|
MultisetReadsTester()
|
|
| Method Summary | |
|---|---|
static List<Method> |
getReadsDuplicateInitializingMethods()
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()
|
void |
testCount_wrongType()
|
void |
testElementSet_contains()
|
void |
testEntrySet_contains_count0()
|
void |
testEntrySet_contains_nonentry()
|
void |
testEntrySet_contains()
|
void |
testEntrySet_hashCode_size0()
|
void |
testEntrySet_hashCode_size1()
|
void |
testEntrySet_twice()
|
void |
testEquals_differentElements()
|
void |
testEquals_differentSize()
|
void |
testEquals_yes()
|
void |
testHashCode_size0()
|
void |
testHashCode_size1()
|
| Methods inherited from class com.google.common.collect.testing.google.AbstractMultisetTester |
|---|
getMultiset, initThreeCopies |
| Methods inherited from class com.google.common.collect.testing.AbstractCollectionTester |
|---|
actualContents, createArrayWithNullElement, expectNullMissingWhenNullUnsupported, initCollectionWithNullElement, resetCollection, resetContainer |
| Methods inherited from class com.google.common.collect.testing.AbstractContainerTester |
|---|
createArrayWithDuplicateElement, createDisjointCollection, createOrderedArray, createSamplesArray, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer, setUp |
| Methods inherited from class com.google.common.collect.testing.AbstractTester |
|---|
getName, getSubjectGenerator, getTestMethodName, init, init, tearDown |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, run, run, runBare, runTest, setName, toString |
| 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, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MultisetReadsTester()
| Method Detail |
|---|
public void testCount_0()
public void testCount_1()
public void testCount_3()
public void testCount_null()
public void testCount_wrongType()
public void testElementSet_contains()
public void testEntrySet_contains()
public void testEntrySet_contains_count0()
public void testEntrySet_contains_nonentry()
public void testEntrySet_twice()
public void testEntrySet_hashCode_size0()
public void testEntrySet_hashCode_size1()
public void testEquals_yes()
public void testEquals_differentSize()
public void testEquals_differentElements()
public void testHashCode_size0()
public void testHashCode_size1()
@GwtIncompatible(value="reflection") public static List<Method> getReadsDuplicateInitializingMethods()
Method instances for the read tests that assume multisets
support duplicates so that the test of Multisets.forSet() can
suppress them.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||