Rename SonarInitConfig

Summary: Part of sonar -> flipper rename

Reviewed By: priteshrnandgaonkar

Differential Revision: D9908472

fbshipit-source-id: f2e694b5abfa22a745ee4719d24d6aad8af6ee2a
This commit is contained in:
John Knox
2018-09-20 16:58:35 -07:00
committed by Facebook Github Bot
parent 9889df3f3c
commit 574c05c41d
7 changed files with 12 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ protected:
TEST_F(SonarWebSocketImplTerminationTest, testNullEventBaseGetsRejected) {
try {
auto instance = std::make_shared<SonarWebSocketImpl>(SonarInitConfig {
auto instance = std::make_shared<SonarWebSocketImpl>(FlipperInitConfig {
DeviceData {},
nullptr,
new EventBase()
@@ -45,7 +45,7 @@ TEST_F(SonarWebSocketImplTerminationTest, testNullEventBaseGetsRejected) {
// Pass test
}
try {
auto instance = std::make_shared<SonarWebSocketImpl>(SonarInitConfig {
auto instance = std::make_shared<SonarWebSocketImpl>(FlipperInitConfig {
DeviceData {},
new EventBase(),
nullptr
@@ -60,7 +60,7 @@ TEST_F(SonarWebSocketImplTerminationTest, testNullEventBaseGetsRejected) {
}
TEST_F(SonarWebSocketImplTerminationTest, testNonStartedEventBaseDoesntHang) {
auto config = SonarInitConfig {
auto config = FlipperInitConfig {
DeviceData {},
new EventBase(),
new EventBase()
@@ -78,7 +78,7 @@ TEST_F(SonarWebSocketImplTerminationTest, testStartedEventBaseDoesntHang) {
auto connectionThread = std::thread([connectionEventBase](){
connectionEventBase->loopForever();
});
auto config = SonarInitConfig {
auto config = FlipperInitConfig {
DeviceData {},
sonarEventBase,
connectionEventBase