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

Method CronTestWeekDay

tests/cppunit/cron_test.cc:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152class CronTestWeekDay : public testing::Test {
153 protected:
154 explicit CronTestWeekDay() {
155 cron_ = std::make_unique<Cron>();
156 std::vector<std::string> schedule{"0", "3", "*", "9", "0"};
157 auto s = cron_->SetScheduleTime(schedule);
158 EXPECT_TRUE(s.IsOK());
159 }
160 ~CronTestWeekDay() override = default;
161
162 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected