Lines Matching refs:helper
91 void OpenCellBroadcastTestFuc(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc() argument
98 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc()
99 helper.SetIntResult(result); in OpenCellBroadcastTestFuc()
100 helper.NotifyAll(); in OpenCellBroadcastTestFuc()
117 SmsMmsTestHelper helper; variable
118 helper.slotId = DEFAULT_SIM_SLOT_ID_REMOVE;
119 if (!helper.Run(OpenCellBroadcastTestFuc, std::ref(helper))) {
124 EXPECT_NE(helper.GetIntResult(), 0);
127 void OpenCellBroadcastTestFuc2(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc2() argument
134 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc2()
135 helper.SetIntResult(result); in OpenCellBroadcastTestFuc2()
136 helper.NotifyAll(); in OpenCellBroadcastTestFuc2()
153 SmsMmsTestHelper helper; variable
154 helper.slotId = DEFAULT_SIM_SLOT_ID;
155 if (!helper.Run(OpenCellBroadcastTestFuc2, std::ref(helper))) {
160 EXPECT_NE(helper.GetIntResult(), 0);
163 void OpenCellBroadcastTestFuc3(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc3() argument
170 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc3()
171 helper.SetIntResult(result); in OpenCellBroadcastTestFuc3()
172 helper.NotifyAll(); in OpenCellBroadcastTestFuc3()
189 SmsMmsTestHelper helper; variable
190 helper.slotId = DEFAULT_SIM_SLOT_ID;
191 if (!helper.Run(OpenCellBroadcastTestFuc3, std::ref(helper))) {
196 EXPECT_NE(helper.GetIntResult(), 0);
199 void OpenCellBroadcastTestFuc4(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc4() argument
206 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc4()
207 helper.SetIntResult(result); in OpenCellBroadcastTestFuc4()
208 helper.NotifyAll(); in OpenCellBroadcastTestFuc4()
225 SmsMmsTestHelper helper; variable
226 helper.slotId = DEFAULT_SIM_SLOT_ID;
227 if (!helper.Run(OpenCellBroadcastTestFuc4, std::ref(helper))) {
232 ASSERT_GE(helper.GetIntResult(), 0);
235 void OpenCellBroadcastTestFuc5(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc5() argument
242 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc5()
243 helper.SetIntResult(result); in OpenCellBroadcastTestFuc5()
244 helper.NotifyAll(); in OpenCellBroadcastTestFuc5()
261 SmsMmsTestHelper helper; variable
262 helper.slotId = DEFAULT_SIM_SLOT_ID;
263 if (!helper.Run(OpenCellBroadcastTestFuc5, std::ref(helper))) {
268 ASSERT_GE(helper.GetIntResult(), 0);
271 void OpenCellBroadcastTestFuc6(SmsMmsTestHelper &helper) in OpenCellBroadcastTestFuc6() argument
278 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc6()
279 helper.SetIntResult(result); in OpenCellBroadcastTestFuc6()
280 helper.NotifyAll(); in OpenCellBroadcastTestFuc6()
297 SmsMmsTestHelper helper; variable
298 helper.slotId = DEFAULT_SIM_SLOT_ID;
299 if (!helper.Run(OpenCellBroadcastTestFuc6, std::ref(helper))) {
304 ASSERT_GE(helper.GetIntResult(), 0);
321 SmsMmsTestHelper helper; variable
322 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
323 if (!helper.Run(OpenCellBroadcastTestFuc2, std::ref(helper))) {
328 EXPECT_NE(helper.GetIntResult(), 0);
345 SmsMmsTestHelper helper; variable
346 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
347 if (!helper.Run(OpenCellBroadcastTestFuc3, std::ref(helper))) {
352 EXPECT_NE(helper.GetIntResult(), 0);
369 SmsMmsTestHelper helper; variable
370 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
371 if (!helper.Run(OpenCellBroadcastTestFuc4, std::ref(helper))) {
376 ASSERT_EQ(helper.GetIntResult(), 0);
393 SmsMmsTestHelper helper; variable
394 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
395 if (!helper.Run(OpenCellBroadcastTestFuc5, std::ref(helper))) {
400 ASSERT_EQ(helper.GetIntResult(), 0);
417 SmsMmsTestHelper helper; variable
418 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
419 if (!helper.Run(OpenCellBroadcastTestFuc6, std::ref(helper))) {
424 ASSERT_EQ(helper.GetIntResult(), 0);
440 SmsMmsTestHelper helper; variable
441 helper.slotId = DEFAULT_SIM_SLOT_ID;
442 if (!helper.Run(OpenCellBroadcastTestFuc6, std::ref(helper))) {
447 EXPECT_NE(helper.GetIntResult(), 0);
450 void CloseCellBroadcastTestFuc(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc() argument
457 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc()
458 helper.SetIntResult(result); in CloseCellBroadcastTestFuc()
459 helper.NotifyAll(); in CloseCellBroadcastTestFuc()
476 SmsMmsTestHelper helper; variable
477 helper.slotId = DEFAULT_SIM_SLOT_ID_REMOVE;
478 if (!helper.Run(CloseCellBroadcastTestFuc, std::ref(helper))) {
483 EXPECT_NE(helper.GetIntResult(), 0);
486 void CloseCellBroadcastTestFuc2(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc2() argument
493 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc2()
494 helper.SetIntResult(result); in CloseCellBroadcastTestFuc2()
495 helper.NotifyAll(); in CloseCellBroadcastTestFuc2()
512 SmsMmsTestHelper helper; variable
513 helper.slotId = DEFAULT_SIM_SLOT_ID;
514 if (!helper.Run(CloseCellBroadcastTestFuc2, std::ref(helper))) {
519 EXPECT_NE(helper.GetIntResult(), 0);
522 void CloseCellBroadcastTestFuc3(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc3() argument
529 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc3()
530 helper.SetIntResult(result); in CloseCellBroadcastTestFuc3()
531 helper.NotifyAll(); in CloseCellBroadcastTestFuc3()
548 SmsMmsTestHelper helper; variable
549 helper.slotId = DEFAULT_SIM_SLOT_ID;
550 if (!helper.Run(CloseCellBroadcastTestFuc3, std::ref(helper))) {
555 EXPECT_NE(helper.GetIntResult(), 0);
558 void CloseCellBroadcastTestFuc4(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc4() argument
565 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc4()
566 helper.SetIntResult(result); in CloseCellBroadcastTestFuc4()
567 helper.NotifyAll(); in CloseCellBroadcastTestFuc4()
584 SmsMmsTestHelper helper; variable
585 helper.slotId = DEFAULT_SIM_SLOT_ID;
586 if (!helper.Run(CloseCellBroadcastTestFuc4, std::ref(helper))) {
591 ASSERT_EQ(helper.GetIntResult(), 0);
594 void CloseCellBroadcastTestFuc5(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc5() argument
601 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc5()
602 helper.SetIntResult(result); in CloseCellBroadcastTestFuc5()
603 helper.NotifyAll(); in CloseCellBroadcastTestFuc5()
620 SmsMmsTestHelper helper; variable
621 helper.slotId = DEFAULT_SIM_SLOT_ID;
622 if (!helper.Run(CloseCellBroadcastTestFuc5, std::ref(helper))) {
627 ASSERT_EQ(helper.GetIntResult(), 0);
630 void CloseCellBroadcastTestFuc6(SmsMmsTestHelper &helper) in CloseCellBroadcastTestFuc6() argument
637 helper.slotId, enable, fromMsgId, toMsgId, netType); in CloseCellBroadcastTestFuc6()
638 helper.SetIntResult(result); in CloseCellBroadcastTestFuc6()
639 helper.NotifyAll(); in CloseCellBroadcastTestFuc6()
656 SmsMmsTestHelper helper; variable
657 helper.slotId = DEFAULT_SIM_SLOT_ID;
658 if (!helper.Run(CloseCellBroadcastTestFuc6, std::ref(helper))) {
663 ASSERT_EQ(helper.GetIntResult(), 0);
680 SmsMmsTestHelper helper; variable
681 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
682 if (!helper.Run(CloseCellBroadcastTestFuc2, std::ref(helper))) {
687 EXPECT_NE(helper.GetIntResult(), 0);
704 SmsMmsTestHelper helper; variable
705 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
706 if (!helper.Run(CloseCellBroadcastTestFuc3, std::ref(helper))) {
711 EXPECT_NE(helper.GetIntResult(), 0);
728 SmsMmsTestHelper helper; variable
729 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
730 if (!helper.Run(CloseCellBroadcastTestFuc4, std::ref(helper))) {
735 ASSERT_EQ(helper.GetIntResult(), 0);
752 SmsMmsTestHelper helper; variable
753 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
754 if (!helper.Run(CloseCellBroadcastTestFuc5, std::ref(helper))) {
759 ASSERT_EQ(helper.GetIntResult(), 0);
776 SmsMmsTestHelper helper; variable
777 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
778 if (!helper.Run(CloseCellBroadcastTestFuc6, std::ref(helper))) {
783 ASSERT_EQ(helper.GetIntResult(), 0);
799 SmsMmsTestHelper helper; variable
800 helper.slotId = DEFAULT_SIM_SLOT_ID;
801 if (!helper.Run(CloseCellBroadcastTestFuc6, std::ref(helper))) {
806 EXPECT_NE(helper.GetIntResult(), 0);
809 void ReceiveCellBroadCastTestFunc(SmsMmsTestHelper &helper) in ReceiveCellBroadCastTestFunc() argument
812 auto gsmSmsCbHandler = std::make_shared<GsmSmsCbHandler>(runner, helper.slotId); in ReceiveCellBroadCastTestFunc()
830 void ReceiveCellBroadCastTestFunc2(SmsMmsTestHelper &helper) in ReceiveCellBroadCastTestFunc2() argument
833 auto gsmSmsCbHandler = std::make_shared<GsmSmsCbHandler>(runner, helper.slotId); in ReceiveCellBroadCastTestFunc2()
863 SmsMmsTestHelper helper; variable
864 helper.slotId = slotId;
871 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
879 if (!helper.Run(ReceiveCellBroadCastTestFunc, helper)) {
885 EXPECT_TRUE(helper.GetBoolResult());
903 SmsMmsTestHelper helper; variable
904 helper.slotId = slotId;
911 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
919 if (!helper.Run(ReceiveCellBroadCastTestFunc2, helper)) {
925 EXPECT_TRUE(helper.GetBoolResult());
943 SmsMmsTestHelper helper; variable
944 helper.slotId = slotId;
951 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
959 if (!helper.Run(ReceiveCellBroadCastTestFunc, helper)) {
965 EXPECT_TRUE(helper.GetBoolResult());
983 SmsMmsTestHelper helper; variable
984 helper.slotId = slotId;
991 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
999 if (!helper.Run(ReceiveCellBroadCastTestFunc2, helper)) {
1005 EXPECT_TRUE(helper.GetBoolResult());