[ 
https://issues.apache.org/jira/browse/SCXML-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Woonsan Ko updated SCXML-234:
-----------------------------
    Description: 
One unit test fails:
{code}
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)
{code}

Tested on JDK 1.8.

  was:
One unit test fails on JDK 1.8:
{code}
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)
{code}

This works fine on JDK 1.7.


> Unit test (ScriptTest) fails on JDK 1.8
> ---------------------------------------
>
>                 Key: SCXML-234
>                 URL: https://issues.apache.org/jira/browse/SCXML-234
>             Project: Commons SCXML
>          Issue Type: Bug
>            Reporter: Woonsan Ko
>
> One unit test fails:
> {code}
> 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)
> {code}
> Tested on JDK 1.8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to