Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbd10ecd authored by Austin Tankiang's avatar Austin Tankiang
Browse files

Create InflateMessageDocumentHolder on UI thread during test

Previously this was attempted to be done by decorating the test with
@UiThreadTest, but that doesn't seem to work because the test runner
isn't the AndroidJUnit4 runner. Instead call out to runOnMainSync do do
so.

Bug: 423126739
Test: atest 'DocumentsUIGoogleTests:com.android.documentsui.dirlist.InflateMessageDocumentHolderTest#testClickingButtonShouldShowProgressBar'
Flag: TEST_ONLY
Change-Id: I2cb9b26001ace74bfd0a98dae8feba632c3454f0
parent f582883d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment