Use ActivityTestRule as a Rule
Rules are rules, and the rules are that @Rule rules go through ActivityStatement.evaluate, which among other things synchronously finishes the activity under test even if it was manually started. Bug: 276843259 Test: atest --iterations 100 ActivityThreadTest Change-Id: I6fd1bb00b587250192e84bcb70771eda1259d36b
Loading
Please register or sign in to comment