MCPcopy Create free account
hub / github.com/baidu/braft / CliTest

Class CliTest

test/test_cli.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include "braft/node.h"
13
14class CliTest : public testing::Test {
15public:
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
25class MockFSM : public braft::StateMachine {
26public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected