| 55 | }; |
| 56 | |
| 57 | TEST_F(ScheduleTest, Constructor) |
| 58 | { |
| 59 | { |
| 60 | const int id = 13; |
| 61 | expectGetState(id); |
| 62 | const Schedule schedule(id, commands, std::chrono::seconds(0), nullptr); |
| 63 | EXPECT_EQ(id, schedule.getId()); |
| 64 | Mock::VerifyAndClearExpectations(handler.get()); |
| 65 | } |
| 66 | { |
| 67 | const int id = 0; |
| 68 | expectGetState(id); |
| 69 | const Schedule schedule(id, commands, std::chrono::seconds(0), nullptr); |
| 70 | EXPECT_EQ(id, schedule.getId()); |
| 71 | Mock::VerifyAndClearExpectations(handler.get()); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | TEST_F(ScheduleTest, getName) |
| 76 | { |
nothing calls this directly
no test coverage detected