Merge "Check for memory leaks after tests in FallbackRecentsTest" into sc-dev am: b55372cea6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14415267 Change-Id: Ib95c809cb3d3266a98dbba9f876788a1d81d24f2
This commit is contained in:
@@ -61,6 +61,7 @@ import com.android.launcher3.util.Wait;
|
||||
import com.android.launcher3.util.rule.FailureWatcher;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.RuleChain;
|
||||
@@ -141,6 +142,12 @@ public class FallbackRecentsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@After
|
||||
public void verifyLauncherState() {
|
||||
// Limits UI tests affecting tests running after them.
|
||||
AbstractQuickStepTest.checkDetectedLeaks(mLauncher);
|
||||
}
|
||||
|
||||
// b/143488140
|
||||
//@NavigationModeSwitch
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user