|
|
@ -361,12 +361,12 @@ class ShareControllerTest {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun `getShareSubject will return "shareSubject" if that is non null`() {
|
|
|
|
fun `getShareSubject will return 'shareSubject' if that is non null`() {
|
|
|
|
assertEquals(shareSubject, controller.getShareSubject())
|
|
|
|
assertEquals(shareSubject, controller.getShareSubject())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun `getShareSubject will return a concatenation of tab titles if "shareSubject" is null`() {
|
|
|
|
fun `getShareSubject will return a concatenation of tab titles if 'shareSubject' is null`() {
|
|
|
|
val controller = DefaultShareController(
|
|
|
|
val controller = DefaultShareController(
|
|
|
|
context, null, shareData, sendTabUseCases, snackbar, navController,
|
|
|
|
context, null, shareData, sendTabUseCases, snackbar, navController,
|
|
|
|
recentAppStorage, testCoroutineScope, testDispatcher, dismiss
|
|
|
|
recentAppStorage, testCoroutineScope, testDispatcher, dismiss
|
|
|
|