adding trailing commas
This commit is contained in:
parent
d75e37966c
commit
600588dbbb
|
@ -105,7 +105,7 @@ class CommonTestHelper internal constructor(context: Context) {
|
||||||
MatrixConfiguration(
|
MatrixConfiguration(
|
||||||
applicationFlavor = "TestFlavor",
|
applicationFlavor = "TestFlavor",
|
||||||
roomDisplayNameFallbackProvider = TestRoomDisplayNameFallbackProvider(),
|
roomDisplayNameFallbackProvider = TestRoomDisplayNameFallbackProvider(),
|
||||||
syncConfig = SyncConfig(longPollTimeout = 5_000L)
|
syncConfig = SyncConfig(longPollTimeout = 5_000L),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,5 +73,5 @@ data class MatrixConfiguration(
|
||||||
/**
|
/**
|
||||||
* Sync configuration.
|
* Sync configuration.
|
||||||
*/
|
*/
|
||||||
val syncConfig: SyncConfig = SyncConfig()
|
val syncConfig: SyncConfig = SyncConfig(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,5 +20,5 @@ data class SyncConfig(
|
||||||
/**
|
/**
|
||||||
* Time to keep sync connection alive for before making another request in milliseconds.
|
* Time to keep sync connection alive for before making another request in milliseconds.
|
||||||
*/
|
*/
|
||||||
val longPollTimeout: Long = 30_000L
|
val longPollTimeout: Long = 30_000L,
|
||||||
)
|
)
|
||||||
|
|
|
@ -26,7 +26,7 @@ fun getMatrixInstance(): Matrix {
|
||||||
val context = InstrumentationRegistry.getInstrumentation().targetContext
|
val context = InstrumentationRegistry.getInstrumentation().targetContext
|
||||||
val configuration = MatrixConfiguration(
|
val configuration = MatrixConfiguration(
|
||||||
roomDisplayNameFallbackProvider = VectorRoomDisplayNameFallbackProvider(context),
|
roomDisplayNameFallbackProvider = VectorRoomDisplayNameFallbackProvider(context),
|
||||||
syncConfig = SyncConfig(longPollTimeout = 5_000L)
|
syncConfig = SyncConfig(longPollTimeout = 5_000L),
|
||||||
)
|
)
|
||||||
return Matrix(context, configuration)
|
return Matrix(context, configuration)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue