Rename Mock classes
Summary: Part of sonar to flipper rename Reviewed By: priteshrnandgaonkar Differential Revision: D9929102 fbshipit-source-id: 88cdbd33aa5c76e386449f54f4eb8c6435865ed1
This commit is contained in:
committed by
Facebook Github Bot
parent
c18c8ac802
commit
c4d12c21d9
@@ -55,7 +55,7 @@ Start by creating your first test file in this directory `MySonarPluginTests.cpp
|
||||
```
|
||||
#include <MySonarPlugin/MySonarPlugin.h>
|
||||
#include <FlipperTestLib/FlipperConnectionMock.h>
|
||||
#include <FlipperTestLib/SonarResponderMock.h>
|
||||
#include <FlipperTestLib/FlipperResponderMock.h>
|
||||
|
||||
#include <folly/json.h>
|
||||
#include <gtest/gtest.h>
|
||||
@@ -78,7 +78,7 @@ Here is a simple test using these mock utilities to create a plugin, send some d
|
||||
```
|
||||
TEST(MySonarPluginTests, testDummy) {
|
||||
std::vector<folly::dynamic> successfulResponses;
|
||||
auto responder = std::make_unique<SonarResponderMock>(&successfulResponses);
|
||||
auto responder = std::make_unique<FlipperResponderMock>(&successfulResponses);
|
||||
auto conn = std::make_shared<FlipperConnectionMock>();
|
||||
|
||||
MySonarPlugin plugin;
|
||||
|
||||
Reference in New Issue
Block a user