Merge "Ignore failing tests under com.android.settings.wifi" into main

This commit is contained in:
Fan Wu
2023-12-05 09:52:12 +00:00
committed by Android (Google) Code Review
5 changed files with 9 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ import com.android.wifitrackerlib.WifiEntry;
import com.google.android.setupcompat.util.WizardManagerHelper;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -89,6 +90,7 @@ public class WifiDialogActivityTest {
WifiDialogActivity mActivity;
@Ignore("b/314867581")
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);

View File

@@ -45,6 +45,7 @@ import android.os.Bundle;
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.ArgumentCaptor;
@@ -55,6 +56,7 @@ import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
@Ignore("b/314867581")
@RunWith(RobolectricTestRunner.class)
public class WifiNoInternetDialogTest {

View File

@@ -29,6 +29,7 @@ import android.os.UserManager;
import androidx.test.core.app.ApplicationProvider;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -39,6 +40,7 @@ import org.mockito.junit.MockitoRule;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
@Ignore("b/314867581")
@RunWith(RobolectricTestRunner.class)
public class WifiDppConfiguratorActivityTest {

View File

@@ -28,6 +28,7 @@ import android.content.Intent;
import com.android.settingslib.wifi.WifiRestrictionsCache;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -37,6 +38,7 @@ import org.mockito.junit.MockitoRule;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
@Ignore("b/314867581")
@RunWith(RobolectricTestRunner.class)
public class WifiDppEnrolleeActivityTest {

View File

@@ -47,6 +47,7 @@ import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Config;
@Ignore("b/314867581")
@RunWith(RobolectricTestRunner.class)
@Config(shadows = ShadowInteractionJankMonitor.class)
public class SavedAccessPointsWifiSettings2Test {