File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
libraries/matrix/impl/src/test/kotlin/io/element/android/libraries/matrix/impl Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5757 cache-read-only : ${{ github.ref != 'refs/heads/develop' }}
5858
5959 - name : ⚙️ Check coverage for debug variant (includes unit & screenshot tests)
60- run : ./gradlew :tests:uitests:verifyPaparazziDebug :app:koverXmlReportGplayDebug :app:koverHtmlReportGplayDebug :app:koverVerifyAll $CI_GRADLE_ARG_PROPERTIES
60+ run : ./gradlew testDebugUnitTest :tests:uitests:verifyPaparazziDebug :app:koverXmlReportGplayDebug :app:koverHtmlReportGplayDebug :app:koverVerifyAll $CI_GRADLE_ARG_PROPERTIES
6161
6262 - name : 🚫 Upload kover failed coverage reports
6363 if : failure()
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ package io.element.android.libraries.matrix.impl
1010import com.google.common.truth.Truth.assertThat
1111import io.element.android.libraries.featureflag.test.FakeFeatureFlagService
1212import io.element.android.libraries.matrix.api.core.SessionId
13- import io.element.android.libraries.matrix.impl.analytics.UtdTracker
1413import io.element.android.libraries.matrix.impl.auth.FakeProxyProvider
1514import io.element.android.libraries.matrix.impl.auth.FakeUserCertificatesProvider
1615import io.element.android.libraries.matrix.impl.room.FakeTimelineEventTypeFilterFactory
@@ -50,7 +49,7 @@ fun TestScope.createRustMatrixClientFactory(
5049 userCertificatesProvider = FakeUserCertificatesProvider (),
5150 proxyProvider = FakeProxyProvider (),
5251 clock = FakeSystemClock (),
53- utdTracker = UtdTracker ( FakeAnalyticsService () ),
52+ analyticsService = FakeAnalyticsService (),
5453 featureFlagService = FakeFeatureFlagService (),
5554 timelineEventTypeFilterFactory = FakeTimelineEventTypeFilterFactory (),
5655 clientBuilderProvider = FakeClientBuilderProvider (),
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import org.matrix.rustcomponents.sdk.RequestConfig
1818import org.matrix.rustcomponents.sdk.SlidingSyncVersionBuilder
1919import uniffi.matrix_sdk.BackupDownloadStrategy
2020import uniffi.matrix_sdk_crypto.CollectStrategy
21+ import uniffi.matrix_sdk_crypto.TrustRequirement
2122
2223class FakeRustClientBuilder : ClientBuilder (NoPointer ) {
2324 override fun addRootCertificates (certificates : List <ByteArray >) = this
@@ -26,6 +27,7 @@ class FakeRustClientBuilder : ClientBuilder(NoPointer) {
2627 override fun backupDownloadStrategy (backupDownloadStrategy : BackupDownloadStrategy ) = this
2728 override fun disableAutomaticTokenRefresh () = this
2829 override fun disableBuiltInRootCertificates () = this
30+ override fun roomDecryptionTrustRequirement (trustRequirement : TrustRequirement ) = this
2931 override fun disableSslVerification () = this
3032 override fun enableCrossProcessRefreshLock (processId : String , sessionDelegate : ClientSessionDelegate ) = this
3133 override fun homeserverUrl (url : String ) = this
You can’t perform that action at this time.
0 commit comments