Skip to content

Commit

Permalink
Merge pull request #321 from klingbolt/texture_invalid
Browse files Browse the repository at this point in the history
Added a test for missing texture files
  • Loading branch information
AsherGlick authored Jul 2, 2024
2 parents 081ab7f + a3ef255 commit 3ef128d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<OverlayData>
<MarkerCategory DisplayName="MyCategory" Name="mycategory">
</MarkerCategory>

<POIs>
<POI IconFile="texture_01.png" Type="mycategory" MapID="50" />
</POIs>
</OverlayData>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<OverlayData>
<MarkerCategory DisplayName="MyCategory" ID="KOjMBsKTXpY=" Name="mycategory">
</MarkerCategory>

<POIs>
<POI Type="mycategory" IconFile="texture_01.png" MapID="50"/>
</POIs>
</OverlayData>
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/texture_invalid/input/pack/texture_01.png not found.
Warning: File path test_cases/texture_invalid/input/pack/texture_01.png not found.
expected_stderr: |
expected_returncode: 0

0 comments on commit 3ef128d

Please sign in to comment.