diff Resources/CodeGeneration/test/test1.jsonc @ 486:8e40355a172b bgo-commands-codegen

Unit tests OK for preambles, enums and structs in both TS and C++
author bgo-osimis
date Fri, 15 Feb 2019 14:30:26 +0100
parents 38997ceb9bc6
children
line wrap: on
line diff
--- a/Resources/CodeGeneration/test/test1.jsonc	Fri Feb 15 12:07:09 2019 +0100
+++ b/Resources/CodeGeneration/test/test1.jsonc	Fri Feb 15 14:30:26 2019 +0100
@@ -64,6 +64,24 @@
           "name":"Vegetables"
         }
       ]
+    },
+    {
+      "name":"CrispType",
+      "kind":"enum",
+      "fields": [
+        {
+          "name":"SaltAndPepper"
+        },
+        {
+          "name":"CreamAndChives"
+        },
+        {
+          "name":"Paprika"
+        },
+        {
+          "name":"Barbecue"
+        }
+      ]
     }
   ]
 }