@@ -33,17 +33,17 @@ SCENARIO("Tesing cloud type 'Schedule' Ctor", "[Schedule::Schedule]")
33
33
WHEN (" A Schedule(0,0,0,0) is being instantiated" )
34
34
{
35
35
Schedule schedule (0 ,0 ,0 ,0 );
36
- THEN (" The member variable 'start ' should be 0" ) {
37
- REQUIRE (schedule.start == 0 );
36
+ THEN (" The member variable 'frm ' should be 0" ) {
37
+ REQUIRE (schedule.frm == 0 );
38
38
}
39
- THEN (" The member variable 'end ' should be 0" ) {
40
- REQUIRE (schedule.end == 0 );
39
+ THEN (" The member variable 'to ' should be 0" ) {
40
+ REQUIRE (schedule.to == 0 );
41
41
}
42
- THEN (" The member variable 'duration ' should be 0" ) {
43
- REQUIRE (schedule.duration == 0 );
42
+ THEN (" The member variable 'len ' should be 0" ) {
43
+ REQUIRE (schedule.len == 0 );
44
44
}
45
- THEN (" The member variable 'mask ' should be 0" ) {
46
- REQUIRE (schedule.mask == 0 );
45
+ THEN (" The member variable 'msk ' should be 0" ) {
46
+ REQUIRE (schedule.msk == 0 );
47
47
}
48
48
}
49
49
}
@@ -52,7 +52,7 @@ SCENARIO("Tesing cloud type 'Schedule' Ctor", "[Schedule::Schedule]")
52
52
53
53
SCENARIO (" Setup a schedule that repeats each 20 minutes and test isActive Method" , " [Schedule::isActive]" )
54
54
{
55
- Schedule schedule (1633305600 , /* Start 4/10/2021 00:00:00 */
55
+ Schedule schedule ( 1633305600 , /* Start 4/10/2021 00:00:00 */
56
56
1633651200 , /* End 8/10/2021 00:00:00 */
57
57
600 , /* Duration 00:10:00 */
58
58
1140850708 /* Minutes */
@@ -136,7 +136,7 @@ SCENARIO("Setup a schedule that repeats each 20 minutes and test isActive Method
136
136
137
137
SCENARIO (" Setup a weekly schedule and test isActive Method" , " [Schedule::isActive]" )
138
138
{
139
- Schedule schedule (1633305600 , /* Start 4/10/2021 00:00:00 */
139
+ Schedule schedule ( 1633305600 , /* Start 4/10/2021 00:00:00 */
140
140
1633651200 , /* End 8/10/2021 00:00:00 */
141
141
600 , /* Duration 00:10:00 */
142
142
134217798 /* Weekly */
@@ -196,7 +196,7 @@ SCENARIO("Setup a weekly schedule and test isActive Method", "[Schedule::isActiv
196
196
197
197
SCENARIO (" Setup a monthly schedule and test isActive Method" , " [Schedule::isActive]" )
198
198
{
199
- Schedule schedule (1633305600 , /* Start 4/10/2021 00:00:00 */
199
+ Schedule schedule ( 1633305600 , /* Start 4/10/2021 00:00:00 */
200
200
1664841600 , /* End 4/10/2022 00:00:00 */
201
201
600 , /* Duration 00:10:00 */
202
202
201326598 /* Monthly */
@@ -344,7 +344,7 @@ SCENARIO("Setup a monthly schedule and test isActive Method", "[Schedule::isActi
344
344
345
345
SCENARIO (" Setup a yearly schedule and test isActive Method" , " [Schedule::isActive]" )
346
346
{
347
- Schedule schedule (1633305600 , /* Start 4/10/2021 00:00:00 */
347
+ Schedule schedule ( 1633305600 , /* Start 4/10/2021 00:00:00 */
348
348
1759536000 , /* End 4/10/2025 00:00:00 */
349
349
600 , /* Duration 00:10:00 */
350
350
268438022 /* Yearly */
@@ -428,7 +428,7 @@ SCENARIO("Setup a yearly schedule and test isActive Method", "[Schedule::isActiv
428
428
429
429
SCENARIO (" Setup a one shot schedule and test isActive Method" , " [Schedule::isActive]" )
430
430
{
431
- Schedule schedule (1636156800 , /* Start 6/11/2021 00:00:00 */
431
+ Schedule schedule ( 1636156800 , /* Start 6/11/2021 00:00:00 */
432
432
1636243199 , /* End 6/11/2021 23:59:59 */
433
433
600 , /* Duration 00:10:00 */
434
434
0 /* One shot */
0 commit comments