mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 14:15:24 +00:00
Port CSV regression tests to insta
This commit is contained in:
6
rojo-test/build-tests/csv_bug_145/default.project.json
Normal file
6
rojo-test/build-tests/csv_bug_145/default.project.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "csv_bug_145",
|
||||
"tree": {
|
||||
"$path": "folder"
|
||||
}
|
||||
}
|
||||
2
rojo-test/build-tests/csv_bug_145/folder/normal.csv
Normal file
2
rojo-test/build-tests/csv_bug_145/folder/normal.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
Key,Source,Context,Example,es
|
||||
Count,3,,A number demonstrating issue 145,7
|
||||
|
6
rojo-test/build-tests/csv_bug_147/default.project.json
Normal file
6
rojo-test/build-tests/csv_bug_147/default.project.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "csv_bug_147",
|
||||
"tree": {
|
||||
"$path": "folder"
|
||||
}
|
||||
}
|
||||
17
rojo-test/build-tests/csv_bug_147/folder/normal.csv
Normal file
17
rojo-test/build-tests/csv_bug_147/folder/normal.csv
Normal file
@@ -0,0 +1,17 @@
|
||||
,Key,Source,Context,Example
|
||||
,,,,
|
||||
Metadata,Language.Name,English,,
|
||||
,Language.Region,United States,,
|
||||
,,,,
|
||||
Options,Label.Thickness,Thickness,,
|
||||
,Label.Opacity,Opacity,,
|
||||
,,,,
|
||||
Toolbar,Toolbar.Undo,Undo,,
|
||||
,Toolbar.Redo,Redo,,
|
||||
,,,,
|
||||
,Toolbar.Camera,Top-down camera,,
|
||||
,Toolbar.Saves,Saved drawings,,
|
||||
,Toolbar.Preferences,Settings,,
|
||||
,,,,
|
||||
,Toolbar.Mode.Vector,Vector mode,,
|
||||
,Toolbar.Mode.Pixel,Pixel mode,,
|
||||
|
@@ -22,6 +22,8 @@ macro_rules! gen_build_tests {
|
||||
|
||||
gen_build_tests! {
|
||||
client_in_folder,
|
||||
csv_bug_145,
|
||||
csv_bug_147,
|
||||
csv_in_folder,
|
||||
gitkeep,
|
||||
module_in_folder,
|
||||
|
||||
19
rojo-test/src/snapshots/build_test__csv_bug_145.snap
Normal file
19
rojo-test/src/snapshots/build_test__csv_bug_145.snap
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
created: "2019-08-14T22:42:52.297447700Z"
|
||||
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">csv_bug_145</string>
|
||||
</Properties>
|
||||
<Item class="LocalizationTable" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">normal</string>
|
||||
<string name="Contents">[{"key":"Count","example":"A number demonstrating issue 145","source":"3","values":{"es":"7"}}]</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
19
rojo-test/src/snapshots/build_test__csv_bug_147.snap
Normal file
19
rojo-test/src/snapshots/build_test__csv_bug_147.snap
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
created: "2019-08-14T22:42:52.310414Z"
|
||||
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">csv_bug_147</string>
|
||||
</Properties>
|
||||
<Item class="LocalizationTable" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">normal</string>
|
||||
<string name="Contents">[{"key":"Language.Name","source":"English","values":{}},{"key":"Language.Region","source":"United States","values":{}},{"key":"Label.Thickness","source":"Thickness","values":{}},{"key":"Label.Opacity","source":"Opacity","values":{}},{"key":"Toolbar.Undo","source":"Undo","values":{}},{"key":"Toolbar.Redo","source":"Redo","values":{}},{"key":"Toolbar.Camera","source":"Top-down camera","values":{}},{"key":"Toolbar.Saves","source":"Saved drawings","values":{}},{"key":"Toolbar.Preferences","source":"Settings","values":{}},{"key":"Toolbar.Mode.Vector","source":"Vector mode","values":{}},{"key":"Toolbar.Mode.Pixel","source":"Pixel mode","values":{}}]</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
Reference in New Issue
Block a user