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

Method CronTestHourInterval

tests/cppunit/cron_test.cc:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223class CronTestHourInterval : public testing::Test {
224 protected:
225 explicit CronTestHourInterval() {
226 cron_ = std::make_unique<Cron>();
227 std::vector<std::string> schedule{"0", "*/4", "*", "*", "*"};
228 auto s = cron_->SetScheduleTime(schedule);
229 EXPECT_TRUE(s.IsOK());
230 }
231 ~CronTestHourInterval() override = default;
232
233 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected