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

BindingsListTest.testBooleanValueAt_Variable_NegativeIndex has null index not negative

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P5
    • Resolution: Fixed
    • 8
    • 8
    • javafx
    • None

    Description

      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);
          }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: