|
PACS System 0.1.0
PACS DICOM system library
|
Scenario 2: Store and Query Workflow Tests. More...
#include "test_fixtures.h"#include <catch2/catch_test_macros.hpp>#include <catch2/matchers/catch_matchers_string.hpp>#include "kcenon/pacs/network/dimse/dimse_message.h"#include "kcenon/pacs/services/query_scp.h"#include "kcenon/pacs/services/retrieve_scp.h"#include "kcenon/pacs/services/storage_scp.h"#include "kcenon/pacs/services/storage_scu.h"#include "kcenon/pacs/services/verification_scp.h"#include "kcenon/pacs/storage/file_storage.h"#include "kcenon/pacs/storage/index_database.h"#include <memory>
Go to the source code of this file.
Functions | |
| TEST_CASE ("Store single DICOM file and query", "[store_query][basic]") | |
| TEST_CASE ("Store multiple files from same study", "[store_query][multi]") | |
| TEST_CASE ("Store files from multiple modalities", "[store_query][modality]") | |
| TEST_CASE ("Query with wildcards", "[store_query][wildcard]") | |
Scenario 2: Store and Query Workflow Tests.
Tests the complete storage and query workflow:
Definition in file test_store_query.cpp.
| TEST_CASE | ( | "Query with wildcards" | , |
| "" | [store_query][wildcard] ) |
Definition at line 590 of file test_store_query.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_ct_dataset(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::dimse::make_c_find_rq(), name, kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::core::dicom_dataset::set_string(), kcenon::pacs::services::storage_scu::store(), and kcenon::pacs::services::study_root_find_sop_class_uid.

| TEST_CASE | ( | "Store files from multiple modalities" | , |
| "" | [store_query][modality] ) |
Definition at line 495 of file test_store_query.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_ct_dataset(), kcenon::pacs::integration_test::generate_mr_dataset(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::dimse::make_c_find_rq(), kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::core::dicom_dataset::set_string(), kcenon::pacs::services::storage_scu::store(), and kcenon::pacs::services::study_root_find_sop_class_uid.

| TEST_CASE | ( | "Store multiple files from same study" | , |
| "" | [store_query][multi] ) |
Definition at line 388 of file test_store_query.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_ct_dataset(), kcenon::pacs::integration_test::generate_uid(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::dimse::make_c_find_rq(), kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::core::dicom_dataset::set_string(), and kcenon::pacs::services::study_root_find_sop_class_uid.

| TEST_CASE | ( | "Store single DICOM file and query" | , |
| "" | [store_query][basic] ) |
Definition at line 280 of file test_store_query.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_ct_dataset(), kcenon::pacs::integration_test::generate_uid(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::services::store_result::is_success(), kcenon::pacs::network::dimse::make_c_find_rq(), kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::services::storage_scu_config::response_timeout, kcenon::pacs::core::dicom_dataset::set_string(), and kcenon::pacs::services::study_root_find_sop_class_uid.
