diff --git a/test/unittest/app_utils_test/app_utils_test.cpp b/test/unittest/app_utils_test/app_utils_test.cpp index 560136c594abb3846e6f48ad428e0676105870d9..cead4fd8601678742fdfe564287f18e5f795a86d 100644 --- a/test/unittest/app_utils_test/app_utils_test.cpp +++ b/test/unittest/app_utils_test/app_utils_test.cpp @@ -425,20 +425,6 @@ HWTEST_F(AppUtilsTest, AppUtilsTest_2100, TestSize.Level2) EXPECT_TRUE(isSupport); } -/** - * @tc.number: IsLauncher_0100 - * @tc.desc: Test IsLauncher works - * @tc.type: FUNC - */ -HWTEST_F(AppUtilsTest, IsLauncher_0100, TestSize.Level2) -{ - TAG_LOGI(AAFwkTag::TEST, "IsLauncher_0100 called."); - std::string bundleName = "com.ohos.launcher"; - auto &appUtils = AAFwk::AppUtils::GetInstance(); - bool result = appUtils.IsLauncher(bundleName); - EXPECT_TRUE(result); -} - /** * @tc.number: IsLauncher_0200 * @tc.desc: Test IsLauncher works @@ -619,19 +605,5 @@ HWTEST_F(AppUtilsTest, IsUseMultiRenderProcess_0100, TestSize.Level2) bool result = appUtils.IsUseMultiRenderProcess(); EXPECT_TRUE(result); } - -/** - * @tc.number: IsLaunchEmbededUIAbility_0100 - * @tc.desc: Test IsLaunchEmbededUIAbility works - * @tc.type: FUNC - */ -HWTEST_F(AppUtilsTest, IsLaunchEmbededUIAbility_0100, TestSize.Level2) -{ - TAG_LOGI(AAFwkTag::TEST, "IsLaunchEmbededUIAbility_0100 called."); - auto &appUtils = AAFwk::AppUtils::GetInstance(); - appUtils.isLaunchEmbededUIAbility_.isLoaded = false; - bool result = appUtils.IsLaunchEmbededUIAbility(); - EXPECT_FALSE(result); -} } // namespace AbilityRuntime } // namespace OHOS