From 26609f8b8097b21e952835e7064bc938c8542d93 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Sat, 20 Apr 2013 00:28:19 +0200 Subject: Started with xpath datamodel tests --- README.md | 8 - apps/samples/vrml/viewer.css | 157 ++++++++ apps/samples/vrml/viewer.html | 5 +- apps/samples/vrml/viewer.js | 63 ++- contrib/ctest/CTestCustom.ctest.in | 12 +- src/uscxml/Interpreter.cpp | 6 +- .../plugins/datamodel/xpath/XPathDataModel.cpp | 437 ++++++++++----------- .../plugins/datamodel/xpath/XPathDataModel.h | 27 +- .../ioprocessor/basichttp/BasicHTTPIOProcessor.cpp | 12 +- test/CMakeLists.txt | 2 +- test/samples/w3c/ecma/test568.scxml | 2 +- 11 files changed, 443 insertions(+), 288 deletions(-) create mode 100644 apps/samples/vrml/viewer.css diff --git a/README.md b/README.md index eb40b30..1a520dc 100644 --- a/README.md +++ b/README.md @@ -59,14 +59,6 @@ uSCXML still fails the following tests: "test that any attempt to change the value of a system variable causes error.execution to be raised" Same issue as above: we allow writing to _event. - - 488 - Failed - "test that illegal expr in <param> produces error.execution and empty event.data" - The actual meaning of empty is still ambiguous - in - test 343 - it is assumed to be undefined. This is a bug in the tests and was raised on the ML. - ## License diff --git a/apps/samples/vrml/viewer.css b/apps/samples/vrml/viewer.css new file mode 100644 index 0000000..089d29a --- /dev/null +++ b/apps/samples/vrml/viewer.css @@ -0,0 +1,157 @@ +/* Progress Indicator */ +.mblProgressIndicator { + position: relative; + top: 0px; +} +.mblHeading .mblProgressIndicator { + margin: 5px; + float: left; +} +.mblProgContainer { + position: absolute; + width: 100%; + height: 100%; +} +.mblProgressIndicatorCenter { + position: absolute; + top: 180px; + left: 50%; +} +.mblProgressIndicatorCenter .mblProgContainer { + left: -50%; + -webkit-transform-origin: 50% 0; + -moz-transform-origin: 50% 0; +} +.mblProg { + position: absolute; + left: 2px; + top: 0px; + width: 11px; + font-size: 1px; + height: 4px; + overflow: hidden; + -webkit-transform-origin: 0 2px; + -moz-transform-origin: 0 2px; + background-color: #c0c0c0; + border-radius: 2px; +} +.mblProg0 { + -webkit-transform: translate(18px, 10px) rotate(-90.1deg); + -moz-transform: translate(18px, 10px) rotate(-90.1deg); +} +.mblProg1 { + -webkit-transform: translate(22px, 11px) rotate(-60deg); + -moz-transform: translate(22px, 11px) rotate(-60deg); +} +.mblProg2 { + -webkit-transform: translate(25px, 14px) rotate(-30deg); + -moz-transform: translate(25px, 14px) rotate(-30deg); +} +.mblProg3 { + -webkit-transform: translate(26px, 18px) rotate(0deg); + -moz-transform: translate(26px, 18px) rotate(0deg); +} +.mblProg4 { + -webkit-transform: translate(25px, 22px) rotate(30deg); + -moz-transform: translate(25px, 22px) rotate(30deg); +} +.mblProg5 { + -webkit-transform: translate(22px, 25px) rotate(60deg); + -moz-transform: translate(22px, 25px) rotate(60deg); +} +.mblProg6 { + -webkit-transform: translate(18px, 26px) rotate(90.1deg); + -moz-transform: translate(18px, 26px) rotate(90.1deg); +} +.mblProg7 { + -webkit-transform: translate(14px, 25px) rotate(120deg); + -moz-transform: translate(14px, 25px) rotate(120deg); +} +.mblProg8 { + -webkit-transform: translate(11px, 22px) rotate(150deg); + -moz-transform: translate(11px, 22px) rotate(150deg); +} +.mblProg9 { + -webkit-transform: translate(10px, 18px) rotate(180deg); + -moz-transform: translate(10px, 18px) rotate(180deg); +} +.mblProg10 { + -webkit-transform: translate(11px, 14px) rotate(210deg); + -moz-transform: translate(11px, 14px) rotate(210deg); +} +.mblProg11 { + -webkit-transform: translate(14px, 11px) rotate(240deg); + -moz-transform: translate(14px, 11px) rotate(240deg); +} +.mblProg0Color { + background-color: #c0c0c0; +} +.mblProg1Color { + background-color: #c0c0c0; +} +.mblProg2Color { + background-color: #c0c0c0; +} +.mblProg3Color { + background-color: #c0c0c0; +} +.mblProg4Color { + background-color: #c0c0c0; +} +.mblProg5Color { + background-color: #c0c0c0; +} +.mblProg6Color { + background-color: #b8b9b8; +} +.mblProg7Color { + background-color: #aeafae; +} +.mblProg8Color { + background-color: #a4a5a4; +} +.mblProg9Color { + background-color: #9a9a9a; +} +.mblProg10Color { + background-color: #8e8e8e; +} +.mblProg11Color { + background-color: #838383; +} +.mblProgWhite .mblProg0Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg1Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg2Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg3Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg4Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg5Color { + background-color: #adb9c9; +} +.mblProgWhite .mblProg6Color { + background-color: #acb9cb; +} +.mblProgWhite .mblProg7Color { + background-color: #b7c2d2; +} +.mblProgWhite .mblProg8Color { + background-color: #c4cdda; +} +.mblProgWhite .mblProg9Color { + background-color: #d1d8e2; +} +.mblProgWhite .mblProg10Color { + background-color: #dee3ea; +} +.mblProgWhite .mblProg11Color { + background-color: #eceff3; +} diff --git a/apps/samples/vrml/viewer.html b/apps/samples/vrml/viewer.html index 977eeeb..52b0f66 100644 --- a/apps/samples/vrml/viewer.html +++ b/apps/samples/vrml/viewer.html @@ -5,12 +5,13 @@ +