|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.testers.CollectionRemoveAllTester<E>
public class CollectionRemoveAllTester<E>
A generic JUnit test which tests removeAll
operations on a
collection. Can't be invoked directly; please see
CollectionTestSuiteBuilder
.
This class is GWT compatible.
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 | |
---|---|
CollectionRemoveAllTester()
|
Method Summary | |
---|---|
void |
testRemoveAll_allPresent()
|
void |
testRemoveAll_containsNullNo()
|
void |
testRemoveAll_containsNullNoButAllowed()
|
void |
testRemoveAll_containsNullYes()
|
void |
testRemoveAll_containsWrongType()
|
void |
testRemoveAll_emptyCollection()
|
void |
testRemoveAll_nonePresent()
|
void |
testRemoveAll_nullCollectionReferenceEmptySubject()
|
void |
testRemoveAll_nullCollectionReferenceNonEmptySubject()
|
void |
testRemoveAll_somePresent()
|
void |
testRemoveAll_somePresentLargeCollectionToRemove()
Trigger the other.size() >= this.size() case in AbstractSet.removeAll(). |
void |
testRemoveAll_unsupportedEmptyCollection()
|
void |
testRemoveAll_unsupportedNonePresent()
|
void |
testRemoveAll_unsupportedPresent()
|
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, 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 CollectionRemoveAllTester()
Method Detail |
---|
public void testRemoveAll_emptyCollection()
public void testRemoveAll_nonePresent()
public void testRemoveAll_allPresent()
public void testRemoveAll_somePresent()
public void testRemoveAll_somePresentLargeCollectionToRemove()
public void testRemoveAll_unsupportedEmptyCollection()
public void testRemoveAll_unsupportedNonePresent()
public void testRemoveAll_unsupportedPresent()
public void testRemoveAll_nullCollectionReferenceEmptySubject()
public void testRemoveAll_nullCollectionReferenceNonEmptySubject()
public void testRemoveAll_containsNullNo()
public void testRemoveAll_containsNullNoButAllowed()
public void testRemoveAll_containsNullYes()
public void testRemoveAll_containsWrongType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |