Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove instrumentedPackages workaround #6875

Merged
merged 1 commit into from Nov 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -6,7 +6,7 @@ errorproneVersion=2.9.0
errorproneJavacVersion=9+181-r4173-1

axtVersion=1.4.0
espressoVersion=3.4.0
espressoVersion=3.5.0-alpha03
axtJunitVersion=1.1.3

android.useAndroidX=true
Expand Down
Expand Up @@ -27,11 +27,6 @@

/** Simple tests to verify espresso APIs can be used on both Robolectric and device. */
@RunWith(AndroidJUnit4.class)
@Config(
instrumentedPackages = {
// required to access final members on androidx.loader.content.ModernAsyncTask
"androidx.loader.content"
})
public final class EspressoTest {

@Rule
Expand Down
Expand Up @@ -21,11 +21,6 @@
@RunWith(AndroidJUnit4.class)
@TextLayoutMode(Mode.REALISTIC)
@LooperMode(PAUSED)
@Config(
instrumentedPackages = {
// required to access final members on androidx.loader.content.ModernAsyncTask
"androidx.loader.content"
})
public class EspressoWithMenuTest {

@Test
Expand Down
Expand Up @@ -16,11 +16,6 @@
import org.robolectric.integration.axt.R;

/** Verify Espresso usage with paused looper */
@Config(
instrumentedPackages = {
// required to access final members on androidx.loader.content.ModernAsyncTask
"androidx.loader.content"
})
@RunWith(AndroidJUnit4.class)
public final class EspressoWithPausedLooperTest {

Expand Down
Expand Up @@ -17,11 +17,6 @@
/** Tests Espresso on Activities with {@link androidx.appcompat.widget.SwitchCompat}. */
@RunWith(AndroidJUnit4.class)
@TextLayoutMode(TextLayoutMode.Mode.REALISTIC)
@Config(
instrumentedPackages = {
// required to access final members on androidx.loader.content.ModernAsyncTask
"androidx.loader.content"
})
public class EspressoWithSwitchCompatTest {
@Test
public void switchCompatTest() {
Expand Down
Expand Up @@ -22,11 +22,6 @@
@RunWith(AndroidJUnit4.class)
@TextLayoutMode(Mode.REALISTIC)
@LooperMode(PAUSED)
@Config(
instrumentedPackages = {
// required to access final members on androidx.loader.content.ModernAsyncTask
"androidx.loader.content"
})
public class EspressoWithToolbarMenuTest {
@Test
public void appCompatToolbarMenuClick() {
Expand Down