reinterpret_cast<const char*>(arg.data())));
argv.push_back(nullptr);
- TestPkgmgrInstaller pkgmgr_installer;
+ TestPkgmgrInstaller installer;
EXPECT_CALL(GetMock<GumMock>(),
gum_user_get_sync(_, _)).
WillRepeatedly(Invoke(__gum_user_get_sync_fake));
auto pkgmgr = common_installer::PkgMgrInterface::Create(
argv.size() - 1,
argv.data(),
- &pkgmgr_installer,
+ &installer,
nullptr);
if (!pkgmgr) {
ASSERT_TRUE(false);
EXPECT_EQ(pkgmgr->GetRequestInfoCount(), 2);
for (int idx = 0; idx < 2; idx++) {
- std::unique_ptr<common_installer::AppInstaller> installer =
+ std::unique_ptr<common_installer::AppInstaller> app_installer =
factory->CreateInstaller(pkgmgr, idx);
// TODO(jungh.yeon): Need to add ways about validating instance.
- EXPECT_NE(installer, nullptr);
+ EXPECT_NE(app_installer, nullptr);
}
}
reinterpret_cast<pkgmgrinfo_pkginfo_h>(handle2)),
Return(PMINFO_R_OK)));
- TestPkgmgrInstaller pkgmgr_installer;
+ TestPkgmgrInstaller installer;
EXPECT_CALL(GetMock<GumMock>(),
gum_user_get_sync(_, _)).
WillRepeatedly(Invoke(__gum_user_get_sync_fake));
auto pkgmgr = common_installer::PkgMgrInterface::Create(
argv.size() - 1,
argv.data(),
- &pkgmgr_installer,
+ &installer,
nullptr);
if (!pkgmgr) {
ASSERT_TRUE(false);
new common_installer::UnifiedInstallerFactory());
for (int idx = 0; idx < 2; idx++) {
- std::unique_ptr<common_installer::AppInstaller> installer =
+ std::unique_ptr<common_installer::AppInstaller> app_installer =
factory->CreateInstaller(pkgmgr, idx);
- EXPECT_NE(installer, nullptr);
+ EXPECT_NE(app_installer, nullptr);
}
}
reinterpret_cast<pkgmgrinfo_pkginfo_h>(handle2)),
Return(PMINFO_R_OK)));
- TestPkgmgrInstaller pkgmgr_installer;
+ TestPkgmgrInstaller installer;
EXPECT_CALL(GetMock<GumMock>(),
gum_user_get_sync(_, _)).
WillRepeatedly(Invoke(__gum_user_get_sync_fake));
auto pkgmgr = common_installer::PkgMgrInterface::Create(
argv.size() - 1,
argv.data(),
- &pkgmgr_installer,
+ &installer,
nullptr);
if (!pkgmgr) {
ASSERT_TRUE(false);
new common_installer::UnifiedInstallerFactory());
for (int idx = 0; idx < 2; idx++) {
- std::unique_ptr<common_installer::AppInstaller> installer =
+ std::unique_ptr<common_installer::AppInstaller> app_installer =
factory->CreateInstaller(pkgmgr, idx);
// TODO(jungh.yeon): Need to add ways about validating instance.
- EXPECT_EQ(installer, nullptr);
+ EXPECT_EQ(app_installer, nullptr);
}
}
reinterpret_cast<const char*>(arg.data())));
argv.push_back(nullptr);
- TestPkgmgrInstaller pkgmgr_installer;
+ TestPkgmgrInstaller installer;
EXPECT_CALL(GetMock<GumMock>(),
gum_user_get_sync(_, _)).
WillRepeatedly(Invoke(__gum_user_get_sync_fake));
auto pkgmgr = common_installer::PkgMgrInterface::Create(
argv.size() - 1,
argv.data(),
- &pkgmgr_installer,
+ &installer,
nullptr);
if (!pkgmgr) {
ASSERT_TRUE(false);
new common_installer::UnifiedInstallerFactory());
for (int idx = 0; idx < 2; idx++) {
- std::unique_ptr<common_installer::AppInstaller> installer =
+ std::unique_ptr<common_installer::AppInstaller> app_installer =
factory->CreateInstaller(pkgmgr, idx);
// TODO(jungh.yeon): Need to add ways about validating instance.
- EXPECT_NE(installer, nullptr);
+ EXPECT_NE(app_installer, nullptr);
}
}