mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add build tests for init.meta.json
This commit is contained in:
parent
db23c3d35a
commit
1b35c98be5
7 changed files with 46 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
source: rojo-test/src/build_test.rs
|
||||||
|
expression: contents
|
||||||
|
---
|
||||||
|
<roblox version="4">
|
||||||
|
<Item class="Model" referent="0">
|
||||||
|
<Properties>
|
||||||
|
<string name="Name">init_meta_class_name</string>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
source: rojo-test/src/build_test.rs
|
||||||
|
expression: contents
|
||||||
|
---
|
||||||
|
<roblox version="4">
|
||||||
|
<Item class="Lighting" referent="0">
|
||||||
|
<Properties>
|
||||||
|
<string name="Name">init_meta_properties</string>
|
||||||
|
<token name="Technology">1</token>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "init_meta_class_name",
|
||||||
|
"tree": {
|
||||||
|
"$path": "should-be-a-model"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"className": "Model"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"className": "Lighting",
|
||||||
|
"properties": {
|
||||||
|
"Technology": "Voxel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "init_meta_properties",
|
||||||
|
"tree": {
|
||||||
|
"$path": "Lighting"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -28,6 +28,8 @@ gen_build_tests! {
|
||||||
csv_in_folder,
|
csv_in_folder,
|
||||||
deep_nesting,
|
deep_nesting,
|
||||||
gitkeep,
|
gitkeep,
|
||||||
|
init_meta_class_name,
|
||||||
|
init_meta_properties,
|
||||||
init_with_children,
|
init_with_children,
|
||||||
json_model_in_folder,
|
json_model_in_folder,
|
||||||
json_model_legacy_name,
|
json_model_legacy_name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue