"""
@file
@defgroup rtctk_componentFramework_services_testSupport_inMemoryOldb In-Memory OLDB
@ingroup rtctk_componentFramework_services_testSupport

@brief Provides an in-memory OLDB for unit testing.

The primary purpose of this library is to allow testing the OldbAdapter.
The in-memory OLD has been placed into its own library with no dependencies on other RTC Toolkit
code to avoid dependency cycles between the library that provides the OldbAdapter and the
corresponding test support library for OldbIf.

@copyright
  SPDX-FileCopyrightText: 2023-2025 European Southern Observatory (ESO) @n
  SPDX-License-Identifier: LGPL-3.0-only
"""

from wtools.module import declare_cshlib

declare_cshlib(
    target="rtctkTestSupportInMemoryOldb",
    use=[
        "gtest",
        "gmock",
        "BOOST",
        "cpp-netlib-uri",
        "backtrace",
        "cii.mal-common.cpp.mal-common",
        "client-api.elt-common.cpp.error.client",
        "client-api.cpp.config",
        "cii-services-oldb.cpp.oldb",
    ],
)
