Home
last modified time | relevance | path

Searched refs:req2 (Results 1 - 2 of 2) sorted by relevance

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp1246 NotificationRequest req2(0); in HWTEST_F()
1247 req2.SetLabel(label2); in HWTEST_F()
1248 req2.SetContent(content); in HWTEST_F()
1249 req2.SetCreatorUserId(SUBSCRIBE_USER_SYSTEM_BEGIN); in HWTEST_F()
1250 req2.SetCreatorUid(100); in HWTEST_F()
1251 EXPECT_EQ(0, NotificationHelper::PublishNotification(req2)); in HWTEST_F()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp151 sptr<NotificationRequest> req2 = new NotificationRequest(2); in HWTEST_F() local
152 req2->SetLabel("testLabel1"); in HWTEST_F()
159 EXPECT_EQ((int)g_advancedNotificationService->Publish("testLabel1", req2), (int)ERR_OK); in HWTEST_F()
2334 sptr<NotificationRequest> req2 = new NotificationRequest(2); in HWTEST_F() local
2340 req2->SetLabel("testLabel"); in HWTEST_F()
2346 req2->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
2351 req2->SetContent(content2); in HWTEST_F()
2361 g_advancedNotificationService->Publish("testLabel", req2); in HWTEST_F()

Completed in 8 milliseconds