Merge "Temporarily ignore the tests that time out the execution" into main

This commit is contained in:
Kevin Liu
2023-11-27 16:53:43 +00:00
committed by Android (Google) Code Review

View File

@@ -45,6 +45,7 @@ import com.android.settings.Settings;
import com.android.settings.testutils.shadow.ShadowConnectivityManager;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
@@ -200,6 +201,7 @@ public class CreateShortcutPreferenceControllerTest {
}
@Test
@Ignore
public void queryShortcuts_configShowDataUsage_ShouldEnableShortcuts() {
doReturn(true).when(mController).canShowDataUsage();
setupActivityInfo(Settings.DataUsageSummaryActivity.class.getSimpleName());
@@ -208,6 +210,7 @@ public class CreateShortcutPreferenceControllerTest {
}
@Test
@Ignore
public void queryShortcuts_configNotShowDataUsage_ShouldDisableShortcuts() {
doReturn(false).when(mController).canShowDataUsage();
setupActivityInfo(Settings.DataUsageSummaryActivity.class.getSimpleName());