com.google.common.collect.testing.google
Class MultisetNavigationTester<E>

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.google.common.collect.testing.AbstractTester<OneSizeTestContainerGenerator<C,E>>
              extended by com.google.common.collect.testing.AbstractContainerTester<Collection<E>,E>
                  extended by com.google.common.collect.testing.AbstractCollectionTester<E>
                      extended by com.google.common.collect.testing.google.AbstractMultisetTester<E>
                          extended by com.google.common.collect.testing.google.MultisetNavigationTester<E>
All Implemented Interfaces:
junit.framework.Test

@GwtCompatible
public class MultisetNavigationTester<E>
extends AbstractMultisetTester<E>

Tester for navigation of SortedMultisets.

Author:
Louis Wasserman

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
MultisetNavigationTester()
           
 
Method Summary
 void setUp()
           
 void testAddOutOfHeadBoundsOne()
           
 void testAddOutOfHeadBoundsSeveral()
           
 void testAddOutOfTailBoundsOne()
           
 void testAddOutOfTailBoundsSeveral()
           
 void testAddWithConflictingBounds()
           
 void testCeiling()
           
 void testClearHeadClosed()
           
 void testClearHeadClosedEntrySet()
           
 void testClearHeadOpen()
           
 void testClearHeadOpenEntrySet()
           
 void testClearTailClosed()
           
 void testClearTailClosedEntrySet()
           
 void testClearTailOpen()
           
 void testClearTailOpenEntrySet()
           
 void testConflictingBounds()
           
 void testDescendingNavigation()
           
 void testEmptyMultisetFirst()
           
 void testEmptyMultisetLast()
           
 void testEmptyMultisetNearby()
           
 void testEmptyMultisetPollFirst()
           
 void testEmptyMultisetPollLast()
           
 void testEmptyRangeSubMultiset(SortedMultiset<E> multiset)
           
 void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset)
           
 void testFirst()
           
 void testFloor()
           
 void testHeadClosedDistinctElements()
           
 void testHeadClosedEntrySet()
           
 void testHeadClosedSize()
           
 void testHeadOpenDistinctElements()
           
 void testHeadOpenEntrySet()
           
 void testHeadOpenSize()
           
 void testHigher()
           
 void testLast()
           
 void testLower()
           
 void testPollFirst()
           
 void testPollFirstUnsupported()
           
 void testPollLast()
           
 void testPollLastUnsupported()
           
 void testRemoveOutOfHeadBoundsOne()
           
 void testRemoveOutOfHeadBoundsSeveral()
           
 void testRemoveOutOfTailBoundsOne()
           
 void testRemoveOutOfTailBoundsSeveral()
           
 void testSetCountOutOfHeadBoundsOne()
           
 void testSetCountOutOfHeadBoundsSeveral()
           
 void testSetCountOutOfTailBoundsOne()
           
 void testSetCountOutOfTailBoundsSeveral()
           
 void testSingletonMultisetFirst()
           
 void testSingletonMultisetLast()
           
 void testSingletonMultisetNearby()
           
 void testSingletonMultisetPollFirst()
           
 void testSingletonMultisetPollLast()
           
 void testTailClosedDistinctElements()
           
 void testTailClosedEntrySet()
           
 void testTailClosedSize()
           
 void testTailOpenDistinctElements()
           
 void testTailOpenEntrySet()
           
 void testTailOpenSize()
           
 
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, createSamplesArray, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer
 
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

MultisetNavigationTester

public MultisetNavigationTester()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractContainerTester<Collection<E>,E>
Throws:
Exception

testEmptyMultisetFirst

public void testEmptyMultisetFirst()

testEmptyMultisetPollFirst

public void testEmptyMultisetPollFirst()

testEmptyMultisetNearby

public void testEmptyMultisetNearby()

testEmptyMultisetLast

public void testEmptyMultisetLast()

testEmptyMultisetPollLast

public void testEmptyMultisetPollLast()

testSingletonMultisetFirst

public void testSingletonMultisetFirst()

testSingletonMultisetPollFirst

public void testSingletonMultisetPollFirst()

testSingletonMultisetNearby

public void testSingletonMultisetNearby()

testSingletonMultisetLast

public void testSingletonMultisetLast()

testSingletonMultisetPollLast

public void testSingletonMultisetPollLast()

testFirst

public void testFirst()

testPollFirst

public void testPollFirst()

testPollFirstUnsupported

public void testPollFirstUnsupported()

testLower

public void testLower()

testFloor

public void testFloor()

testCeiling

public void testCeiling()

testHigher

public void testHigher()

testLast

public void testLast()

testPollLast

public void testPollLast()

testPollLastUnsupported

public void testPollLastUnsupported()

testDescendingNavigation

public void testDescendingNavigation()

testAddOutOfTailBoundsOne

public void testAddOutOfTailBoundsOne()

testAddOutOfTailBoundsSeveral

public void testAddOutOfTailBoundsSeveral()

testAddOutOfHeadBoundsOne

public void testAddOutOfHeadBoundsOne()

testAddOutOfHeadBoundsSeveral

public void testAddOutOfHeadBoundsSeveral()

testRemoveOutOfTailBoundsOne

public void testRemoveOutOfTailBoundsOne()

testRemoveOutOfTailBoundsSeveral

public void testRemoveOutOfTailBoundsSeveral()

testRemoveOutOfHeadBoundsOne

public void testRemoveOutOfHeadBoundsOne()

testRemoveOutOfHeadBoundsSeveral

public void testRemoveOutOfHeadBoundsSeveral()

testSetCountOutOfTailBoundsOne

public void testSetCountOutOfTailBoundsOne()

testSetCountOutOfTailBoundsSeveral

public void testSetCountOutOfTailBoundsSeveral()

testSetCountOutOfHeadBoundsOne

public void testSetCountOutOfHeadBoundsOne()

testSetCountOutOfHeadBoundsSeveral

public void testSetCountOutOfHeadBoundsSeveral()

testAddWithConflictingBounds

public void testAddWithConflictingBounds()

testConflictingBounds

public void testConflictingBounds()

testEmptyRangeSubMultiset

public void testEmptyRangeSubMultiset(SortedMultiset<E> multiset)

testEmptyRangeSubMultisetSupportingAdd

public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset)

testTailClosedEntrySet

public void testTailClosedEntrySet()

testTailClosedSize

public void testTailClosedSize()

testTailClosedDistinctElements

public void testTailClosedDistinctElements()

testTailOpenEntrySet

public void testTailOpenEntrySet()

testTailOpenSize

public void testTailOpenSize()

testTailOpenDistinctElements

public void testTailOpenDistinctElements()

testHeadClosedEntrySet

public void testHeadClosedEntrySet()

testHeadClosedSize

public void testHeadClosedSize()

testHeadClosedDistinctElements

public void testHeadClosedDistinctElements()

testHeadOpenEntrySet

public void testHeadOpenEntrySet()

testHeadOpenSize

public void testHeadOpenSize()

testHeadOpenDistinctElements

public void testHeadOpenDistinctElements()

testClearTailOpen

public void testClearTailOpen()

testClearTailOpenEntrySet

public void testClearTailOpenEntrySet()

testClearTailClosed

public void testClearTailClosed()

testClearTailClosedEntrySet

public void testClearTailClosedEntrySet()

testClearHeadOpen

public void testClearHeadOpen()

testClearHeadOpenEntrySet

public void testClearHeadOpenEntrySet()

testClearHeadClosed

public void testClearHeadClosed()

testClearHeadClosedEntrySet

public void testClearHeadClosedEntrySet()


Copyright © 2010-2012. All Rights Reserved.