Google 致力于为黑人社区推动种族平等。查看具体举措

androidx.fragment.app.testing

Interfaces

FragmentScenario.FragmentAction<F extends Fragment> FragmentAction interface should be implemented by any class whose instances are intended to be executed by the main thread. 

Classes

FragmentScenario<F extends Fragment> FragmentScenario provides API to start and drive a Fragment's lifecycle state for testing.