Class ListSetTester<E>

    • Constructor Detail

      • ListSetTester

        public ListSetTester()
    • Method Detail

      • testSet

        public void testSet()
      • testSet_null

        public void testSet_null()
      • testSet_replacingNull

        public void testSet_replacingNull()
      • testSet_indexTooLow

        public void testSet_indexTooLow()
      • testSet_indexTooHigh

        public void testSet_indexTooHigh()
      • testSet_unsupported

        public void testSet_unsupported()
      • testSet_unsupportedByEmptyList

        public void testSet_unsupportedByEmptyList()
      • testSet_nullUnsupported

        public void testSet_nullUnsupported()
      • getSetNullSupportedMethod

        @GwtIncompatible
        public static java.lang.reflect.Method getSetNullSupportedMethod()
        Returns the Method instance for testSet_null() so that tests of Collections.checkedCollection(java.util.Collection, Class) can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() until Sun bug 6409434 is fixed. It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to permit them, as it seems more likely that code would depend on that behavior than on the other. Thus, we say the bug is in set(), which fails to support null.