| 12 | #include "braft/node.h" |
| 13 | |
| 14 | class CliTest : public testing::Test { |
| 15 | public: |
| 16 | void SetUp() { |
| 17 | GFLAGS_NS::SetCommandLineOption("raft_sync", "false"); |
| 18 | ::system("rm -rf data"); |
| 19 | } |
| 20 | void TearDown() { |
| 21 | ::system("rm -rf data"); |
| 22 | } |
| 23 | }; |
| 24 | |
| 25 | class MockFSM : public braft::StateMachine { |
| 26 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected