Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120507

BindingsListTest.testBooleanValueAt_Variable_NegativeIndex has null index not negative

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 8
    • 8
    • javafx
    • None

      Test name is misleading. It checks for null index instead of negative:

          @Test(expected = NullPointerException.class)
          public void testBooleanValueAt_Variable_NegativeIndex() {
              final ListProperty<Boolean> localProperty = new SimpleListProperty<Boolean>();
              Bindings.booleanValueAt(localProperty, null);
          }

            msladecek Martin Sládeček
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: