]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - replay/scripts/tests/generate-input-with-vector-members.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-input-with-vector-members.json
index eb3487c9e3b00c51c56f069093180857c5ab654a..eabd072e1446d7b9c23774c686f827e459775816 100644 (file)
@@ -9,20 +9,34 @@
         ],
 
         "WebCore": [
-            { "name": "WebThing", "mode": "SCALAR", "header": "things/WebThing.h"  }
+            { "name": "WebThing", "mode": "SCALAR", "header": "things/WebThing.h" },
+            {
+                "name": "HistoryItem", "mode": "SHARED",
+                "header": "history/HistoryItem.h"
+            }
         ]
     },
 
-    "inputs": [
-        {
-            "name": "ArrayOfThings",
-            "description": "Supplies arrays of things.",
-            "queue": "SCRIPT_MEMOIZED",
-            "members": [
-                { "name": "doubles", "type": "double", "flags": ["VECTOR"] },
-                { "name": "jsthings", "type": "JSThing", "flags": ["VECTOR"] },
-                { "name": "webthings", "type": "WebThing", "flags": ["VECTOR"] }
-            ]
-        }
-    ]
+    "inputs": {
+        "Test": [
+            {
+                "name": "ArrayOfThings",
+                "description": "Supplies arrays of things.",
+                "queue": "SCRIPT_MEMOIZED",
+                "members": [
+                    { "name": "doubles", "type": "double", "flags": ["VECTOR"] },
+                    { "name": "jsthings", "type": "JSThing", "flags": ["VECTOR"] },
+                    { "name": "webthings", "type": "WebThing", "flags": ["VECTOR"] }
+                ]
+            },
+            {
+                "name": "SavedHistory",
+                "description": "Save history items.",
+                "queue": "SCRIPT_MEMOIZED",
+                "members": [
+                    { "name": "entries", "type": "HistoryItem", "flags": ["VECTOR"] }
+                ]
+            }
+        ]
+    }
 }