]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - replay/scripts/tests/generate-enum-with-guard.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-enum-with-guard.json
index 680e320dd6617237f0118ea6189420b07bf33746..20ea35922e506b53a5a6b836a2f750b9d2e84f4e 100644 (file)
@@ -7,9 +7,11 @@
             {
                 "name": "PlatformWheelEvent", "mode": "OWNED",
                 "header": "platform/PlatformWheelEvent.h"
-            },
+            }
+        ],
+        "Test": [
             {
-                "name": "PlatformWheelEventPhase", "mode": "SCALAR", "storage": "uint64_t",
+                "name": "PlatformWheelPhase", "mode": "SCALAR", "storage": "uint64_t",
                 "flags": ["ENUM"],
                 "guard": "ENABLE(DUMMY_FEATURE)",
                 "values": ["PlatformWheelEventPhaseNone"],
         ]
     },
 
-    "inputs": [
-        {
-            "name": "HandleWheelEvent",
-            "description": "",
-            "queue": "EVENT_LOOP",
-            "members": [
-                { "name": "platformEvent", "type": "PlatformWheelEvent" }
-            ]
-        }
-    ]
+    "inputs": {
+        "Test": [
+            {
+                "name": "HandleWheelEvent",
+                "description": "",
+                "queue": "EVENT_LOOP",
+                "members": [
+                    { "name": "platformEvent", "type": "PlatformWheelEvent" },
+                    { "name": "phase", "type": "PlatformWheelPhase" }
+                ]
+            }
+        ]
+    }
 }