Skip to content

Commit

Permalink
Merge pull request #211 from AsherGlick/is_wall_tests
Browse files Browse the repository at this point in the history
Adding is_wall integration tests
  • Loading branch information
AsherGlick authored Nov 14, 2023
2 parents 0759990 + e346ab5 commit f03c93c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

#
My Category" 2�" 2�" 2" 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<Trail Type="mycategory" IsWall="true" MapID="50"/>
<Trail Type="mycategory" IsWall="true" MapID="50"/>
<Trail Type="mycategory" IsWall="false" MapID="50"/>
<Trail Type="mycategory" IsWall="false" MapID="50"/>
</POIs>
</OverlayData>
11 changes: 11 additions & 0 deletions xml_converter/intigration_tests/inputs/xml_is_wall/xml_file.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<Trail IsWall="true" Type="mycategory" MapID="50" />
<Trail IsWall="1" Type="mycategory" MapID="50" />
<Trail IsWall="false" Type="mycategory" MapID="50" />
<Trail IsWall="0" Type="mycategory" MapID="50" />
</POIs>
</OverlayData>
6 changes: 6 additions & 0 deletions xml_converter/intigration_tests/testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,10 @@ class Testcase:
expected_output_xml_path="./expected_outputs/xml_achievement_id",
expected_output_proto_path="./expected_outputs/proto_achievement_id",
),
Testcase(
name="is_wall",
xml_input_paths=["./inputs/xml_is_wall"],
expected_output_xml_path="./expected_outputs/xml_is_wall",
expected_output_proto_path="./expected_outputs/proto_is_wall",
),
]

0 comments on commit f03c93c

Please sign in to comment.