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

Method CronTestWeekDayInterval

tests/cppunit/cron_test.cc:344–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342class CronTestWeekDayInterval : public testing::Test {
343 protected:
344 explicit CronTestWeekDayInterval() {
345 cron_ = std::make_unique<Cron>();
346 std::vector<std::string> schedule{"0", "*", "*", "*", "*/4"};
347 auto s = cron_->SetScheduleTime(schedule);
348 EXPECT_TRUE(s.IsOK());
349 }
350 ~CronTestWeekDayInterval() override = default;
351
352 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected