Skip to content

Commit

Permalink
Merge pull request #226 from klingbolt/specialization_filter
Browse files Browse the repository at this point in the history
Added tests for specialization filters
  • Loading branch information
AsherGlick authored Nov 15, 2023
2 parents 4a835e4 + df22e1d commit 5be5197
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

�
My Category 2B\�)Cf�RC{�WC�` 2B\�)Cf�RC{�WC�H 2B\�)Cf�RC{�WC�X� 2B\�)Cf�RC{�WC���� 2B\�)Cf�RC{�WC�� (08@HPX`hpx���������������������������������������������������������X 2B\�)Cf�RC{�WC�B (08@HPX`hpx������������
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="62"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="43,18"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="57,61"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="65,68"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="48,43,27,40,34,5,52,7,18,56,57,62,59,60,55,63,58,61,67,70,65,66,64,72,69,71,68,41,37,26,31,17,29,6,38,47,21,49,16,13,46,42,45,10,1,24,23,19,39,2,50,53,32,8,25,30,33,14,15,3,9,12,54,35,28,20,44,36,22,51,4,11"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" Specialization="48,43,27,40,34,5,52,7,18,56,57,62,59,60,55,63,58,61,67,70,65,66,64,72,69,71,68"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<POI Specialization="62" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Specialization="berserker,scrapper" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Specialization="Spellbreaker, Holosmith" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Specialization="Willbender,Bladesworn" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Specialization="48,43,27,40,34,5,52,7,18,56,57,62,59,60,55,63,58,61,67,70,65,66,64,72,69,71,68,41,37,26,31,17,29,6,38,47,21,49,16,13,46,42,45,10,1,24,23,19,39,2,50,53,32,8,25,30,33,14,15,3,9,12,54,35,28,20,44,36,22,51,4,11" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Specialization="Tempest,Scrapper,Dragonhunter,Chronomancer,Reaper,Druid,Herald,Daredevil,Berserker,Weaver,Holosmith,Firebrand,Mirage,Scourge,Soulbeast,Renegade,Deadeye,Spellbreaker,Catalyst,Mechanist,Willbender,Virtuoso,Harbinger,Untamed,Vindicator,Specter,Bladesworn" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" 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 @@ -114,4 +114,10 @@ class Testcase:
expected_output_xml_path="./expected_outputs/xml_profession_filter",
expected_output_proto_path="./expected_outputs/proto_profession_filter",
),
Testcase(
name="specialization_filter",
xml_input_paths=["./inputs/xml_specialization_filter"],
expected_output_xml_path="./expected_outputs/xml_specialization_filter",
expected_output_proto_path="./expected_outputs/proto_specialization_filter",
),
]

0 comments on commit 5be5197

Please sign in to comment.