MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / TEST

Function TEST

dependencies/hueplusplus-1.0.0/test/test_Schedule.cpp:267–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267TEST(CreateSchedule, setName)
268{
269 const std::string name = "New schedule";
270 const nlohmann::json request = {{"name", name}};
271 EXPECT_EQ(request, CreateSchedule().setName(name).getRequest());
272}
273
274TEST(CreateSchedule, setDescription)
275{

Callers

nothing calls this directly

Calls 10

CreateScheduleClass · 0.85
TimePatternClass · 0.85
setDescriptionMethod · 0.80
setCommandMethod · 0.80
toStringMethod · 0.80
setTimeMethod · 0.80
setStatusMethod · 0.80
setAutodeleteMethod · 0.80
getRequestMethod · 0.45
setNameMethod · 0.45

Tested by

no test coverage detected