1
0
Fork 0
fenix/app/src/test/java/org/mozilla/fenix
Mugurell c5330c6880 For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158)
* For #5092 - Show a Snackbar with retry option if sharing to devices fails

ShareController will contain all the business logic for checking the result
status of the `share to device` operations. When this fails it will show a
snackbar which also offer the possibility to retry the just failed operation.
To allow this even in the event the user has closed the share fragment we'll
use a GlobalScope's coroutine.
Refactored out the TabsSharedCallback from ShareFragment because otherwise we
would have neede to sent through that the just failed operation. After the
refactor the ShareController is solely responsable for showing the right
snackbar and handling the retry actions.

* For #5092 - Refactor ShareControllerTest

* For #5092: Adds color theming of snackbars
2019-09-26 12:30:28 -07:00
..
browser Extract UriOpened observer from HomeActivity 2019-09-24 09:37:24 -07:00
collections Unbreak Nightly: Get rid of fragment-testing dependency and create fragments in test manually. 2019-09-12 13:44:17 +02:00
components No issue: Fixes GleanMetricsService nits & broken UI test (#5539) 2019-09-24 16:12:09 -07:00
crashes Extract and test crash reporter code 2019-09-20 11:04:11 -07:00
customtabs For #778 - Rename CustomTabActivity 2019-09-20 12:35:12 -07:00
exceptions Rename ExceptionsStore/State/Action to ExceptionsFragmentStore/State/Action. 2019-09-03 10:09:06 -07:00
ext Add tryGetHostFromUrl and update ExceptionDomains 2019-09-19 22:40:35 -04:00
home No issue: Extract home fragment mode (#5343) 2019-09-23 09:33:55 -07:00
library Move BookmarkNode extensions to helper class (#4752) 2019-09-24 09:17:29 -07:00
quickactionsheet For #5568 - Don't pass in Session for QuickActionSheetController 2019-09-25 13:33:38 -07:00
search For #964: Adds ability to disable each suggestion provider (#5096) 2019-09-05 14:45:44 -07:00
settings For #5406: Ignore intermittent failing test temporarily 2019-09-23 14:23:21 -07:00
share For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
trackingprotection For #5281 - Use TrackerLog for reporting ETP categories (#5556) 2019-09-25 10:48:06 -07:00
utils Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
whatsnew For #4474: Adds what's new button to home screen menu (#5088) 2019-09-03 15:16:29 -05:00
HomeActivityTest.kt Issue #1000 - Remove isCustomTab flag (#4656) 2019-08-20 10:00:49 -07:00
IntentReceiverActivityTest.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
TestApplication.kt Closes #5444: IntentReceiverActivity: Add tests for intent processing 2019-09-20 19:44:05 -04:00
TestUtils.kt No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00