New snapshot tests

This commit is contained in:
Lucien Greathouse 2019-03-12 15:58:22 -07:00
parent ad93631ef8
commit 684a33c418
12 changed files with 921 additions and 90 deletions

View file

@ -0,0 +1 @@
Hello world, from a/foo.txt

View file

@ -0,0 +1 @@
-- hello, from a/main.lua

View file

@ -0,0 +1 @@
-- b/something.lua

View file

@ -0,0 +1,21 @@
{
"name": "multi_partition_game",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"Ack": {
"$path": "a"
},
"Bar": {
"$path": "b"
}
},
"HttpService": {
"$className": "HttpService",
"$properties": {
"HttpEnabled": true
}
}
}
}

View file

@ -0,0 +1,212 @@
{
"name": "multi_partition_game",
"class_name": "DataModel",
"properties": {},
"children": [
{
"name": "HttpService",
"class_name": "HttpService",
"properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"children": [],
"metadata": {
"ignore_unknown_instances": true,
"source_path": null,
"project_definition": [
"HttpService",
{
"class_name": "HttpService",
"children": {},
"properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"ignore_unknown_instances": null,
"path": null
}
]
}
},
{
"name": "ReplicatedStorage",
"class_name": "ReplicatedStorage",
"properties": {},
"children": [
{
"name": "Ack",
"class_name": "Folder",
"properties": {},
"children": [
{
"name": "foo",
"class_name": "StringValue",
"properties": {
"Value": {
"Type": "String",
"Value": "Hello world, from a/foo.txt"
}
},
"children": [],
"metadata": {
"ignore_unknown_instances": false,
"source_path": "a/foo.txt",
"project_definition": null
}
},
{
"name": "main",
"class_name": "ModuleScript",
"properties": {
"Source": {
"Type": "String",
"Value": "-- hello, from a/main.lua"
}
},
"children": [],
"metadata": {
"ignore_unknown_instances": false,
"source_path": "a/main.lua",
"project_definition": null
}
}
],
"metadata": {
"ignore_unknown_instances": false,
"source_path": "a",
"project_definition": [
"Ack",
{
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "a"
}
]
}
},
{
"name": "Bar",
"class_name": "Folder",
"properties": {},
"children": [
{
"name": "something",
"class_name": "ModuleScript",
"properties": {
"Source": {
"Type": "String",
"Value": "-- b/something.lua"
}
},
"children": [],
"metadata": {
"ignore_unknown_instances": false,
"source_path": "b/something.lua",
"project_definition": null
}
}
],
"metadata": {
"ignore_unknown_instances": false,
"source_path": "b",
"project_definition": [
"Bar",
{
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "b"
}
]
}
}
],
"metadata": {
"ignore_unknown_instances": true,
"source_path": null,
"project_definition": [
"ReplicatedStorage",
{
"class_name": "ReplicatedStorage",
"children": {
"Bar": {
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "b"
},
"Ack": {
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "a"
}
},
"properties": {},
"ignore_unknown_instances": null,
"path": null
}
]
}
}
],
"metadata": {
"ignore_unknown_instances": true,
"source_path": null,
"project_definition": [
"multi_partition_game",
{
"class_name": "DataModel",
"children": {
"ReplicatedStorage": {
"class_name": "ReplicatedStorage",
"children": {
"Bar": {
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "b"
},
"Ack": {
"class_name": null,
"children": {},
"properties": {},
"ignore_unknown_instances": null,
"path": "a"
}
},
"properties": {},
"ignore_unknown_instances": null,
"path": null
},
"HttpService": {
"class_name": "HttpService",
"children": {},
"properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"ignore_unknown_instances": null,
"path": null
}
},
"properties": {},
"ignore_unknown_instances": null,
"path": null
}
]
}
}

View file

@ -0,0 +1,100 @@
{
"instances": {
"a44d135b-d022-4893-8079-d921a7ba7077": {
"Name": "foo",
"ClassName": "StringValue",
"Properties": {
"Value": {
"Type": "String",
"Value": "Hello world, from a/foo.txt"
}
},
"Id": "a44d135b-d022-4893-8079-d921a7ba7077",
"Children": [],
"Parent": "c3319126-251e-4743-b0b8-3d58c355883e"
},
"046a1cf5-e720-4647-9161-10998594ca65": {
"Name": "HttpService",
"ClassName": "HttpService",
"Properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"Id": "046a1cf5-e720-4647-9161-10998594ca65",
"Children": [],
"Parent": "2d857fa5-51e8-4c97-9974-b7e1ec795bba"
},
"15f73586-bb1b-49c7-b543-c4d05b9f8a60": {
"Name": "ReplicatedStorage",
"ClassName": "ReplicatedStorage",
"Properties": {},
"Id": "15f73586-bb1b-49c7-b543-c4d05b9f8a60",
"Children": [
"bb3d7bbd-7c90-4838-95e3-693be4daf727",
"c3319126-251e-4743-b0b8-3d58c355883e"
],
"Parent": "2d857fa5-51e8-4c97-9974-b7e1ec795bba"
},
"c3319126-251e-4743-b0b8-3d58c355883e": {
"Name": "Ack",
"ClassName": "Folder",
"Properties": {},
"Id": "c3319126-251e-4743-b0b8-3d58c355883e",
"Children": [
"a44d135b-d022-4893-8079-d921a7ba7077",
"031507bd-e81e-481f-a7af-401566afab0f"
],
"Parent": "15f73586-bb1b-49c7-b543-c4d05b9f8a60"
},
"4162d6bb-732b-4da4-a917-38d267ff9c42": {
"Name": "something",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- b/something.lua"
}
},
"Id": "4162d6bb-732b-4da4-a917-38d267ff9c42",
"Children": [],
"Parent": "bb3d7bbd-7c90-4838-95e3-693be4daf727"
},
"bb3d7bbd-7c90-4838-95e3-693be4daf727": {
"Name": "Bar",
"ClassName": "Folder",
"Properties": {},
"Id": "bb3d7bbd-7c90-4838-95e3-693be4daf727",
"Children": [
"4162d6bb-732b-4da4-a917-38d267ff9c42"
],
"Parent": "15f73586-bb1b-49c7-b543-c4d05b9f8a60"
},
"2d857fa5-51e8-4c97-9974-b7e1ec795bba": {
"Name": "multi_partition_game",
"ClassName": "DataModel",
"Properties": {},
"Id": "2d857fa5-51e8-4c97-9974-b7e1ec795bba",
"Children": [
"046a1cf5-e720-4647-9161-10998594ca65",
"15f73586-bb1b-49c7-b543-c4d05b9f8a60"
],
"Parent": null
},
"031507bd-e81e-481f-a7af-401566afab0f": {
"Name": "main",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- hello, from a/main.lua"
}
},
"Id": "031507bd-e81e-481f-a7af-401566afab0f",
"Children": [],
"Parent": "c3319126-251e-4743-b0b8-3d58c355883e"
}
},
"root_id": "2d857fa5-51e8-4c97-9974-b7e1ec795bba"
}

View file

@ -0,0 +1,109 @@
{
"instances": {
"50e71545-7a19-4457-acc7-1e97ae9ece18": {
"Name": "something",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- b/something.lua"
}
},
"Id": "50e71545-7a19-4457-acc7-1e97ae9ece18",
"Children": [],
"Parent": "9a7e28d7-135d-4b8f-89dd-85bf88416d98"
},
"9b0799cc-fc16-49ce-8ee9-6feeb52ed6da": {
"Name": "added",
"ClassName": "Folder",
"Properties": {},
"Id": "9b0799cc-fc16-49ce-8ee9-6feeb52ed6da",
"Children": [],
"Parent": "6d0894f6-0365-4363-839e-66c953b42aa8"
},
"5bdc78c3-a1a9-47b8-9660-abb01364aa70": {
"Name": "ReplicatedStorage",
"ClassName": "ReplicatedStorage",
"Properties": {},
"Id": "5bdc78c3-a1a9-47b8-9660-abb01364aa70",
"Children": [
"9a7e28d7-135d-4b8f-89dd-85bf88416d98",
"6d0894f6-0365-4363-839e-66c953b42aa8"
],
"Parent": "57609a96-3c79-4456-9630-4d157a5e1ee7"
},
"675477f2-d101-4d62-bb12-aacb1d1e05b5": {
"Name": "main",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- hello, from a/main.lua"
}
},
"Id": "675477f2-d101-4d62-bb12-aacb1d1e05b5",
"Children": [],
"Parent": "6d0894f6-0365-4363-839e-66c953b42aa8"
},
"6d0894f6-0365-4363-839e-66c953b42aa8": {
"Name": "Ack",
"ClassName": "Folder",
"Properties": {},
"Id": "6d0894f6-0365-4363-839e-66c953b42aa8",
"Children": [
"4ee48ea8-0f0e-4fcf-ade2-196eda2fa05c",
"675477f2-d101-4d62-bb12-aacb1d1e05b5",
"9b0799cc-fc16-49ce-8ee9-6feeb52ed6da"
],
"Parent": "5bdc78c3-a1a9-47b8-9660-abb01364aa70"
},
"c2c90183-dfaa-4ee5-ac31-9d78ae32d3fb": {
"Name": "HttpService",
"ClassName": "HttpService",
"Properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"Id": "c2c90183-dfaa-4ee5-ac31-9d78ae32d3fb",
"Children": [],
"Parent": "57609a96-3c79-4456-9630-4d157a5e1ee7"
},
"57609a96-3c79-4456-9630-4d157a5e1ee7": {
"Name": "multi_partition_game",
"ClassName": "DataModel",
"Properties": {},
"Id": "57609a96-3c79-4456-9630-4d157a5e1ee7",
"Children": [
"5bdc78c3-a1a9-47b8-9660-abb01364aa70",
"c2c90183-dfaa-4ee5-ac31-9d78ae32d3fb"
],
"Parent": null
},
"4ee48ea8-0f0e-4fcf-ade2-196eda2fa05c": {
"Name": "foo",
"ClassName": "StringValue",
"Properties": {
"Value": {
"Type": "String",
"Value": "Hello world, from a/foo.txt"
}
},
"Id": "4ee48ea8-0f0e-4fcf-ade2-196eda2fa05c",
"Children": [],
"Parent": "6d0894f6-0365-4363-839e-66c953b42aa8"
},
"9a7e28d7-135d-4b8f-89dd-85bf88416d98": {
"Name": "Bar",
"ClassName": "Folder",
"Properties": {},
"Id": "9a7e28d7-135d-4b8f-89dd-85bf88416d98",
"Children": [
"50e71545-7a19-4457-acc7-1e97ae9ece18"
],
"Parent": "5bdc78c3-a1a9-47b8-9660-abb01364aa70"
}
},
"root_id": "57609a96-3c79-4456-9630-4d157a5e1ee7"
}

View file

@ -0,0 +1,109 @@
{
"instances": {
"833f7f8b-7ec3-4f6a-9476-63af9612510a": {
"Name": "foo",
"ClassName": "StringValue",
"Properties": {
"Value": {
"Type": "String",
"Value": "Hello world, from a/foo.txt"
}
},
"Id": "833f7f8b-7ec3-4f6a-9476-63af9612510a",
"Children": [],
"Parent": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
},
"381278fa-4eb9-4110-b64c-3bbdb76a0bd5": {
"Name": "something",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- b/something.lua"
}
},
"Id": "381278fa-4eb9-4110-b64c-3bbdb76a0bd5",
"Children": [],
"Parent": "74b23f01-582f-4c6b-9f6c-e5c17c41c466"
},
"74b23f01-582f-4c6b-9f6c-e5c17c41c466": {
"Name": "Bar",
"ClassName": "Folder",
"Properties": {},
"Id": "74b23f01-582f-4c6b-9f6c-e5c17c41c466",
"Children": [
"381278fa-4eb9-4110-b64c-3bbdb76a0bd5",
"ce5ccafe-1165-4a3a-afb2-8da27cc123e2"
],
"Parent": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235"
},
"caf1ebc4-af44-4cad-935d-b44a8ca57d32": {
"Name": "multi_partition_game",
"ClassName": "DataModel",
"Properties": {},
"Id": "caf1ebc4-af44-4cad-935d-b44a8ca57d32",
"Children": [
"10f2a2c4-b3e4-478d-84d5-a74a71ee8235",
"b411bf23-4662-4799-a8eb-6afc1bd8888e"
],
"Parent": null
},
"10f2a2c4-b3e4-478d-84d5-a74a71ee8235": {
"Name": "ReplicatedStorage",
"ClassName": "ReplicatedStorage",
"Properties": {},
"Id": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235",
"Children": [
"74b23f01-582f-4c6b-9f6c-e5c17c41c466",
"ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
],
"Parent": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
},
"0de0ab3d-e74a-473b-808a-076febe9d808": {
"Name": "main",
"ClassName": "ModuleScript",
"Properties": {
"Source": {
"Type": "String",
"Value": "-- hello, from a/main.lua"
}
},
"Id": "0de0ab3d-e74a-473b-808a-076febe9d808",
"Children": [],
"Parent": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
},
"b411bf23-4662-4799-a8eb-6afc1bd8888e": {
"Name": "HttpService",
"ClassName": "HttpService",
"Properties": {
"HttpEnabled": {
"Type": "Bool",
"Value": true
}
},
"Id": "b411bf23-4662-4799-a8eb-6afc1bd8888e",
"Children": [],
"Parent": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
},
"ea14bb8b-cc04-4b0c-9aae-02f1447cbda7": {
"Name": "Ack",
"ClassName": "Folder",
"Properties": {},
"Id": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7",
"Children": [
"833f7f8b-7ec3-4f6a-9476-63af9612510a",
"0de0ab3d-e74a-473b-808a-076febe9d808"
],
"Parent": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235"
},
"ce5ccafe-1165-4a3a-afb2-8da27cc123e2": {
"Name": "added",
"ClassName": "Folder",
"Properties": {},
"Id": "ce5ccafe-1165-4a3a-afb2-8da27cc123e2",
"Children": [],
"Parent": "74b23f01-582f-4c6b-9f6c-e5c17c41c466"
}
},
"root_id": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
}