commit | 544f6e228c05281bf545e7603855ccc38ed287dc | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Wed Feb 28 10:26:01 2024 -0800 |
committer | Vadim Tryshev <vadimt@google.com> | Wed Feb 28 18:27:39 2024 +0000 |
tree | ee21b2c8624aa3ea3c1044bf36617e85b5acece7 | |
parent | 8833826b00de62a307191706862da51142c2bff7 [diff] |
Add TestStabilityRule so that @Stability annotation works Bug: 319923578 Test: presubmit Flag: N/A Change-Id: I5613a2ee658a458871ea89219764d13796d07b83
diff --git a/tests/src/com/android/launcher3/model/FolderIconLoadTest.kt b/tests/src/com/android/launcher3/model/FolderIconLoadTest.kt index 34c41a6..2118ed6 100644 --- a/tests/src/com/android/launcher3/model/FolderIconLoadTest.kt +++ b/tests/src/com/android/launcher3/model/FolderIconLoadTest.kt
@@ -30,6 +30,7 @@ import java.util.concurrent.CountDownLatch import org.junit.After import org.junit.Before +import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -57,6 +58,8 @@ TEST_ACTIVITY14 ) + @get:Rule(order = 0) val testStabilityRule = TestStabilityRule() + @Before fun setUp() { modelHelper = LauncherModelHelper()