Ignore PrivateVolumeForgetTest#test_invalidSetupDoesNotCrashSettings
It failed with Resources$NotFoundException and it blocks WindowManager extensions CTS tests, so ignore it at first. Bug: 216630912 Test: atest com.android.settings.deviceinfo.PrivateVolumeForgetTest Change-Id: Iec270535a73bcca5879d2792c181d853b4af7250
This commit is contained in:
@@ -28,6 +28,7 @@ import androidx.test.runner.AndroidJUnit4;
|
||||
|
||||
import com.android.settings.Settings;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
@@ -40,6 +41,7 @@ public class PrivateVolumeForgetTest {
|
||||
new ActivityTestRule<>(Settings.PrivateVolumeForgetActivity.class, true, true);
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void test_invalidSetupDoesNotCrashSettings() {
|
||||
Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
Intent intent = new Intent(targetContext, Settings.PrivateVolumeForgetActivity.class);
|
||||
|
Reference in New Issue
Block a user