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

Commit 4f660283 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Adding a rule so that @Stability annotation works presubmit

Bug: 316588649
Test: presubmit
Flag: N/A
Change-Id: Ic82db1c30c97f2653f8c30fc322a248b2b409695
parent 83d42f71
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,7 @@ import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertFalse
import junit.framework.Assert.assertFalse
import junit.framework.Assert.assertTrue
import junit.framework.Assert.assertTrue
import org.junit.Before
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runner.RunWith


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


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

    @Before
    @Before
    fun setup() {
    fun setup() {
        reset()
        reset()