Loading test/test.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -148,17 +148,26 @@ class AddAndExportDeviceFixture : public Fixture BOOST_CHECK_NO_THROW(dp->command_inout("DbExportDevice", dd)); } // export the admin device as well { auto dd = MakeDeviceDataStringArray({admin_device_name, "SomeIOR", FAKE_HOST, "4194303", "123"}); BOOST_CHECK_NO_THROW(dp->command_inout("DbExportDevice", dd)); } } static std::string device_name; static std::string device_server_process_name; static std::string server_name; static std::string admin_device_name; ~AddAndExportDeviceFixture() = default; }; std::string AddAndExportDeviceFixture::device_name = "mydomain/myfamily/mymember"; std::string AddAndExportDeviceFixture::device_server_process_name = "Proc/myInst"; std::string AddAndExportDeviceFixture::admin_device_name = "dserver/Proc/myInst"; std::string AddAndExportDeviceFixture::server_name = "Proc"; BOOST_FIXTURE_TEST_SUITE(AllTests, Fixture) Loading Loading
test/test.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -148,17 +148,26 @@ class AddAndExportDeviceFixture : public Fixture BOOST_CHECK_NO_THROW(dp->command_inout("DbExportDevice", dd)); } // export the admin device as well { auto dd = MakeDeviceDataStringArray({admin_device_name, "SomeIOR", FAKE_HOST, "4194303", "123"}); BOOST_CHECK_NO_THROW(dp->command_inout("DbExportDevice", dd)); } } static std::string device_name; static std::string device_server_process_name; static std::string server_name; static std::string admin_device_name; ~AddAndExportDeviceFixture() = default; }; std::string AddAndExportDeviceFixture::device_name = "mydomain/myfamily/mymember"; std::string AddAndExportDeviceFixture::device_server_process_name = "Proc/myInst"; std::string AddAndExportDeviceFixture::admin_device_name = "dserver/Proc/myInst"; std::string AddAndExportDeviceFixture::server_name = "Proc"; BOOST_FIXTURE_TEST_SUITE(AllTests, Fixture) Loading