Skip to content

Commit

Permalink
Internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632540085
  • Loading branch information
brettchabot authored and copybara-androidxtest committed May 10, 2024
1 parent 3dbc74d commit b33f54c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion espresso/core/java/androidx/test/espresso/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ VIEW_INTERACTION = [
"InteractionResultsHandler.java",
]

INTERNAL_API_ANNOTATION = [
]

android_library(
name = "view-interaction",
srcs = VIEW_INTERACTION,
Expand Down Expand Up @@ -119,7 +122,7 @@ android_library(
name = "espresso",
srcs = glob(
["*.java"],
exclude = BASE_LAYER_INTERFACES + PUBLIC_FRAMEWORK_LAYER + ESPRESSO_GRAPH + VIEW_INTERACTION,
exclude = BASE_LAYER_INTERFACES + PUBLIC_FRAMEWORK_LAYER + ESPRESSO_GRAPH + VIEW_INTERACTION + INTERNAL_API_ANNOTATION,
),
exports = [
# Anything listed here is instantly available to targets that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import static androidx.test.internal.util.Checks.checkArgument;
import static androidx.test.internal.util.Checks.checkNotNull;

import androidx.test.annotation.ExperimentalTestApi;
import java.util.concurrent.TimeUnit;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ package androidx.test.espresso {
method public static void setIdlingResourceTimeout(long, java.util.concurrent.TimeUnit!);
method public static void setMasterPolicyTimeout(long, java.util.concurrent.TimeUnit!);
method public static void setMasterPolicyTimeoutWhenDebuggerAttached(boolean);
method @androidx.test.annotation.ExperimentalTestApi public static void unsafeMakeIdlingResourceErrorPolicyWarning();
method @androidx.test.annotation.ExperimentalTestApi public static void unsafeMakeMasterPolicyWarning();
}

public final class IdlingPolicy {
Expand Down Expand Up @@ -721,7 +719,6 @@ package androidx.test.espresso.matcher {
method public static org.hamcrest.Matcher<android.view.View!>! isRoot();
method public static org.hamcrest.Matcher<android.view.View!>! isSelected();
method public static org.hamcrest.Matcher<android.view.View!>! supportsInputMethods();
method @androidx.test.annotation.ExperimentalTestApi public static org.hamcrest.Matcher<android.view.View!>! thatMatchesFirst(org.hamcrest.Matcher<android.view.View!>!);
method public static org.hamcrest.Matcher<android.view.View!>! withAlpha(float);
method public static org.hamcrest.Matcher<android.view.View!>! withChild(org.hamcrest.Matcher<android.view.View!>!);
method public static org.hamcrest.Matcher<android.view.View!>! withClassName(org.hamcrest.Matcher<java.lang.String!>!);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import androidx.test.annotation.ExperimentalTestApi;
import androidx.test.espresso.remote.annotation.RemoteMsgConstructor;
import androidx.test.espresso.remote.annotation.RemoteMsgField;
import androidx.test.espresso.util.HumanReadables;
Expand Down

0 comments on commit b33f54c

Please sign in to comment.