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

Unit tests of php.editor fail

    XMLWordPrintableJSON

Details

    Description

      Some unit tests fail.

      Steps to reproduce

      1. Open php.editor module
      2. Right-click the module then click Run
      3. Install Oracle JS Parser implementation
      4. Stop the module
      5. Open a unit test file: see the below
      6. Right-click the editor
      7. Click Run File or Test File

      I've investigated a bit. It seems that unit tests fail after GraalJS Parser is removed.
      commit: https://github.com/apache/incubator-netbeans/commit/3357fa5b18590908ac9de4ad7e55ab1fdf88cd50

      e.g.

      Unit tests passed when I've checkout https://github.com/apache/incubator-netbeans/commit/123f616488cbd335d63da493bb19b1aaabd0ac2f (previous commit)

      Attachments

        1. nb-php-unit-test-errors-4.png
          125 kB
          Junichi Yamamoto
        2. nb-php-unit-test-errors-3.png
          163 kB
          Junichi Yamamoto
        3. nb-php-unit-test-errors-5.png
          47 kB
          Junichi Yamamoto
        4. nb-php-unit-test-errors-1.png
          54 kB
          Junichi Yamamoto
        5. nb-php-unit-test-errors-2.png
          41 kB
          Junichi Yamamoto
        6. log2.txt
          0.5 kB
          Junichi Yamamoto
        7. log1.txt
          3 kB
          Junichi Yamamoto

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              junichi11 Junichi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h