Loading tests/src/com/android/launcher3/util/ExecutorRunnableTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.util import android.testing.AndroidTestingRunner import androidx.test.filters.SmallTest import com.android.launcher3.util.rule.TestStabilityRule import java.util.concurrent.ExecutorService import junit.framework.Assert.assertEquals import junit.framework.Assert.assertFalse Loading Loading @@ -65,6 +66,9 @@ class ExecutorRunnableTest { } @Test @TestStabilityRule.Stability( flavors = TestStabilityRule.LOCAL or TestStabilityRule.PLATFORM_POSTSUBMIT ) // b/316588649 fun run_and_cancel_cancelCallback() { underTest.cancel(false) awaitAllExecutorCompleted() Loading Loading
tests/src/com/android/launcher3/util/ExecutorRunnableTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.util import android.testing.AndroidTestingRunner import androidx.test.filters.SmallTest import com.android.launcher3.util.rule.TestStabilityRule import java.util.concurrent.ExecutorService import junit.framework.Assert.assertEquals import junit.framework.Assert.assertFalse Loading Loading @@ -65,6 +66,9 @@ class ExecutorRunnableTest { } @Test @TestStabilityRule.Stability( flavors = TestStabilityRule.LOCAL or TestStabilityRule.PLATFORM_POSTSUBMIT ) // b/316588649 fun run_and_cancel_cancelCallback() { underTest.cancel(false) awaitAllExecutorCompleted() Loading