forked from rojo-rbx/rojo
Add basic rbxmx snapshot test
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "rbxmx_in_folder",
|
||||||
|
"tree": {
|
||||||
|
"$path": "folder"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<Meta name="ExplicitAutoJoints">true</Meta>
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Model" referent="RBX7E9D90237E87493FB533B16578969429">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="ModelInPrimary">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">Awesome Model</string>
|
||||||
|
<Ref name="PrimaryPart">null</Ref>
|
||||||
|
<BinaryString name="Tags"></BinaryString>
|
||||||
|
</Properties>
|
||||||
|
<Item class="StringValue" referent="RBXD2A682F437C84BE89C7B356CF5E4D92E">
|
||||||
|
<Properties>
|
||||||
|
<string name="Name">Cool StringValue</string>
|
||||||
|
<BinaryString name="Tags"></BinaryString>
|
||||||
|
<string name="Value">Did you know that BaseValue.Changed is different than Instance.Changed?</string>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
||||||
@@ -24,6 +24,7 @@ gen_build_tests! {
|
|||||||
client_in_folder,
|
client_in_folder,
|
||||||
gitkeep,
|
gitkeep,
|
||||||
module_in_folder,
|
module_in_folder,
|
||||||
|
rbxmx_in_folder,
|
||||||
server_in_folder,
|
server_in_folder,
|
||||||
txt_in_folder,
|
txt_in_folder,
|
||||||
}
|
}
|
||||||
|
|||||||
41
rojo-test/src/snapshots/build_test__rbxmx_in_folder.snap
Normal file
41
rojo-test/src/snapshots/build_test__rbxmx_in_folder.snap
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
created: "2019-08-10T07:45:07.961823500Z"
|
||||||
|
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">rbxmx_in_folder</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Model" referent="1">
|
||||||
|
<Properties>
|
||||||
|
<string name="Name">test-model</string>
|
||||||
|
<CoordinateFrame name="ModelInPrimary">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<Ref name="PrimaryPart">null</Ref>
|
||||||
|
<BinaryString name="Tags"><![CDATA[]]></BinaryString>
|
||||||
|
</Properties>
|
||||||
|
<Item class="StringValue" referent="2">
|
||||||
|
<Properties>
|
||||||
|
<string name="Name">Cool StringValue</string>
|
||||||
|
<BinaryString name="Tags"><![CDATA[]]></BinaryString>
|
||||||
|
<string name="Value">Did you know that BaseValue.Changed is different than Instance.Changed?</string>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
||||||
Reference in New Issue
Block a user