forked from rojo-rbx/rojo
Add build test for JSON model
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "json_model_in_folder",
|
||||
"tree": {
|
||||
"$path": "folder"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Name": "Top-Level Value",
|
||||
"ClassName": "IntValue",
|
||||
"Properties": {
|
||||
"Value": 5
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Name": "A Child",
|
||||
"ClassName": "Folder"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user