-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature
: Send message via user dialog (#285)
- Loading branch information
1 parent
faf48d4
commit 271b6ea
Showing
31 changed files
with
564 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...e_app/core/data/AccountDataServiceStub.kt → .../core/data/test/AccountDataServiceStub.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 12 additions & 4 deletions
16
...sation/EmptyVisibleMetisContextManager.kt → ...tistest/VisibleMetisContextManagerMock.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
package de.tum.informatics.www1.artemis.native_app.feature.metis.conversation | ||
package de.tum.informatics.www1.artemis.native_app.feature.metistest | ||
|
||
import de.tum.informatics.www1.artemis.native_app.feature.metis.shared.visiblemetiscontextreporter.VisibleMetisContext | ||
import de.tum.informatics.www1.artemis.native_app.feature.metis.shared.visiblemetiscontextreporter.VisibleMetisContextManager | ||
|
||
object EmptyVisibleMetisContextManager : VisibleMetisContextManager { | ||
override fun registerMetisContext(metisContext: VisibleMetisContext) = Unit | ||
object VisibleMetisContextManagerMock : VisibleMetisContextManager { | ||
private val registeredMetisContexts = mutableListOf<VisibleMetisContext>() | ||
|
||
override fun unregisterMetisContext(metisContext: VisibleMetisContext) = Unit | ||
override fun registerMetisContext(metisContext: VisibleMetisContext) { | ||
registeredMetisContexts.add(metisContext) | ||
} | ||
|
||
override fun unregisterMetisContext(metisContext: VisibleMetisContext) { | ||
registeredMetisContexts.remove(metisContext) | ||
} | ||
|
||
override fun getRegisteredMetisContexts(): List<VisibleMetisContext> = registeredMetisContexts | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.