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

Method CronTestHour

tests/cppunit/cron_test.cc:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58class CronTestHour : public testing::Test {
59 protected:
60 explicit CronTestHour() {
61 cron_ = std::make_unique<Cron>();
62 std::vector<std::string> schedule{"*", "3", "*", "*", "*"};
63 auto s = cron_->SetScheduleTime(schedule);
64 EXPECT_TRUE(s.IsOK());
65 }
66 ~CronTestHour() override = default;
67
68 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected