|
PACS System 0.1.0
PACS DICOM system library
|
Catch2 round-trip integrity tests for conversion CLI tools. More...
#include <kcenon/pacs/core/dicom_file.h>#include <kcenon/pacs/core/dicom_tag_constants.h>#include <catch2/catch_test_macros.hpp>#include <array>#include <chrono>#include <cstdio>#include <cstdlib>#include <filesystem>#include <string>#include <thread>#include <vector>#include <sys/wait.h>
Go to the source code of this file.
Functions | |
| TEST_CASE ("JSON round-trip preserves metadata", "[cli][roundtrip]") | |
| TEST_CASE ("XML round-trip preserves metadata", "[cli][roundtrip]") | |
| TEST_CASE ("Transfer Syntax conversion preserves tags", "[cli][roundtrip]") | |
| TEST_CASE ("Anonymization changes patient identifiers", "[cli][roundtrip]") | |
| TEST_CASE ("Tag modification updates values correctly", "[cli][roundtrip]") | |
Catch2 round-trip integrity tests for conversion CLI tools.
Verifies data integrity through CLI conversion round-trips: DCM->JSON->DCM, DCM->XML->DCM, Transfer Syntax conversion, anonymization, and tag modification.
Uses the PACS library API to programmatically compare input/output datasets at the tag level.
Definition in file test_cli_roundtrip.cpp.
| TEST_CASE | ( | "Anonymization changes patient identifiers" | , |
| "" | [cli][roundtrip] ) |
Definition at line 268 of file test_cli_roundtrip.cpp.
References kcenon::pacs::core::tags::modality, and kcenon::pacs::core::tags::patient_name.
| TEST_CASE | ( | "JSON round-trip preserves metadata" | , |
| "" | [cli][roundtrip] ) |
Definition at line 161 of file test_cli_roundtrip.cpp.
References kcenon::pacs::core::tags::modality, kcenon::pacs::core::tags::patient_id, kcenon::pacs::core::tags::patient_name, and kcenon::pacs::core::tags::study_date.
| TEST_CASE | ( | "Tag modification updates values correctly" | , |
| "" | [cli][roundtrip] ) |
Definition at line 296 of file test_cli_roundtrip.cpp.
References kcenon::pacs::core::tags::modality, kcenon::pacs::core::tags::patient_id, and kcenon::pacs::core::tags::patient_name.
| TEST_CASE | ( | "Transfer Syntax conversion preserves tags" | , |
| "" | [cli][roundtrip] ) |
Definition at line 231 of file test_cli_roundtrip.cpp.
References kcenon::pacs::core::tags::modality, kcenon::pacs::core::tags::patient_id, and kcenon::pacs::core::tags::patient_name.
| TEST_CASE | ( | "XML round-trip preserves metadata" | , |
| "" | [cli][roundtrip] ) |
Definition at line 197 of file test_cli_roundtrip.cpp.
References kcenon::pacs::core::tags::modality, kcenon::pacs::core::tags::patient_id, and kcenon::pacs::core::tags::patient_name.