Skip to content

Commit

Permalink
Renaming integration tests to prepare for more proto tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AsherGlick committed Aug 22, 2024
1 parent cf51fdb commit 543d09f
Show file tree
Hide file tree
Showing 115 changed files with 17 additions and 17 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ input_paths:
"pack": "xml"
expected_stdout: |
Error: Found a boolean value that was not a '1', '0', 'true', or 'false'
test_cases/canfade_invalid/input/pack/xml_file.xml
test_cases/xml_canfade_invalid/input/pack/xml_file.xml
6 | <POI CanFade="yes" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^
Error: Found a boolean value that was not a '1', '0', 'true', or 'false'
test_cases/canfade_invalid/input/pack/xml_file.xml
test_cases/xml_canfade_invalid/input/pack/xml_file.xml
7 | <POI CanFade="はい" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^
expected_stderr: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ input_paths:
"pack": "xml"
expected_stdout: |
Error: Category attribute 'name' is missing so it cannot be properly referenced
test_cases/category_name_invalid/input/pack/xml_file.xml
test_cases/xml_category_name_invalid/input/pack/xml_file.xml
2 | <MarkerCategory DisplayName="My Missing Category" />
| ^^^^^^^^^^^^^^
Error: Category attribute 'name' is an empty string so it cannot be properly referenced
test_cases/category_name_invalid/input/pack/xml_file.xml
test_cases/xml_category_name_invalid/input/pack/xml_file.xml
3 | <MarkerCategory DisplayName="My Empty Category" Name="" />
| ^^^^^^^^^^^^^^
expected_stderr: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ input_paths:
"pack": "xml"
expected_stdout: |
Error: Invalid Filter for MountFilter. Found
test_cases/mount_filter_invalid/input/pack/xml_file.xml
test_cases/xml_mount_filter_invalid/input/pack/xml_file.xml
6 | <POI Mount="" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
|
Error: Invalid Filter for MountFilter. Found NotAMount
test_cases/mount_filter_invalid/input/pack/xml_file.xml
test_cases/xml_mount_filter_invalid/input/pack/xml_file.xml
7 | <POI Mount="NotAMount" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^^^^
Error: Invalid Filter for MountFilter. Found
test_cases/mount_filter_invalid/input/pack/xml_file.xml
test_cases/xml_mount_filter_invalid/input/pack/xml_file.xml
8 | <POI Mount="Raptor,Springer," Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^^^^^^^^^^^
Error: Invalid Filter for MountFilter. Found NotAMount
test_cases/mount_filter_invalid/input/pack/xml_file.xml
test_cases/xml_mount_filter_invalid/input/pack/xml_file.xml
9 | <POI Mount="Raptor,NotAMount,Springer" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^^^^^^^^^^^^^^^^^^^^
expected_stderr: |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
input_paths:
"pack": "xml"
expected_stdout: |
Warning: File path test_cases/xml_texture_invalid/input/pack/texture_01.png not found.
Warning: File path test_cases/xml_texture_invalid/input/pack/texture_01.png not found.
expected_stderr: |
expected_returncode: 0
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ input_paths:
"pack": "xml"
expected_stdout: |
Error: Category Not Found "notmycategory"
test_cases/type_invalid/input/pack/xml_file.xml
test_cases/xml_type_invalid/input/pack/xml_file.xml
11 | <POI Type="notmycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^^^^^^^^
Error: Category Not Found "nestedlevel4"
test_cases/type_invalid/input/pack/xml_file.xml
test_cases/xml_type_invalid/input/pack/xml_file.xml
12 | <POI Type="nestedlevel1.nestedlevel2.nestedlevel3.nestedlevel4" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
expected_stderr: |
Expand Down

0 comments on commit 543d09f

Please sign in to comment.