Class MultisetRemoveTester<E>

  • All Implemented Interfaces:
    junit.framework.Test

    @GwtCompatible(emulated=true)
    public class MultisetRemoveTester<E>
    extends AbstractMultisetTester<E>
    Tests for Multiset#remove, Multiset.removeAll, and Multiset.retainAll not already covered by the corresponding Collection testers.
    • Constructor Detail

      • MultisetRemoveTester

        public MultisetRemoveTester()
    • Method Detail

      • testRemoveNegative

        public void testRemoveNegative()
      • testRemoveUnsupported

        public void testRemoveUnsupported()
      • testRemoveZeroNoOp

        public void testRemoveZeroNoOp()
      • testRemove_occurrences_present

        public void testRemove_occurrences_present()
      • testRemove_some_occurrences_present

        public void testRemove_some_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()
      • testRemove_nullPresent

        public void testRemove_nullPresent()
      • testRemove_nullAbsent

        public void testRemove_nullAbsent()
      • testRemove_nullForbidden

        public void testRemove_nullForbidden()
      • testRemoveAllIgnoresCount

        public void testRemoveAllIgnoresCount()
      • testRetainAllIgnoresCount

        public void testRetainAllIgnoresCount()
      • getRemoveDuplicateInitializingMethods

        @GwtIncompatible
        public static java.util.List<java.lang.reflect.Method> getRemoveDuplicateInitializingMethods()
        Returns Method instances for the remove tests that assume multisets support duplicates so that the test of Multisets.forSet() can suppress them.