Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.test.annotation

Annotations

Beta Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. 
UiThreadTest Methods annotated with this annotation will be executed on the application's UI thread (or main thread).