Rename SonarState* to FlipperState*

Summary: Part of sonar to flipper rename

Reviewed By: passy

Differential Revision: D9919821

fbshipit-source-id: a44a2a04d5463750f884f8bf1328e02d56593e82
This commit is contained in:
John Knox
2018-09-24 05:53:51 -07:00
committed by Facebook Github Bot
parent 1d2793f701
commit c1295b1bc9
13 changed files with 42 additions and 42 deletions

View File

@@ -19,7 +19,7 @@ namespace test {
using folly::dynamic;
auto state = std::make_shared<SonarState>();
auto state = std::make_shared<FlipperState>();
TEST(SonarClientTests, testSaneMocks) {
FlipperConnectionManagerMock socket;

View File

@@ -19,13 +19,13 @@ using folly::EventBase;
class FlipperConnectionManagerImplTerminationTest : public ::testing::Test {
protected:
std::shared_ptr<SonarState> state;
std::shared_ptr<FlipperState> state;
std::shared_ptr<ConnectionContextStore> contextStore;
void SetUp() override {
// Folly singletons must be registered before they are used.
// Without this, test fails in phabricator.
folly::SingletonVault::singleton()->registrationComplete();
state = std::make_shared<SonarState>();
state = std::make_shared<FlipperState>();
contextStore = std::make_shared<ConnectionContextStoreMock>();
}
};