@GwtCompatible(emulated=true) public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E>
MultisetSetCountUnconditionallyTester
and
MultisetSetCountConditionallyTester
. It is used by those testers to
test calls to the unconditional setCount()
method and calls to the
conditional setCount()
method when the expected present count is
correct.AbstractContainerTester.ArrayWithDuplicate<E>
collection
container, samples
Constructor and Description |
---|
AbstractMultisetSetCountTester() |
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
countTestCases, createResult, run, run, runBare, runTest, setName, toString
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
public void testSetCount_zeroToZero_addSupported()
public void testSetCount_zeroToZero_removeSupported()
public void testSetCount_zeroToZero_unsupported()
public void testSetCount_oneToOne_addSupported()
public void testSetCount_oneToOne_removeSupported()
public void testSetCount_oneToOne_unsupported()
public void testSetCount_threeToThree_addSupported()
public void testSetCount_threeToThree_removeSupported()
public void testSetCount_threeToThree_unsupported()
public void testSetCount_zeroToOne_supported()
public void testSetCountZeroToOneConcurrentWithIteration()
public void testSetCountZeroToOneConcurrentWithEntrySetIteration()
public void testSetCount_zeroToThree_supported()
public void testSetCount_oneToThree_supported()
public void testSetCount_zeroToOne_unsupported()
public void testSetCount_zeroToThree_unsupported()
public void testSetCount_oneToThree_unsupported()
public void testSetCount_oneToZero_supported()
public void testSetCountOneToZeroConcurrentWithIteration()
public void testSetCountOneToZeroConcurrentWithEntrySetIteration()
public void testSetCount_threeToZero_supported()
public void testSetCount_threeToOne_supported()
public void testSetCount_oneToZero_unsupported()
public void testSetCount_threeToZero_unsupported()
public void testSetCount_threeToOne_unsupported()
public void testSetCount_removeNull_nullSupported()
public void testSetCount_addNull_nullSupported()
public void testSetCount_addNull_nullUnsupported()
public void testSetCount_noOpNull_nullSupported()
public void testSetCount_noOpNull_nullUnsupported()
public void testSetCount_existingNoNopNull_nullSupported()
public void testSetCount_negative_removeSupported()
public void testSetCount_negative_removeUnsupported()
Copyright © 2010-2016. All Rights Reserved.