Skip to content

Commit

Permalink
Include ExperimentalTestApi in public api diff checks.
Browse files Browse the repository at this point in the history
The intent is to facilitate closer review of ExperimentalTestApis.

PiperOrigin-RevId: 628214003
  • Loading branch information
brettchabot authored and copybara-androidxtest committed Apr 25, 2024
1 parent f3182f5 commit 3377b35
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ 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 @@ -719,6 +721,7 @@ 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 @@ -16,5 +16,83 @@ package androidx.test.services.storage {
method public java.io.OutputStream! openOutputFile(String, boolean) throws java.io.FileNotFoundException;
}

@androidx.test.annotation.ExperimentalTestApi public final class TestStorageConstants {
field public static final String INTERNAL_USE_PROVIDER_AUTHORITY = "androidx.test.services.storage._internal_use_files";
field public static final String ON_DEVICE_FIXTURE_SCRIPTS = "googletest/fixture_scripts/";
field public static final String ON_DEVICE_PATH_INTERNAL_USE = "googletest/internal_use/";
field public static final String ON_DEVICE_PATH_ROOT = "googletest/";
field public static final String ON_DEVICE_PATH_TEST_OUTPUT = "googletest/test_outputfiles/";
field public static final String ON_DEVICE_PATH_TEST_PROPERTIES = "googletest/test_exportproperties/";
field public static final String ON_DEVICE_TEST_RUNFILES = "googletest/test_runfiles/";
field public static final String OUTPUT_PROPERTIES_PROVIDER_AUTHORITY = "androidx.test.services.storage.properties";
field public static final String TEST_ARGS_FILE_NAME = "test_args.dat";
field public static final String TEST_ARGS_PROVIDER_AUTHORITY = "androidx.test.services.storage.testargs";
field public static final String TEST_OUTPUT_PROVIDER_AUTHORITY = "androidx.test.services.storage.outputfiles";
field public static final String TEST_RUNFILES_PROVIDER_AUTHORITY = "androidx.test.services.storage.runfiles";
}

@androidx.test.annotation.ExperimentalTestApi public class TestStorageException extends java.lang.RuntimeException {
ctor public TestStorageException(String!);
ctor public TestStorageException(String!, Throwable!);
}

}

package androidx.test.services.storage.file {

@androidx.test.annotation.ExperimentalTestApi public final class HostedFile {
method public static android.net.Uri! buildUri(androidx.test.services.storage.file.HostedFile.FileHost!, String!);
method public static java.io.File! getInputRootDirectory(android.content.Context!);
method public static java.io.File! getOutputRootDirectory(android.content.Context!);
}

public enum HostedFile.FileHost {
method public String! getAuthority();
method public boolean isWritable();
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost EXPORT_PROPERTIES;
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost INTERNAL_USE_ONLY;
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost OUTPUT;
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost TEST_FILE;
}

public enum HostedFile.FileType {
method public static androidx.test.services.storage.file.HostedFile.FileType! fromTypeCode(String!);
method public String! getTypeCode();
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileType DIRECTORY;
enum_constant public static final androidx.test.services.storage.file.HostedFile.FileType FILE;
}

public enum HostedFile.HostedFileColumn {
method public int getAndroidType();
method public String! getColumnName();
method public static String![]! getColumnNames();
method public Class<?>! getColumnType();
method public int getPosition();
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn DATA;
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn DISPLAY_NAME;
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn NAME;
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn SIZE;
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn SIZE_2;
enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn TYPE;
}

@androidx.test.annotation.ExperimentalTestApi public final class PropertyFile {
method public static android.net.Uri! buildUri(androidx.test.services.storage.file.PropertyFile.Authority!);
method public static android.net.Uri! buildUri(androidx.test.services.storage.file.PropertyFile.Authority!, String!);
}

public enum PropertyFile.Authority {
method public String! getAuthority();
enum_constant public static final androidx.test.services.storage.file.PropertyFile.Authority TEST_ARGS;
}

public enum PropertyFile.Column {
method public String! getName();
method public static String![]! getNames();
method public int getPosition();
enum_constant public static final androidx.test.services.storage.file.PropertyFile.Column NAME;
enum_constant public static final androidx.test.services.storage.file.PropertyFile.Column VALUE;
}

}

0 comments on commit 3377b35

Please sign in to comment.