Correct var -> val for @get:Rules
This commit is contained in:
parent
1f89cfbe44
commit
868c33a8b4
|
@ -39,7 +39,7 @@ private const val DUMMY_DEVICE_KEY = "DeviceKey"
|
|||
@RunWith(AndroidJUnit4::class)
|
||||
class CryptoStoreTest : InstrumentedTest {
|
||||
|
||||
@get:Rule var rule = RetryTestRule(3)
|
||||
@get:Rule val rule = RetryTestRule(3)
|
||||
|
||||
private val cryptoStoreHelper = CryptoStoreHelper()
|
||||
private val clock = DefaultClock()
|
||||
|
|
|
@ -69,7 +69,7 @@ import java.util.concurrent.CountDownLatch
|
|||
@LargeTest
|
||||
class E2eeSanityTests : InstrumentedTest {
|
||||
|
||||
@get:Rule var rule = RetryTestRule(3)
|
||||
@get:Rule val rule = RetryTestRule(3)
|
||||
|
||||
/**
|
||||
* Simple test that create an e2ee room.
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.matrix.android.sdk.common.TestConstants
|
|||
@LargeTest
|
||||
class KeyShareTests : InstrumentedTest {
|
||||
|
||||
@get:Rule var rule = RetryTestRule(3)
|
||||
@get:Rule val rule = RetryTestRule(3)
|
||||
|
||||
@Test
|
||||
fun test_DoNotSelfShareIfNotTrusted() {
|
||||
|
|
|
@ -48,7 +48,7 @@ import org.matrix.android.sdk.common.TestConstants
|
|||
@LargeTest
|
||||
class WithHeldTests : InstrumentedTest {
|
||||
|
||||
@get:Rule var rule = RetryTestRule(3)
|
||||
@get:Rule val rule = RetryTestRule(3)
|
||||
|
||||
@Test
|
||||
fun test_WithHeldUnverifiedReason() {
|
||||
|
|
Loading…
Reference in New Issue