File: test-constants.hpp

package info (click to toggle)
gdbuspp 3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,116 kB
  • sloc: cpp: 9,462; python: 477; sh: 215; makefile: 5
file content (39 lines) | stat: -rw-r--r-- 859 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//  GDBus++ - glib2 GDBus C++ wrapper
//
//  SPDX-License-Identifier: AGPL-3.0-only
//
//  Copyright (C)  OpenVPN Inc <sales@openvpn.net>
//  Copyright (C)  David Sommerseth <davids@openvpn.net>
//

/**
 * @file   test-constants.hpp
 *
 * @brief  Collection of shared constant values used by the
 *         various test programs
 *
 */

#pragma once

#include <string>
#include <string_view>
#include <cstring>

namespace Test {
namespace Constants {

/**
 *  Constant values of prefixes used by the test programs
 */
namespace Base {
constexpr std::string_view BUSNAME{"net.openvpn.gdbuspp.test."};
constexpr std::string_view ROOT_PATH{"/gdbuspp/tests/"};
constexpr std::string_view INTERFACE{"gdbuspp.test."};
} // namespace Base

// Include the constant generator logic
#include "../gdbuspp/gen-constants.hpp"

} // namespace Constants
} // namespace Test