41 #include <boost/test/unit_test.hpp>
54 const size_t numTests(quickTest ? 1 : 10);
55 for (
size_t i = 0; i < numTests; i++) {
59 if ( (
hw.
uri().find (
"ipbustcp" ) != std::string::npos ) || (
hw.
uri().find (
"ipbuspcie" ) != std::string::npos) )
72 HwInterface getHwWithModifiedControlHubPort(
const std::string& aConnectionFile,
const std::string& aDeviceId)
74 typedef boost::filesystem::path Path_t;
75 const std::string lAddrFilePath = ( Path_t(aConnectionFile).parent_path() / Path_t(
"dummy_address.xml") ).
string();
78 const std::string lModifiedUri = lOriginalUri.substr(0, lOriginalUri.find(
"?")-1) + lOriginalUri.substr(lOriginalUri.find(
"?"));
86 for (
size_t i = 0; i < 10; i++) {
87 HwInterface
hw = getHwWithModifiedControlHubPort(connectionFileURI, deviceId);
93 BOOST_TEST_MESSAGE(
" *** Skipping check_nonreachable_controlhub test case, since client under test does not talk to ControlHub. ***");