Revert "[Settings] Ignore some failure test cases"

This reverts commit c9db203edd.

Reason for revert: Try to see how many test cases can be passed.

Change-Id: I6499c6499d4f30718d18ca03e02cf1f5e4b7918e
This commit is contained in:
Bonian Chen
2022-12-22 14:45:11 +00:00
committed by Android (Google) Code Review
parent c9db203edd
commit 1dd47d5c1d
6 changed files with 0 additions and 17 deletions

View File

@@ -56,7 +56,6 @@ import com.android.settings.testutils.ResourcesUtils;
import com.android.settingslib.mobile.dataservice.SubscriptionInfoEntity;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -178,7 +177,6 @@ public class InternetPreferenceControllerTest {
any(Handler.class));
}
@Ignore
@Test
@UiThreadTest
public void onPause_shouldUnregisterCallback() {

View File

@@ -42,7 +42,6 @@ import androidx.test.ext.junit.runners.AndroidJUnit4;
import com.android.settingslib.utils.HandlerInjector;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -242,7 +241,6 @@ public class InternetResetHelperTest {
verify(mRecoveryWorker).triggerRestart();
}
@Ignore
@Test
public void checkRecovering_isRecovering_showResetting() {
when(mRecoveryWorker.isRecovering()).thenReturn(true);
@@ -252,7 +250,6 @@ public class InternetResetHelperTest {
verify(mResettingPreference).setVisible(true);
}
@Ignore
@Test
public void checkRecovering_isNotRecovering_doNotShowResetting() {
when(mRecoveryWorker.isRecovering()).thenReturn(false);

View File

@@ -66,7 +66,6 @@ import com.android.wifitrackerlib.WifiEntry;
import com.android.wifitrackerlib.WifiPickerTracker;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -463,7 +462,6 @@ public class ProviderModelSliceTest {
}
}
@Ignore
@Test
@UiThreadTest
public void onNotifyChange_FirstTimeDisableToggleState_showDialog() {

View File

@@ -459,7 +459,6 @@ public class SubscriptionUtilTest {
}
@Test
@Ignore
public void isSimHardwareVisible_configAsVisible_returnTrue() {
when(mContext.getResources()).thenReturn(mResources);
when(mResources.getBoolean(R.bool.config_show_sim_info))