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

Method CronTestMonthDay

tests/cppunit/cron_test.cc:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86class CronTestMonthDay : public testing::Test {
87 protected:
88 explicit CronTestMonthDay() {
89 cron_ = std::make_unique<Cron>();
90 std::vector<std::string> schedule{"0", "3", "5", "*", "*"};
91 auto s = cron_->SetScheduleTime(schedule);
92 EXPECT_TRUE(s.IsOK());
93 }
94 ~CronTestMonthDay() override = default;
95
96 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected