Skip to content

Commit

Permalink
Merge pull request #187 from AsherGlick/update_tests
Browse files Browse the repository at this point in the history
Add additional fields to tests
  • Loading branch information
AsherGlick authored Oct 31, 2023
2 parents 1bb9f9f + 5dfd654 commit 3316de7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
</MarkerCategory>

<POIs>
<POI CanFade="false" Type="mycategory"/>
<POI CanFade="false" Type="mycategory" IconFile="texture.png" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</MarkerCategory>

<POIs>
<POI CanFade="false" Type="mycategory"/>
<POI CanFade="false" Type="mycategory"/>
<POI CanFade="false" Type="mycategory" IconFile="texture.png" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI CanFade="false" Type="mycategory" IconFile="texture.png" MapID="50" XPos="179.809998" YPos="220.649994" ZPos="225.830002"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
</MarkerCategory>

<POIs>
<POI CanFade="yes" Type="mycategory"/>
<POI CanFade="yes" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" IconFile="texture.png" />
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</MarkerCategory>

<POIs>
<POI CanFade="false" Type="mycategory"/>
<POI CanFade="0" Type="mycategory"/>
<POI CanFade="false" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" IconFile="texture.png" />
<POI CanFade="0" Type="mycategory" XPos="179.81" YPos="220.65" ZPos="225.83" MapID="50" IconFile="texture.png" />
<!-- TODO: This value should be elided in the output, but it is not currently
so we are ignoring the test instead of wriitng a bad test
<POI CanFade="true" Type="mycategory"/>
Expand Down
4 changes: 2 additions & 2 deletions xml_converter/intigration_tests/testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class Testcase:
expected_stdout=[
"Error: Found a boolean value that was not a '1', '0', 'true', or 'false'",
"./inputs/xml_can_fade_invalid/xml_file.xml",
'6 |<POI CanFade="yes" Type="mycategory"/>',
'6 |<POI CanFade="yes" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" IconFile="texture.png" />',
" | ^^^"
]
)
),
]

0 comments on commit 3316de7

Please sign in to comment.