aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qjsengine
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2018-05-29 22:41:34 +0200
committerRobin Burchell <robin.burchell@crimson.no>2018-06-01 11:53:37 +0000
commita0fcf724ef1d8586301a913d2cd744aed33e3605 (patch)
tree07f9c32d835b0323e591fc5dc6f840f3ce426528 /tests/auto/qml/qjsengine
parent19f657d9957e29034c719d6a6b015f7a78ae1a4a (diff)
Add the start of a Map from ES7
Like Set, for the time being, this is baseed on top of ArrayObject: two of them, one for keys, one for values. Again, this goes against the spirit of the spec (which requires nonlinear access), but having the API present is at least a start, and the implementation is easily changed. Change-Id: Idcf0ad8d92eb5daac734d52e8e2dd4c8e0dd5109 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qjsengine')
-rw-r--r--tests/auto/qml/qjsengine/tst_qjsengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qjsengine/tst_qjsengine.cpp b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
index dc3db2958c..42ee089bb5 100644
--- a/tests/auto/qml/qjsengine/tst_qjsengine.cpp
+++ b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
@@ -970,6 +970,7 @@ void tst_QJSEngine::globalObjectProperties_enumerate()
<< "Float32Array"
<< "Float64Array"
<< "Set"
+ << "Map"
;
QSet<QString> actualNames;
{