commit | 180c089d6ddb675cfde90ab2bf4bc29a2f6b1d87 | [log] [tgz] |
---|---|---|
author | Caitlin Cassidy <ccassidy@google.com> | Mon Aug 22 19:12:54 2022 +0000 |
committer | Caitlin Shkuratov <ccassidy@google.com> | Mon Aug 22 20:25:39 2022 +0000 |
tree | 501b4d966c9728bd421326ac9f3f0cf4ce497bd2 | |
parent | db2c8323ef437b60baaa5cb5a0fc8e1f28583a45 [diff] |
[SB Refactor] Move InstantTaskExecutorRule to its own file so it can be used by other tests. Any tests that are exercising the `view.repeatWhenAttached` method need to use this rule; otherwise, we'll get `IllegalStateException: should be called from the main thread.` error. Moving the rule to its own file lets us better import it for other tests. Test: atest RepeatWhenAttachedTest Bug: 238425913 Change-Id: Icab6b63b419a3898a8be35f16c06a8a3d09db4e2