SCXML-tutorial

SCION SCXML W3C Optional tests passing results

SCION SCXML provides a complete system for developing applications based on SCXML/Statecharts in JavaScript

OS

Windows 7 Version 6.1 (Build 7601: SP 1) [winnt version 6.1.7601]

Tools

SCION command-line tool (version 1.0.37): allows you to visualize, lint, compile and interactively run SCXML files

Summary info

Test passing log

Starting test193.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0

exiting state s0
transitioning from s0 to s1
entering state s1
exiting state s1

transitioning from s1 to pass

entering state pass
Outcome pass

Test [test193.scxml] passed!
Starting test201.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":6,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test201.scxml] failed!
Starting test278.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test278.scxml] passed!
Starting test444.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test444.scxml] passed!
Starting test445.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test445.scxml] passed!
Starting test446.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
ERROR:{"name":"error.execution","data":{"tagname":"script","line":6,"column":5,"reason":"Error downloading document \"g:/GitHub/SCXML-tutorial/Tests/ecma/W3C/Optional/Auto/test446.txt\", Unrecognized protocol"},"type":"platform"}
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"undefined","line":9,"column":22,"reason":"var1 is not defined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test446.scxml] failed!
Starting test448.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
entering state s01
exiting state s01
exiting state s0
transitioning from s0 to s1
entering state s1
entering state s01p
entering state s01p1
entering state s01p2
exiting state s01p2
exiting state s01p1
exiting state s01p
exiting state s1
transitioning from s01p1 to pass
entering state pass
Outcome pass

Test [test448.scxml] passed!
Starting test449.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test449.scxml] passed!
Starting test451.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state p
entering state s0
entering state s1
exiting state s1
exiting state s0
exiting state p
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test451.scxml] passed!
Starting test452.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test452.scxml] passed!
Starting test453.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test453.scxml] passed!
Starting test456.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test456.scxml] passed!
Starting test457.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"foreach","line":15,"column":7,"reason":"Variable Var4 does not contain a legal array value"},"type":"platform"}
exiting state s0
transitioning from s0 to s1
entering state s1
ERROR:{"name":"error.execution","data":{"tagname":"script","line":26,"column":7,"reason":"Illegal identifier: 'continue'"},"type":"platform"}
exiting state s1
transitioning from s1 to s2
entering state s2
exiting state s2
transitioning from s2 to s3
entering state s3

exiting state s3
transitioning from s3 to pass
entering state pass
Outcome pass

Test [test457.scxml] passed!
Starting test459.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test459.scxml] passed!
Starting test460.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test460.scxml] passed!
Starting test509.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":7,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail

entering state fail
Outcome fail

Test [test509.scxml] failed!
Starting test510.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":6,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test510.scxml] failed!
Starting test518.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":9,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail

Outcome fail

Test [test518.scxml] failed!
Starting test519.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":6,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test519.scxml] failed!
Starting test520.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":6,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0

transitioning from s0 to fail
entering state fail
Outcome fail

Test [test520.scxml] failed!
Starting test522.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":7,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}

exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test522.scxml] failed!
Starting test531.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":7,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail

entering state fail
Outcome fail

Test [test531.scxml] failed!
Starting test532.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":7,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail

Outcome fail

Test [test532.scxml] failed!
Starting test534.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":6,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail

Outcome fail

Test [test534.scxml] failed!
Starting test557.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
ERROR:{"name":"error.execution","data":{"tagname":"script","line":10,"column":3,"reason":"Error downloading document \"g:/GitHub/SCXML-tutorial/Tests/ecma/W3C/Optional/Auto/test557.txt\", Unrecognized protocol"},"type":"platform"}
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"undefined","line":13,"column":20,"reason":"var1 is not defined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test557.scxml] failed!
Starting test558.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
ERROR:{"name":"error.execution","data":{"tagname":"script","line":9,"column":3,"reason":"Error downloading document \"g:/GitHub/SCXML-tutorial/Tests/ecma/W3C/Optional/Auto/test558.txt\", Unrecognized protocol"},"type":"platform"}
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"undefined","line":12,"column":20,"reason":"var1 is not defined"},"type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test558.scxml] failed!
Starting test560.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0

exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test560.scxml] passed!
Starting test561.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0

exiting state s0

transitioning from s0 to pass
entering state pass
Outcome pass

Test [test561.scxml] passed!
Starting test562.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0

exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test562.scxml] passed!
Starting test567.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":{"tagname":"send","line":12,"column":7,"reason":"Cannot read property 'location' of undefined"},"type":"platform"}
exiting state s0

transitioning from s0 to fail
entering state fail
Outcome fail

Test [test567.scxml] failed!
Starting test569.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test569.scxml] passed!
Starting test577.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0
ERROR:{"name":"error.execution","data":"Unsupported event processor type","type":"platform"}
exiting state s0
transitioning from s0 to fail
entering state fail
Outcome fail

Test [test577.scxml] failed!
Starting test578.scxml...
scxml.scion property is now deprecated. Use property scxml.core instead (or scion.core in the browser)

exiting state $generated-initial-0

transitioning from $generated-initial-0 to $generated-scxml-0

entering state $generated-scxml-0
entering state s0

exiting state s0
transitioning from s0 to pass
entering state pass
Outcome pass

Test [test578.scxml] passed!
Elapsed: 00:00:18.897
All 33 tests were completed!
Passed: 18
Manual or restricted: 0
Timeout: 0
Failed: 15
Total Failed: 15

Test Result Description
test193.scxml Pass we test that omitting target and targetexpr of <send> when using the SCXML event i/o processor puts the event on the external queue.
test201.scxml Fail we test that the processor supports the basic http event i/o processor. This is an optional test since platforms are not required to support basic http event i/o
test278.scxml Pass test that a variable can be accessed from a state that is outside its lexical scope
test444.scxml Pass test that <data> creates a new ecmascript variable.
test445.scxml Pass test that ecmascript objects defined by <data> have value undefined if <data> does not assign a value
test446.scxml Fail in the ECMA data model, test that if the child of <data> is JSON, the processor assigns it as the value of the var
test448.scxml Pass test that all ecmascript objects are placed in a single global scope
test449.scxml Pass test that ecmascript objects are converted to booleans inside cond
test451.scxml Pass simple test of the in() predicate
test452.scxml Pass test that we can assign to any location in the datamodel. In this case, we just test that we can assign to a substructure (not the top level variable). This may not be the most idiomatic way to write the test
test453.scxml Pass test that we can use any ecmascript expression as a value expression. In this case, we just test that we can assign a function to a variable and then call it.
test456.scxml Pass we can't test that _any_ ecmascript is valid inside <script>, so we just run a simple one and check that it can update the data model.
test457.scxml Pass test that an the legal iterable collections are arrays, namely objects that satisfy instanceof(Array) in ECMAScript. the legal values for the 'item' attribute on foreach are legal ECMAScript variable names..
test459.scxml Pass test that foreach goes over the array in the right order. since the array contains 1 2 3, we compare the current value with the previous value, which is stored in var1. The current value should always be larger. If it ever isn't, set Var4 to 0, indicating failure. Also check that the final value of the index is 2 (meaning that the initial value was 0, not 1)
test460.scxml Pass test that <foreach> does a shallow copy, so that modifying the array does not change the iteration behavior.
test509.scxml Fail test that Basic HTTP Event I/O processor uses POST method and that it can receive messages at the accessURI
test510.scxml Fail test that Basic HTTP messages go into external queue.
test518.scxml Fail test that that namelist values get encoded as POST parameters.
test519.scxml Fail test that that <param> values get encoded as POST parameters. .
test520.scxml Fail test that that <content> gets sent as the body of the message.
test522.scxml Fail test that location field the entry for Basic HTTP Event I/O processor can be used to send a message to the processor
test531.scxml Fail test that that the value of the <param> _scxmleventname gets used as the name of the raised event.
test532.scxml Fail test that that if _scxmleventname is not present, the name of the HTTP method is used as the name of the resulting event.
test534.scxml Fail test that that <send> 'event' value gets sent as the param _scxmleventname .
test557.scxml Fail in the ECMA data model, test that if the child of <data> is XML, or if XML is loaded via src=, the processor assigns it as the value of the var
test558.scxml Fail in the ECMA data model, test that if the child of <data> is not XML, or if XML is loaded via src=, the processor treats the value as a string, does whitespace normalization and assigns it to the var.
test560.scxml Pass in the ECMA data model, test that processor creates correct structure in _event.data when receiving KVPs in an event
test561.scxml Pass in the ECMA data model, test that processor creates an ECMAScript DOM object _event.data when receiving XML in an event
test562.scxml Pass in the ECMA data model, test that processor creates space normalized string in _event.data when receiving anything other than KVPs or XML in an event
test567.scxml Fail test that that any content in the message other than _scxmleventname is used to populate _event.data.
test569.scxml Pass test that location field is found inside entry for SCXML Event I/O processor in the ECMAScript data model. The tests for the relevant event i/o processors will test that it can be used to send events.
test577.scxml Fail test that that <send> without target in basichttp event i/o processor causes error.communication to get added to internal queue .
test578.scxml Pass in the ECMA data model, test that processor creates an ECMAScript object _event.data when receiving JSON in an event