forked from rojo-rbx/rojo
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'syncback-tests' into syncback-pivot
- Loading branch information
Showing
68 changed files
with
752 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...test/syncback-test-snapshots/end_to_end__rojo_test__syncback_util__duplicate_rojo_id.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: tests/rojo_test/syncback_util.rs | ||
assertion_line: 48 | ||
expression: "visualize_fs_snapshot(&fs_snapshot, &output_path)" | ||
--- | ||
added_files: | ||
- container.model.json | ||
added_dirs: [] | ||
removed_files: [] | ||
removed_dirs: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...syncback-test-snapshots/end_to_end__rojo_test__syncback_util__project_all_middleware.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
source: tests/rojo_test/syncback_util.rs | ||
assertion_line: 48 | ||
expression: "visualize_fs_snapshot(&fs_snapshot, &output_path)" | ||
--- | ||
added_files: | ||
- src/client_script.client.luau | ||
- src/csv.csv | ||
- "src/csv_init\\init.csv" | ||
- "src/init_client_script\\init.client.lua" | ||
- "src/init_module_script\\init.lua" | ||
- "src/init_server_script\\init.server.lua" | ||
- src/model_json.model.json | ||
- src/module_script.luau | ||
- src/project_json.project.json | ||
- src/rbxmx.rbxmx | ||
- src/server_script.server.luau | ||
- src/text.txt | ||
added_dirs: | ||
- src/csv_init | ||
- src/init_client_script | ||
- src/init_module_script | ||
- src/init_server_script | ||
removed_files: [] | ||
removed_dirs: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...st/syncback-test-snapshots/end_to_end__rojo_test__syncback_util__project_reserialize.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: tests/rojo_test/syncback_util.rs | ||
assertion_line: 48 | ||
expression: "visualize_fs_snapshot(&fs_snapshot, &output_path)" | ||
--- | ||
added_files: | ||
- attribute_mismatch.luau | ||
- property_mismatch.project.json | ||
added_dirs: [] | ||
removed_files: [] | ||
removed_dirs: [] | ||
|
2 changes: 1 addition & 1 deletion
2
rojo-test/syncback-test-snapshots/end_to_end__rojo_test__syncback_util__rbxm_fallback.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
rojo-test/syncback-test-snapshots/end_to_end__rojo_test__syncback_util__ref_properties.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...t/syncback-test-snapshots/end_to_end__rojo_test__syncback_util__string_value_project.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: tests/rojo_test/syncback_util.rs | ||
assertion_line: 48 | ||
expression: "visualize_fs_snapshot(&fs_snapshot, &output_path)" | ||
--- | ||
added_files: | ||
- default.project.json | ||
- string_value.txt | ||
added_dirs: [] | ||
removed_files: [] | ||
removed_dirs: [] | ||
|
21 changes: 21 additions & 0 deletions
21
rojo-test/syncback-tests/duplicate_rojo_id/expected/container.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"className": "Folder", | ||
"children": [ | ||
{ | ||
"name": "value_1", | ||
"className": "ObjectValue", | ||
"attributes": { | ||
"Rojo_Id": "value_1", | ||
"Rojo_Target_Value": "value_1" | ||
} | ||
}, | ||
{ | ||
"name": "value_2", | ||
"className": "ObjectValue", | ||
"attributes": { | ||
"Rojo_Id": "72bc28150ada2e6206442ee300004084", | ||
"Rojo_Target_Value": "72bc28150ada2e6206442ee300004084" | ||
} | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
rojo-test/syncback-tests/duplicate_rojo_id/expected/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "duplicate_rojo_id", | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"container": { | ||
"$path": "container.model.json" | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
rojo-test/syncback-tests/duplicate_rojo_id/output/container.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"className": "Folder", | ||
"children": [ | ||
{ | ||
"name": "value_1", | ||
"className": "ObjectValue" | ||
}, | ||
{ | ||
"name": "value_2", | ||
"className": "ObjectValue" | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
rojo-test/syncback-tests/duplicate_rojo_id/output/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "duplicate_rojo_id", | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"container": { | ||
"$path": "container.model.json" | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
rojo-test/syncback-tests/project_all_middleware/expected/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "project_all_middleware", | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"client_script": { | ||
"$path": "src/client_script.client.luau" | ||
}, | ||
"csv": { | ||
"$path": "src/csv.csv" | ||
}, | ||
"csv_init": { | ||
"$path": "src/csv_init" | ||
}, | ||
"dir": { | ||
"$path": "src/dir" | ||
}, | ||
"dir_with_meta": { | ||
"$path": "src/dir_with_meta" | ||
}, | ||
"init_client_script": { | ||
"$path": "src/init_client_script" | ||
}, | ||
"init_module_script": { | ||
"$path": "src/init_module_script" | ||
}, | ||
"init_server_script": { | ||
"$path": "src/init_server_script" | ||
}, | ||
"model_json": { | ||
"$path": "src/model_json.model.json" | ||
}, | ||
"module_script": { | ||
"$path": "src/module_script.luau" | ||
}, | ||
"project_json": { | ||
"$path": "src/project_json.project.json" | ||
}, | ||
"rbxm": { | ||
"$path": "src/rbxm.rbxm" | ||
}, | ||
"rbxmx": { | ||
"$path": "src/rbxmx.rbxmx" | ||
}, | ||
"server_script": { | ||
"$path": "src/server_script.server.luau" | ||
}, | ||
"text": { | ||
"$path": "src/text.txt" | ||
} | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
rojo-test/syncback-tests/project_all_middleware/expected/src/client_script.client.luau
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ghostwriter notorious mutter restless punish |
2 changes: 2 additions & 0 deletions
2
rojo-test/syncback-tests/project_all_middleware/expected/src/csv.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Key,Source,Context,Example,es | ||
Ack,Ack!,,An exclamation of despair,¡Ay! |
2 changes: 2 additions & 0 deletions
2
rojo-test/syncback-tests/project_all_middleware/expected/src/csv_init/init.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Key,Source,Context,Example,en | ||
Rojo,Rojo,,Rojo is a really cool program,Red |
3 changes: 3 additions & 0 deletions
3
rojo-test/syncback-tests/project_all_middleware/expected/src/dir_with_meta/init.meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"className": "Configuration" | ||
} |
1 change: 1 addition & 0 deletions
1
...est/syncback-tests/project_all_middleware/expected/src/init_client_script/init.client.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- brag season coffin dilute flourish |
1 change: 1 addition & 0 deletions
1
rojo-test/syncback-tests/project_all_middleware/expected/src/init_module_script/init.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- absorb dragon coat crowd effect |
1 change: 1 addition & 0 deletions
1
...est/syncback-tests/project_all_middleware/expected/src/init_server_script/init.server.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- rojo syncback very cool dekkonot |
6 changes: 6 additions & 0 deletions
6
rojo-test/syncback-tests/project_all_middleware/expected/src/model_json.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"className": "StringValue", | ||
"properties": { | ||
"Value": "i understand how person299 felt" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
rojo-test/syncback-tests/project_all_middleware/expected/src/module_script.luau
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- hospitality publish accumulation onion shaft |
13 changes: 13 additions & 0 deletions
13
rojo-test/syncback-tests/project_all_middleware/expected/src/project_json.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "project_json", | ||
"tree": { | ||
"$className": "Color3Value", | ||
"$properties": { | ||
"Value": [ | ||
1.0, | ||
0.5, | ||
0.0 | ||
] | ||
} | ||
} | ||
} |
Binary file added
BIN
+704 Bytes
rojo-test/syncback-tests/project_all_middleware/expected/src/rbxm.rbxm
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
rojo-test/syncback-tests/project_all_middleware/expected/src/rbxmx.rbxmx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<roblox version="4"> | ||
<Item class="Message" referent="0"> | ||
<Properties> | ||
<string name="Name">rbxmx</string> | ||
<BinaryString name="AttributesSerialize"></BinaryString> | ||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities> | ||
<bool name="DefinesCapabilities">false</bool> | ||
<int64 name="SourceAssetId">-1</int64> | ||
<BinaryString name="Tags"></BinaryString> | ||
<string name="Text">ripe alike review heart dry</string> | ||
</Properties> | ||
</Item> | ||
</roblox> |
1 change: 1 addition & 0 deletions
1
rojo-test/syncback-tests/project_all_middleware/expected/src/server_script.server.luau
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ostracize fraud consciousness seal architecture |
1 change: 1 addition & 0 deletions
1
rojo-test/syncback-tests/project_all_middleware/expected/src/text.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
According to all known laws of aviation |
Binary file not shown.
53 changes: 53 additions & 0 deletions
53
rojo-test/syncback-tests/project_all_middleware/output/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "project_all_middleware", | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"client_script": { | ||
"$path": "src/client_script.client.luau" | ||
}, | ||
"csv": { | ||
"$path": "src/csv.csv" | ||
}, | ||
"csv_init": { | ||
"$path": "src/csv_init" | ||
}, | ||
"dir": { | ||
"$path": "src/dir" | ||
}, | ||
"dir_with_meta": { | ||
"$path": "src/dir_with_meta" | ||
}, | ||
"init_client_script": { | ||
"$path": "src/init_client_script" | ||
}, | ||
"init_module_script": { | ||
"$path": "src/init_module_script" | ||
}, | ||
"init_server_script": { | ||
"$path": "src/init_server_script" | ||
}, | ||
"model_json": { | ||
"$path": "src/model_json.model.json" | ||
}, | ||
"module_script": { | ||
"$path": "src/module_script.luau" | ||
}, | ||
"project_json": { | ||
"$path": "src/project_json.project.json" | ||
}, | ||
"rbxm": { | ||
"$path": "src/rbxm.rbxm" | ||
}, | ||
"rbxmx": { | ||
"$path": "src/rbxmx.rbxmx" | ||
}, | ||
"server_script": { | ||
"$path": "src/server_script.server.luau" | ||
}, | ||
"text": { | ||
"$path": "src/text.txt" | ||
} | ||
} | ||
} | ||
} |
Empty file.
2 changes: 2 additions & 0 deletions
2
rojo-test/syncback-tests/project_all_middleware/output/src/csv.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Key,Source,Context,Example,es | ||
,,,, |
2 changes: 2 additions & 0 deletions
2
rojo-test/syncback-tests/project_all_middleware/output/src/csv_init/init.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Key,Source,Context,Example,en | ||
,,,, |
3 changes: 3 additions & 0 deletions
3
rojo-test/syncback-tests/project_all_middleware/output/src/dir_with_meta/init.meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"className": "Configuration" | ||
} |
Empty file.
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions
3
rojo-test/syncback-tests/project_all_middleware/output/src/model_json.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"className": "StringValue" | ||
} |
Empty file.
6 changes: 6 additions & 0 deletions
6
rojo-test/syncback-tests/project_all_middleware/output/src/project_json.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "project_json", | ||
"tree": { | ||
"$className": "Color3Value" | ||
} | ||
} |
Binary file added
BIN
+704 Bytes
rojo-test/syncback-tests/project_all_middleware/output/src/rbxm.rbxm
Binary file not shown.
Oops, something went wrong.