From 244a868b14eac56171e7594dad44efc2a3315665 Mon Sep 17 00:00:00 2001 From: klingbolt Date: Tue, 31 Oct 2023 00:57:47 -0400 Subject: [PATCH] More test cases --- .../xml_mount_filter_invalid/xml_file.xml | 1 + .../inputs/xml_mount_filter_invalid/xml_file.xml | 3 ++- xml_converter/intigration_tests/testcases.py | 10 +++++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/xml_converter/intigration_tests/expected_outputs/xml_mount_filter_invalid/xml_file.xml b/xml_converter/intigration_tests/expected_outputs/xml_mount_filter_invalid/xml_file.xml index 103cbc4f..3276bdf2 100644 --- a/xml_converter/intigration_tests/expected_outputs/xml_mount_filter_invalid/xml_file.xml +++ b/xml_converter/intigration_tests/expected_outputs/xml_mount_filter_invalid/xml_file.xml @@ -6,5 +6,6 @@ + diff --git a/xml_converter/intigration_tests/inputs/xml_mount_filter_invalid/xml_file.xml b/xml_converter/intigration_tests/inputs/xml_mount_filter_invalid/xml_file.xml index 75670b93..3ee980aa 100644 --- a/xml_converter/intigration_tests/inputs/xml_mount_filter_invalid/xml_file.xml +++ b/xml_converter/intigration_tests/inputs/xml_mount_filter_invalid/xml_file.xml @@ -4,7 +4,8 @@ - + + diff --git a/xml_converter/intigration_tests/testcases.py b/xml_converter/intigration_tests/testcases.py index 310733aa..01c8e01f 100644 --- a/xml_converter/intigration_tests/testcases.py +++ b/xml_converter/intigration_tests/testcases.py @@ -47,14 +47,18 @@ class Testcase: './inputs/xml_mount_filter_invalid/xml_file.xml', '6 |', ' | ', - 'Error: Invalid Filter for MountFilter. Found Dragon', + 'Error: Invalid Filter for MountFilter. Found NotAMount', './inputs/xml_mount_filter_invalid/xml_file.xml', - '7 |', - ' | ^^^^^^', + '7 |', + ' | ^^^^^^^^^', 'Error: Invalid Filter for MountFilter. Found ', './inputs/xml_mount_filter_invalid/xml_file.xml', '8 |', ' | ^^^^^^^^^^^^^^^^', + 'Error: Invalid Filter for MountFilter. Found NotAMount', + './inputs/xml_mount_filter_invalid/xml_file.xml', + '9 |', + ' | ^^^^^^^^^^^^^^^^^^^^^^^^^', ] ), ]