From e346ab50d941bc9c9ff99a427c5ebc57429c8b9c Mon Sep 17 00:00:00 2001 From: Asher Glick Date: Thu, 9 Nov 2023 04:08:44 -0600 Subject: [PATCH] Adding is_wall integration tests --- .../expected_outputs/proto_is_wall/markers.bin | 3 +++ .../expected_outputs/xml_is_wall/xml_file.xml | 11 +++++++++++ .../intigration_tests/inputs/xml_is_wall/xml_file.xml | 11 +++++++++++ xml_converter/intigration_tests/testcases.py | 6 ++++++ 4 files changed, 31 insertions(+) create mode 100644 xml_converter/intigration_tests/expected_outputs/proto_is_wall/markers.bin create mode 100644 xml_converter/intigration_tests/expected_outputs/xml_is_wall/xml_file.xml create mode 100644 xml_converter/intigration_tests/inputs/xml_is_wall/xml_file.xml diff --git a/xml_converter/intigration_tests/expected_outputs/proto_is_wall/markers.bin b/xml_converter/intigration_tests/expected_outputs/proto_is_wall/markers.bin new file mode 100644 index 00000000..8984f382 --- /dev/null +++ b/xml_converter/intigration_tests/expected_outputs/proto_is_wall/markers.bin @@ -0,0 +1,3 @@ + +# + My Category" 2 " 2 " 2" 2 \ No newline at end of file diff --git a/xml_converter/intigration_tests/expected_outputs/xml_is_wall/xml_file.xml b/xml_converter/intigration_tests/expected_outputs/xml_is_wall/xml_file.xml new file mode 100644 index 00000000..caabb11a --- /dev/null +++ b/xml_converter/intigration_tests/expected_outputs/xml_is_wall/xml_file.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/xml_converter/intigration_tests/inputs/xml_is_wall/xml_file.xml b/xml_converter/intigration_tests/inputs/xml_is_wall/xml_file.xml new file mode 100644 index 00000000..945d5c1f --- /dev/null +++ b/xml_converter/intigration_tests/inputs/xml_is_wall/xml_file.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/xml_converter/intigration_tests/testcases.py b/xml_converter/intigration_tests/testcases.py index 7cb80a06..4b44e0f0 100644 --- a/xml_converter/intigration_tests/testcases.py +++ b/xml_converter/intigration_tests/testcases.py @@ -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", + ), ]