The Wayback Machine - http://web.archive.org/web/20220816172835/https://github.com/android/android-test
Skip to content

android/android-test

master
Switch branches/tags
Code

Latest commit

There were two problems:
1) In AndroidManifest file, BootstrapActivity didn't have CATEGORY_LAUNCHER
category which is now required for Intent.makeMainActivity.
2) When registering a broadcast receiver, you have to pass RECEIVER_EXPORTED
flag in order to receive message from other processes.

PiperOrigin-RevId: 467799097
e54d0cc

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
api
 
 
 
 
 
 
 
 
ext
 
 
ktx
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AndroidX Test Library

The AndroidX Test Library provides an extensive framework for testing Android apps. This library provides a set of APIs that allow you to quickly build and run test code for your apps, including JUnit 4 and functional user interface (UI) tests. You can run tests created using these APIs from the Android Studio IDE or from the command line.

For more details see developers.android.com/testing

Contributing

See CONTRIBUTING.md

Issues

We use the GitHub issue tracker for tracking feature requests and bugs.

Please see the AndroidX Test Discuss mailing list for general questions and discussion, and please direct specific questions to Stack Overflow.

Bazel integration

To depend on this repository in Bazel, add the following snippet to your WORKSPACE file:

ATS_TAG = "<release-tag>"
http_archive(
    name = "android_test_support",
    sha256 = "<sha256 of release>",
    strip_prefix = "android-test-%s" % ATS_TAG,
    urls = ["https://github.com/android/android-test/archive/%s.tar.gz" % ATS_TAG],
)
load("@android_test_support//:repo.bzl", "android_test_repositories")
android_test_repositories()

Releases

Androidx.test no longer uses github to track releases.

See https://developer.android.com/jetpack/androidx/releases/test for release notes, and https://maven.google.com for release artifacts and source snapshots.