5 #ifndef NDS_PROXY_STATUS_CODES_HH_HH
6 #define NDS_PROXY_STATUS_CODES_HH_HH
30 #ifdef _NDS_IMPL_ENABLE_CATCH_TESTS_
35 TEST_CASE(
"Verify status codes exist",
"[status_codes]" )
39 return std::string( code.data( ), code.size( ) );
41 using namespace nds_impl::common;
50 #endif // _NDS_IMPL_ENABLE_CATCH_TESTS_
52 #endif // NDS_PROXY_STATUS_CODES_HH_HH
std::array< char, 4 > status_code
Definition: status_codes.hh:14
const auto STATUS_DAQD_ON_TAPE
Definition: status_codes.hh:22
const auto STATUS_DAQD_OK
Definition: status_codes.hh:16
TEST_CASE("daq_strlcpy copies strings safely when buffers are sufficiently large")
Definition: test_bsd_string.cc:9
const auto STATUS_DAQD_ERROR
Definition: status_codes.hh:17
const auto STATUS_DAQD_VERSION_MISMATCH
Definition: status_codes.hh:18
const auto STATUS_DAQD_NOT_FOUND
Definition: status_codes.hh:20
const auto STATUS_DAQD_SYNTAX
Definition: status_codes.hh:21