|
PACS System 0.1.0
PACS DICOM system library
|
Classes | |
| class | MockNetwork |
| Mock network service for testing. More... | |
| class | MockStorage |
| class | TestContainerBuilder |
Functions | |
| std::shared_ptr< kcenon::common::di::service_container > | create_test_container () |
| Create a test container with all mock services. | |
| void | register_mock_storage (kcenon::common::di::IServiceContainer &container, std::shared_ptr< MockStorage > mock) |
| Register mock storage with a container. | |
| void | register_mock_network (kcenon::common::di::IServiceContainer &container, std::shared_ptr< MockNetwork > mock) |
| Register mock network with a container. | |
|
inlinenodiscard |
Create a test container with all mock services.
Definition at line 365 of file test_support.h.
References kcenon::pacs::di::test::TestContainerBuilder::build(), kcenon::pacs::di::test::TestContainerBuilder::with_mock_network(), and kcenon::pacs::di::test::TestContainerBuilder::with_mock_storage().

|
inline |
Register mock network with a container.
| container | The container to register with |
| mock | The mock network instance |
Definition at line 390 of file test_support.h.
|
inline |
Register mock storage with a container.
| container | The container to register with |
| mock | The mock storage instance |
Definition at line 378 of file test_support.h.