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

Method CronTestMonth

tests/cppunit/cron_test.cc:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118class CronTestMonth : public testing::Test {
119 protected:
120 explicit CronTestMonth() {
121 cron_ = std::make_unique<Cron>();
122 std::vector<std::string> schedule{"0", "3", "5", "9", "*"};
123 auto s = cron_->SetScheduleTime(schedule);
124 EXPECT_TRUE(s.IsOK());
125 }
126 ~CronTestMonth() override = default;
127
128 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected