move support test package to sdk 26
Test: make RunSettingsRoboTests -j40 Change-Id: Ief5bfdd024a8c40255c759182df01fc41ca57f90
This commit is contained in:
@@ -52,7 +52,7 @@ import org.robolectric.annotation.Config;
|
|||||||
import org.robolectric.shadows.ShadowPackageManager;
|
import org.robolectric.shadows.ShadowPackageManager;
|
||||||
|
|
||||||
@RunWith(SettingsRobolectricTestRunner.class)
|
@RunWith(SettingsRobolectricTestRunner.class)
|
||||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||||
public class NewDeviceIntroSuggestionActivityTest {
|
public class NewDeviceIntroSuggestionActivityTest {
|
||||||
|
|
||||||
@Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
@Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
||||||
|
@@ -28,7 +28,7 @@ import org.robolectric.annotation.Config;
|
|||||||
import static com.google.common.truth.Truth.assertThat;
|
import static com.google.common.truth.Truth.assertThat;
|
||||||
|
|
||||||
@RunWith(SettingsRobolectricTestRunner.class)
|
@RunWith(SettingsRobolectricTestRunner.class)
|
||||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||||
public class SupportConfigTest {
|
public class SupportConfigTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@@ -40,7 +40,7 @@ import org.robolectric.annotation.Config;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@RunWith(SettingsRobolectricTestRunner.class)
|
@RunWith(SettingsRobolectricTestRunner.class)
|
||||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||||
public class SupportDashboardActivityTest {
|
public class SupportDashboardActivityTest {
|
||||||
|
|
||||||
private Context mContext;
|
private Context mContext;
|
||||||
|
@@ -40,7 +40,7 @@ import static org.mockito.Mockito.when;
|
|||||||
import static org.robolectric.shadow.api.Shadow.directlyOn;
|
import static org.robolectric.shadow.api.Shadow.directlyOn;
|
||||||
|
|
||||||
@RunWith(SettingsRobolectricTestRunner.class)
|
@RunWith(SettingsRobolectricTestRunner.class)
|
||||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
|
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O,
|
||||||
shadows = {SupportDisclaimerShadowResources.class})
|
shadows = {SupportDisclaimerShadowResources.class})
|
||||||
public class SupportDisclaimerDialogFragmentTest {
|
public class SupportDisclaimerDialogFragmentTest {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user