Loading tests/src/com/android/launcher3/util/rule/TestIsolationRule.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.util.rule; import androidx.annotation.NonNull; import androidx.annotation.NonNull; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.ui.AbstractLauncherUiTest; import org.junit.rules.TestRule; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runner.Description; Loading @@ -42,6 +43,7 @@ public class TestIsolationRule implements TestRule { base.evaluate(); base.evaluate(); // Make sure that Launcher workspace looks correct. // Make sure that Launcher workspace looks correct. mLauncher.goHome(); mLauncher.goHome(); AbstractLauncherUiTest.checkDetectedLeaks(mLauncher); } } }; }; } } Loading Loading
tests/src/com/android/launcher3/util/rule/TestIsolationRule.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.util.rule; import androidx.annotation.NonNull; import androidx.annotation.NonNull; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.ui.AbstractLauncherUiTest; import org.junit.rules.TestRule; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runner.Description; Loading @@ -42,6 +43,7 @@ public class TestIsolationRule implements TestRule { base.evaluate(); base.evaluate(); // Make sure that Launcher workspace looks correct. // Make sure that Launcher workspace looks correct. mLauncher.goHome(); mLauncher.goHome(); AbstractLauncherUiTest.checkDetectedLeaks(mLauncher); } } }; }; } } Loading