Major Subsystem Rewrite (Reconciler Mk5) (#217)

This commit is contained in:
Lucien Greathouse
2019-08-27 15:00:37 -07:00
committed by GitHub
parent 8e8291a0bd
commit fea303ac8b
80 changed files with 3843 additions and 5609 deletions

View File

@@ -0,0 +1 @@
This is a bare text file with no project.

View File

@@ -0,0 +1,25 @@
<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="Folder" referent="RBX82C2B70FBD6642A894EFCBA4FF284ADD">
<Properties>
<string name="Name">Container</string>
<BinaryString name="Tags"></BinaryString>
</Properties>
<Item class="StringValue" referent="RBX42D96C32E905427DBA530A1881C962FD">
<Properties>
<string name="Name">Target</string>
<BinaryString name="Tags"></BinaryString>
<string name="Value">Pointed to by ObjectValue</string>
</Properties>
</Item>
<Item class="ObjectValue" referent="RBXB5B6B1FDCC4942FA823B06B7ABA0EEDB">
<Properties>
<string name="Name">Pointer</string>
<BinaryString name="Tags"></BinaryString>
<Ref name="Value">RBX42D96C32E905427DBA530A1881C962FD</Ref>
</Properties>
</Item>
</Item>
</roblox>

View File

@@ -0,0 +1,6 @@
{
"name": "txt",
"tree": {
"$path": "foo.txt"
}
}

View File

@@ -0,0 +1 @@
This is a txt file in a project.

View File

@@ -31,13 +31,25 @@ gen_build_tests! {
json_model_legacy_name,
module_in_folder,
module_init,
plain_gitkeep,
rbxm_in_folder,
rbxmx_in_folder,
server_in_folder,
server_init,
txt,
txt_in_folder,
}
#[test]
fn build_plain_txt() {
run_build_test("plain.txt");
}
#[test]
fn build_rbxmx_ref() {
run_build_test("rbxmx_ref.rbxmx");
}
fn run_build_test(test_name: &str) {
let manifest_dir = Path::new(env!("CARGO_MANIFEST_DIR"));
let build_test_path = manifest_dir.join("build-tests");

View File

@@ -0,0 +1,14 @@
---
created: "2019-08-09T00:17:42.253380600Z"
creator: insta@0.10.0
source: rojo-test/src/build_test.rs
expression: contents
---
<roblox version="4">
<Item class="StringValue" referent="0">
<Properties>
<string name="Name">plain</string>
<string name="Value">This is a bare text file with no project.</string>
</Properties>
</Item>
</roblox>

View File

@@ -0,0 +1,13 @@
---
created: "2019-08-09T00:17:42.175575800Z"
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">plain_gitkeep</string>
</Properties>
</Item>
</roblox>

View File

@@ -0,0 +1,28 @@
---
created: "2019-08-10T07:57:42.835269100Z"
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_ref</string>
<BinaryString name="Tags"><![CDATA[]]></BinaryString>
</Properties>
<Item class="StringValue" referent="1">
<Properties>
<string name="Name">Target</string>
<BinaryString name="Tags"><![CDATA[]]></BinaryString>
<string name="Value">Pointed to by ObjectValue</string>
</Properties>
</Item>
<Item class="ObjectValue" referent="2">
<Properties>
<string name="Name">Pointer</string>
<BinaryString name="Tags"><![CDATA[]]></BinaryString>
<Ref name="Value">1</Ref>
</Properties>
</Item>
</Item>
</roblox>

View File

@@ -0,0 +1,14 @@
---
created: "2019-08-09T00:22:01.983322Z"
creator: insta@0.10.0
source: rojo-test/src/build_test.rs
expression: contents
---
<roblox version="4">
<Item class="StringValue" referent="0">
<Properties>
<string name="Name">txt</string>
<string name="Value">This is a txt file in a project.</string>
</Properties>
</Item>
</roblox>