From dc24da900f043a5a99dcfd61a8db8b31dad30665 Mon Sep 17 00:00:00 2001 From: Pat Manning Date: Wed, 15 Nov 2023 14:17:01 +0000 Subject: [PATCH] Delete flag-based test now that flag is on by default in staging where tests run. Fix: 309921805 Test: None. Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD Change-Id: I19339253487c6cb30ab02ee6f824efa520f878b9 --- .../TaplOverviewIconAppChipMenuTest.java | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 quickstep/tests/src/com/android/quickstep/TaplOverviewIconAppChipMenuTest.java diff --git a/quickstep/tests/src/com/android/quickstep/TaplOverviewIconAppChipMenuTest.java b/quickstep/tests/src/com/android/quickstep/TaplOverviewIconAppChipMenuTest.java deleted file mode 100644 index 969da68cf2..0000000000 --- a/quickstep/tests/src/com/android/quickstep/TaplOverviewIconAppChipMenuTest.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2023 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.android.quickstep; - -import com.android.launcher3.Flags; -import com.android.launcher3.InvariantDeviceProfile; - -import org.junit.After; -import org.junit.Before; - -/** - * Tests the Icon App Chip Menu in overview. - * - *

Same tests as TaplOverviewIconTest with the Flag FLAG_ENABLE_OVERVIEW_ICON_MENU enabled. - * This class can be removed once FLAG_ENABLE_OVERVIEW_ICON_MENU is enabled by default. - */ -public class TaplOverviewIconAppChipMenuTest extends TaplOverviewIconTest { - - @Before - public void setUp() throws Exception { - mSetFlagsRule.enableFlags(Flags.FLAG_ENABLE_OVERVIEW_ICON_MENU); // Call before super.setUp - super.setUp(); - executeOnLauncher(launcher -> InvariantDeviceProfile.INSTANCE.get(launcher).onConfigChanged( - launcher)); - } - - @After - public void tearDown() { - mSetFlagsRule.disableFlags(Flags.FLAG_ENABLE_OVERVIEW_ICON_MENU); - executeOnLauncher(launcher -> InvariantDeviceProfile.INSTANCE.get(launcher).onConfigChanged( - launcher)); - } -}