File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
libraries/matrix/impl/src/test/kotlin/io/element/android/libraries/matrix/impl/fixtures/fakes Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import org.matrix.rustcomponents.sdk.PusherKind
25
25
import org.matrix.rustcomponents.sdk.RoomDirectorySearch
26
26
import org.matrix.rustcomponents.sdk.Session
27
27
import org.matrix.rustcomponents.sdk.SessionVerificationController
28
+ import org.matrix.rustcomponents.sdk.SpaceService
28
29
import org.matrix.rustcomponents.sdk.SyncService
29
30
import org.matrix.rustcomponents.sdk.SyncServiceBuilder
30
31
import org.matrix.rustcomponents.sdk.TaskHandle
@@ -52,6 +53,7 @@ class FakeFfiClient(
52
53
override suspend fun cachedAvatarUrl (): String? = null
53
54
override suspend fun restoreSession (session : Session ) = Unit
54
55
override fun syncService (): SyncServiceBuilder = FakeFfiSyncServiceBuilder ()
56
+ override fun spaceService (): SpaceService = FakeFfiSpaceService ()
55
57
override fun roomDirectorySearch (): RoomDirectorySearch = FakeFfiRoomDirectorySearch ()
56
58
override suspend fun setPusher (
57
59
identifiers : PusherIdentifiers ,
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2025 New Vector Ltd.
3
+ *
4
+ * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5
+ * Please see LICENSE files in the repository root for full details.
6
+ */
7
+
8
+ package io.element.android.libraries.matrix.impl.fixtures.fakes
9
+
10
+ import org.matrix.rustcomponents.sdk.NoPointer
11
+ import org.matrix.rustcomponents.sdk.SpaceService
12
+
13
+ class FakeFfiSpaceService : SpaceService (NoPointer )
You can’t perform that action at this time.
0 commit comments