Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2019

TestCases failure for Tiny class of java.hints module with nb-javac for jdk-12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.0
    • None
    • None

    Description

      Test Failures:

      [junit] Testcase: testFillSwitch1(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED
      [junit] Testcase: testFillSwitch2(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED
      [junit] Testcase: testFillSwitchOnlyGenerateDefault(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED
      [junit] Testcase: testFillSwitchGenerateDefault(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED
      [junit] Testcase: testFillSwitchDefault(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED

       

      Sample Error log:

      Testcase: testFillSwitchDefault(org.netbeans.modules.java.hints.suggestions.TinyTest): FAILED
      Warning: "4:10-4:10:hint:ERR_Tiny.fillSwitchCases" not found. All ErrorDescriptions: []
      junit.framework.AssertionFailedError: Warning: "4:10-4:10:hint:ERR_Tiny.fillSwitchCases" not found. All ErrorDescriptions: []
      at org.netbeans.modules.java.hints.test.api.HintTest$HintOutput.findWarning(HintTest.java:866)
      at org.netbeans.modules.java.hints.suggestions.TinyTest.testFillSwitchDefault(TinyTest.java:501)
      at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
      at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460)
      at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Activity

          People

            Unassigned Unassigned
            arunava.sinha ARUNAVA SINHA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: