Some tests doesn't test actual controls classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: None
    • Component/s: javafx
    • None

      javafx.scene.control.ControlTest.testRT18097 actually tests built tests classes, not the controls classes.
      The reason for this is because when running "gradle test" the classpath is constructed so that the modules\controls\build\classes\test happens before the modules\controls\build\classes\main and the cl.getResource("javafx/.."); call returns modules\controls\build\classes\test when it should return modules\controls\build\classes\main.
      When running tests from NB (which require some manual adding classpaths), this call returns netbeans\controls\build\classes and the test runs correctly.

            Assignee:
            Vadim Pakhnushev
            Reporter:
            Vadim Pakhnushev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: