Name Description Size
ext
FirefoxRobolectricTestRunner.kt A Robolectric test runner that initializes the test environment for our unit tests. 1234
KeyEventHelper.kt Helpers functions for manipulating KeyEvents. 1212
MockFragmentManagerContainer.kt A data container for a mocked [FragmentManager] which returns fragments specific to this app, such as the [NavigationOverlayFragment]. 1195
RxTestHelper.kt Used to force all tested Rx code to execute synchronously. IMPORTANT NOTE: **must** be called from [BeforeClass] This cannot be a JUnit [ClassRule] because [ClassRule]s are not executed in any files using Robolectric. See https://github.com/robolectric/robolectric/issues/2637 ``` // Example usage companion object { @BeforeClass @JvmStatic fun beforeClass() { forceRxSynchronous() } } ``` 3065
shadows
TestResource.kt Accessors to resources used in testing. These files are available in `app/src/test/resources`. 605
tests