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

Method CronTestMonthInterval

tests/cppunit/cron_test.cc:307–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305class CronTestMonthInterval : public testing::Test {
306 protected:
307 explicit CronTestMonthInterval() {
308 cron_ = std::make_unique<Cron>();
309 std::vector<std::string> schedule{"0", "*", "*", "*/4", "*"};
310 auto s = cron_->SetScheduleTime(schedule);
311 EXPECT_TRUE(s.IsOK());
312 }
313 ~CronTestMonthInterval() override = default;
314
315 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected