// Close the command socket (if it exists).
CommandMgr::instance().closeCommandSocket();
- // CommandMgr uses IO service to run asynchronous socket operations.
+ // Reset CommandMgr IO service.
CommandMgr::instance().setIOService(IOServicePtr());
- // LeaseMgr uses IO service to run asynchronous timers.
+ // Reset LeaseMgr IO service.
LeaseMgr::setIOService(IOServicePtr());
- // HostMgr uses IO service to run asynchronous timers.
+ // Reset HostMgr IO service.
HostMgr::setIOService(IOServicePtr());
}
portsServerPort();
}
+/// @brief Check that example files from documentation are valid (can be parsed
+/// and loaded).
TEST_F(Dhcpv4SrvTest, checkConfigFiles) {
checkConfigFiles();
}
// Close the command socket (if it exists).
CommandMgr::instance().closeCommandSocket();
- // CommandMgr uses IO service to run asynchronous socket operations.
+ // Reset CommandMgr IO service.
CommandMgr::instance().setIOService(IOServicePtr());
- // LeaseMgr uses IO service to run asynchronous timers.
+ // Reset LeaseMgr IO service.
LeaseMgr::setIOService(IOServicePtr());
- // HostMgr uses IO service to run asynchronous timers.
+ // Reset HostMgr IO service.
HostMgr::setIOService(IOServicePtr());
}
}
}
+/// @brief Check that example files from documentation are valid (can be parsed
+/// and loaded).
TEST_F(Dhcpv6SrvTest, checkConfigFiles) {
checkConfigFiles();
}