Revert "Test Fix SettingRobolectricTest Fail"
This reverts commit 818f77cd1f.
Reason for revert: Underlying issue fixed in ag/23454315.
Bug: b/275023433
Test: atest SettingsGlobalRoboTests
Change-Id: I1af272efd00b3c5bd35310512f5712d5d1c7d834
This commit is contained in:
@@ -45,7 +45,6 @@ import com.android.settings.R;
|
||||
import com.android.settingslib.widget.LayoutPreference;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Answers;
|
||||
@@ -204,7 +203,6 @@ public class EntityHeaderControllerTest {
|
||||
verify(activity, never()).startActivity(any(Intent.class));
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void bindButton_hasAppInfo_shouldAttachClickListener() {
|
||||
final View appLinks = mLayoutInflater.inflate(
|
||||
|
||||
@@ -39,7 +39,6 @@ import com.android.settings.testutils.shadow.ShadowInteractionJankMonitor;
|
||||
import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -49,7 +48,6 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
import org.robolectric.shadows.androidx.fragment.FragmentController;
|
||||
|
||||
@Ignore
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(shadows = {ShadowRestrictedLockUtilsInternal.class, ShadowInteractionJankMonitor.class})
|
||||
public class SeekBarPreferenceTest {
|
||||
@@ -102,7 +100,6 @@ public class SeekBarPreferenceTest {
|
||||
assertThat(mSeekBarPreference.isSelectable()).isTrue();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
@Config(qualifiers = "mcc998")
|
||||
public void isSelectable_default_returnFalse() {
|
||||
|
||||
@@ -29,7 +29,6 @@ import androidx.preference.PreferenceViewHolder;
|
||||
import com.android.settings.R;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -59,7 +58,6 @@ public class SettingsMainSwitchPreferenceTest {
|
||||
mHolder = PreferenceViewHolder.createInstanceForTests(rootView);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void onBindViewHolder_isRestricted_restrictIconShouldDisplay() {
|
||||
mPreference.onBindViewHolder(mHolder);
|
||||
|
||||
@@ -40,7 +40,6 @@ import com.android.settings.R;
|
||||
import com.android.settings.testutils.shadow.ShadowSettingsMediaPlayer;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -141,7 +140,6 @@ public class VideoPreferenceTest {
|
||||
assertThat(mAnimationController.isPlaying()).isTrue();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
@Config(qualifiers = "mcc999")
|
||||
public void onViewVisible_createAnimationController() {
|
||||
|
||||
Reference in New Issue
Block a user