MCPcopy Create free account
hub / github.com/apache/kvrocks / CronTestMin

Method CronTestMin

tests/cppunit/cron_test.cc:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28class CronTestMin : public testing::Test {
29 protected:
30 explicit CronTestMin() {
31 cron_ = std::make_unique<Cron>();
32 std::vector<std::string> schedule{"10", "*", "*", "*", "*"};
33 auto s = cron_->SetScheduleTime(schedule);
34 EXPECT_TRUE(s.IsOK());
35 }
36 ~CronTestMin() override = default;
37
38 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected