com.google.common.collect.testing.google
Class MultisetWritesTester<E>
java.lang.Object
junit.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.MultisetWritesTester<E>
- All Implemented Interfaces:
- junit.framework.Test
@GwtCompatible
public class MultisetWritesTester<E>
- extends AbstractMultisetTester<E>
A generic JUnit test which tests multiset-specific write operations.
Can't be invoked directly; please see MultisetTestSuiteBuilder
.
- Author:
- Jared Levy
Methods inherited from class com.google.common.collect.testing.AbstractContainerTester |
createArrayWithDuplicateElement, createDisjointCollection, createSamplesArray, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer, setUp |
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 |
MultisetWritesTester
public MultisetWritesTester()
getEntrySetIteratorMethod
public static Method getEntrySetIteratorMethod()
- Returns the
Method
instance for
testEntrySet_iterator()
so that tests of
classes with unmodifiable iterators can suppress it.
testAddOccurrencesZero
public void testAddOccurrencesZero()
testAddOccurrences
public void testAddOccurrences()
testAddOccurrences_unsupported
public void testAddOccurrences_unsupported()
testAdd_occurrences_negative
public void testAdd_occurrences_negative()
testRemoveZeroNoOp
public void testRemoveZeroNoOp()
testRemove_occurrences_present
public void testRemove_occurrences_present()
testRemove_occurrences_absent
public void testRemove_occurrences_absent()
testRemove_occurrences_unsupported_absent
public void testRemove_occurrences_unsupported_absent()
testRemove_occurrences_0
public void testRemove_occurrences_0()
testRemove_occurrences_negative
public void testRemove_occurrences_negative()
testRemove_occurrences_wrongType
public void testRemove_occurrences_wrongType()
testEntrySet_clear
public void testEntrySet_clear()
testEntrySet_iterator
public void testEntrySet_iterator()
testEntrySet_iterator_remove_unsupported
public void testEntrySet_iterator_remove_unsupported()
testEntrySet_remove_present
public void testEntrySet_remove_present()
testEntrySet_remove_missing
public void testEntrySet_remove_missing()
testEntrySet_removeAll_present
public void testEntrySet_removeAll_present()
testEntrySet_removeAll_missing
public void testEntrySet_removeAll_missing()
testEntrySet_removeAll_null
public void testEntrySet_removeAll_null()
testEntrySet_retainAll_present
public void testEntrySet_retainAll_present()
testEntrySet_retainAll_missing
public void testEntrySet_retainAll_missing()
testEntrySet_retainAll_null
public void testEntrySet_retainAll_null()
Copyright © 2010-2012. All Rights Reserved.