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

Commit 014e9cb6 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Adding a rule so that @Stability annotation works presubmit" into main

parents 511421c1 4f660283
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertFalse
import junit.framework.Assert.assertTrue
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@@ -38,6 +39,8 @@ class ExecutorRunnableTest {
    private var isTaskExecuted = false
    private var isCallbackExecuted = false

    @get:Rule(order = 0) val testStabilityRule = TestStabilityRule()

    @Before
    fun setup() {
        reset()