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

Commit 34291f07 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Run leak detector in test isolation rule" into main

parents 8171e2fb 7772c326
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;
@@ -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);
            }
            }
        };
        };
    }
    }