| 376 | class CronTestNumberAndRange : public testing::Test { |
| 377 | protected: |
| 378 | explicit CronTestNumberAndRange() { |
| 379 | cron_ = std::make_unique<Cron>(); |
| 380 | std::vector<std::string> schedule{"*", "1,3,6-10,20", "*", "*", "*"}; |
| 381 | auto s = cron_->SetScheduleTime(schedule); |
| 382 | EXPECT_TRUE(s.IsOK()); |
| 383 | } |
| 384 | ~CronTestNumberAndRange() override = default; |
| 385 | |
| 386 | std::unique_ptr<Cron> cron_; |
nothing calls this directly
no test coverage detected