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)
|
@RunWith(AndroidJUnit4::class)
|
||||||
class CryptoStoreTest : InstrumentedTest {
|
class CryptoStoreTest : InstrumentedTest {
|
||||||
|
|
||||||
@get:Rule var rule = RetryTestRule(3)
|
@get:Rule val rule = RetryTestRule(3)
|
||||||
|
|
||||||
private val cryptoStoreHelper = CryptoStoreHelper()
|
private val cryptoStoreHelper = CryptoStoreHelper()
|
||||||
private val clock = DefaultClock()
|
private val clock = DefaultClock()
|
||||||
|
|
|
@ -69,7 +69,7 @@ import java.util.concurrent.CountDownLatch
|
||||||
@LargeTest
|
@LargeTest
|
||||||
class E2eeSanityTests : InstrumentedTest {
|
class E2eeSanityTests : InstrumentedTest {
|
||||||
|
|
||||||
@get:Rule var rule = RetryTestRule(3)
|
@get:Rule val rule = RetryTestRule(3)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple test that create an e2ee room.
|
* Simple test that create an e2ee room.
|
||||||
|
|
|
@ -53,7 +53,7 @@ import org.matrix.android.sdk.common.TestConstants
|
||||||
@LargeTest
|
@LargeTest
|
||||||
class KeyShareTests : InstrumentedTest {
|
class KeyShareTests : InstrumentedTest {
|
||||||
|
|
||||||
@get:Rule var rule = RetryTestRule(3)
|
@get:Rule val rule = RetryTestRule(3)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun test_DoNotSelfShareIfNotTrusted() {
|
fun test_DoNotSelfShareIfNotTrusted() {
|
||||||
|
|
|
@ -48,7 +48,7 @@ import org.matrix.android.sdk.common.TestConstants
|
||||||
@LargeTest
|
@LargeTest
|
||||||
class WithHeldTests : InstrumentedTest {
|
class WithHeldTests : InstrumentedTest {
|
||||||
|
|
||||||
@get:Rule var rule = RetryTestRule(3)
|
@get:Rule val rule = RetryTestRule(3)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun test_WithHeldUnverifiedReason() {
|
fun test_WithHeldUnverifiedReason() {
|
||||||
|
|
Loading…
Reference in New Issue