Commit 1c618809 authored by Volker Krause's avatar Volker Krause
Browse files

Verify the trigger node arugment in the script engine unit test as well

parent ae94fe60
......@@ -45,13 +45,14 @@ function dumpValue(value, depth)
return value;
}
function dumpArgs(content, node)
function dumpArgs(content, node, triggerNode)
{
var res = new Array();
var wrapper = new Object();
wrapper.content = dumpValue(content, 6);
res.push(wrapper);
res.push(dumpValue(node, 6));
res.push({ triggerNodeEqualsNode: triggerNode == node });
res.push(dumpValue(Context, 6));
return res;
}
......@@ -63,6 +63,9 @@
}
]
},
{
"triggerNodeEqualsNode": true
},
{
"barcode": "#UT010080000020,\u0002\u0014\u001a绥\u0005��\u001e\r\bh�p���;�\u001bb\u0002\u0014i�ӈ|\u0003W������������\u001f",
"data": [
......
......@@ -85,6 +85,9 @@
"result": [
]
},
{
"triggerNodeEqualsNode": true
},
{
"objectName": "",
"pdfPageNumber": -1
......
......@@ -69,6 +69,9 @@
}
]
},
{
"triggerNodeEqualsNode": true
},
{
"data": [
{
......
......@@ -75,6 +75,9 @@
"result": [
]
},
{
"triggerNodeEqualsNode": true
},
{
"objectName": "",
"pdfPageNumber": -1
......
......@@ -86,6 +86,9 @@
"result": [
]
},
{
"triggerNodeEqualsNode": true
},
{
"objectName": "",
"pdfPageNumber": -1
......
......@@ -12,6 +12,9 @@
"result": [
]
},
{
"triggerNodeEqualsNode": true
},
{
"barcode": "Hello World!\n",
"objectName": "",
......
......@@ -462,6 +462,9 @@
"result": [
]
},
{
"triggerNodeEqualsNode": true
},
{
"objectName": "",
"pdfPageNumber": -1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment