Home
last modified time | relevance | path

Searched refs:notiTemplate (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp418 std::shared_ptr<NotificationTemplate> notiTemplate = notificationRequest.GetTemplate(); in CheckCaseFourteenResult() local
419 if (notiTemplate != nullptr) { in CheckCaseFourteenResult()
420 EXPECT_EQ("downloadTemplate1", notiTemplate->GetTemplateName()); in CheckCaseFourteenResult()
421 std::shared_ptr<AAFwk::WantParams> param = notiTemplate->GetTemplateData(); in CheckCaseFourteenResult()
1356 std::shared_ptr<NotificationTemplate> notiTemplate = std::make_shared<NotificationTemplate>(); variable
1357 EXPECT_NE(notiTemplate, nullptr);
1358 notiTemplate->SetTemplateName("downloadTemplate1");
1366 notiTemplate->SetTemplateData(std::make_shared<AAFwk::WantParams>(wantParams));
1367 GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_04000::notiTemplate::" << notiTemplate->Dump();
1374 req.SetTemplate(notiTemplate);