Add build test for JSON model

This commit is contained in:
Lucien Greathouse
2019-08-14 18:03:19 -07:00
parent 36bcb611f1
commit 7575504b80
4 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"name": "json_model_in_folder",
"tree": {
"$path": "folder"
}
}

View File

@@ -0,0 +1,13 @@
{
"Name": "Top-Level Value",
"ClassName": "IntValue",
"Properties": {
"Value": 5
},
"Children": [
{
"Name": "A Child",
"ClassName": "Folder"
}
]
}

View File

@@ -26,6 +26,7 @@ gen_build_tests! {
csv_bug_147,
csv_in_folder,
gitkeep,
json_model_in_folder,
module_in_folder,
rbxm_in_folder,
rbxmx_in_folder,

View File

@@ -0,0 +1,24 @@
---
created: "2019-08-15T01:02:40.318937300Z"
creator: insta@0.10.0
source: rojo-test/src/build_test.rs
expression: contents
---
<roblox version="4">
<Item class="Folder" referent="0">
<Properties>
<string name="Name">json_model_in_folder</string>
</Properties>
<Item class="IntValue" referent="1">
<Properties>
<string name="Name">Top-Level Value</string>
<int name="Value">5</int>
</Properties>
<Item class="Folder" referent="2">
<Properties>
<string name="Name">A Child</string>
</Properties>
</Item>
</Item>
</Item>
</roblox>