Uploaded image for project: 'Commons SCXML'
  1. Commons SCXML
  2. SCXML-234

Unit test (ScriptTest) fails on Java 1.8 due to new JS Engine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description

      One unit test fails:

      Running org.apache.commons.scxml2.model.ScriptTest
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec <<< FAILURE! - in org.apache.commons.scxml2.model.ScriptTest
      testJavaScriptExecution(org.apache.commons.scxml2.model.ScriptTest)  Time elapsed: 0.218 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[end]> but was:<[script]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.commons.scxml2.model.ScriptTest.testJavaScriptExecution(ScriptTest.java:49)
      

      Tested on JDK 1.8.

      Attachments

        Activity

          People

            woon_san Woonsan Ko
            woon_san Woonsan Ko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: