PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
test_dicom_server_v2_integration.cpp File Reference

Full integration testing for dicom_server_v2 (network_system migration) More...

#include "test_fixtures.h"
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_string.hpp>
#include "kcenon/pacs/network/v2/dicom_server_v2.h"
#include "kcenon/pacs/network/dicom_server.h"
#include "kcenon/pacs/network/dimse/dimse_message.h"
#include "kcenon/pacs/services/verification_scp.h"
#include "kcenon/pacs/services/storage_scp.h"
#include "kcenon/pacs/services/query_scp.h"
#include "kcenon/pacs/storage/file_storage.h"
#include "kcenon/pacs/storage/index_database.h"
#include <atomic>
#include <chrono>
#include <future>
#include <latch>
#include <mutex>
#include <thread>
#include <vector>
Include dependency graph for test_dicom_server_v2_integration.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("dicom_server_v2 requires network_system", "[v2][skip]")
 

Detailed Description

Full integration testing for dicom_server_v2 (network_system migration)

Comprehensive integration testing to validate the complete network_system migration, ensuring all DICOM functionality works correctly.

Test Categories:

  1. Unit Tests - Association handler state machine, PDU framing, service dispatching
  2. Integration Tests - C-ECHO, C-STORE, C-FIND, C-MOVE operations
  3. Stress Testing - 100 concurrent connections, 10K operations
  4. TLS Testing - TLS 1.2/1.3, mTLS
  5. Migration Validation - v1 to v2 API compatibility
See also
Issue #163 - Full integration testing for network_system migration
Issue #162 - Implement dicom_server_v2 using network_system messaging_server

Definition in file test_dicom_server_v2_integration.cpp.

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "dicom_server_v2 requires network_system" ,
"" [v2][skip] )

Definition at line 962 of file test_dicom_server_v2_integration.cpp.

962 {
963 WARN("dicom_server_v2 tests skipped: PACS_WITH_NETWORK_SYSTEM not defined");
964 SUCCEED("Tests skipped as expected");
965}