shldhll
f907ec52f0
Removed ObsoleteCoroutinesApi in tests. Closes #5876
2019-10-10 04:04:51 +05:30
Emily Kager
f9afd97a68
For #1901 - Get rid of black flash when leaving GV Engine
2019-10-09 11:02:21 -07:00
Ahmed I. Khalil
f008d29bf3
Closes #5852 - Use createAddedTestFragments in tests.
2019-10-09 08:51:52 -07:00
Roger Yang
e9760fb185
Closes #5847 : Use IO thread when submitting crash report
2019-10-08 18:46:14 -07:00
Tiger Oakes
5e2f0dcf26
Remove @ObsoleteCoroutinesApi from TestCore
2019-10-08 15:49:40 -07:00
Severin Rudie
411ccc8f1f
For 4780: add DefaultBrowsingModeManager tests
2019-10-08 15:13:17 -07:00
Severin Rudie
c9e68bda31
For 4780: remove Settings#usePrivateMode and tests
2019-10-08 15:13:17 -07:00
isabelrios
0e3148f0da
fixing more reviewers comments
2019-10-08 09:56:29 +02:00
isabelrios
cdefb0d099
Fix TC error and run only ui tests
2019-10-08 09:56:29 +02:00
Denys M
a4439ff373
For #3563 . Use `ListAdapter` for App Share list.
2019-10-07 10:41:48 -07:00
Colin Lee
b7647a454f
For #5599 : Remove dependency on fetch_httpurlconnection ( #5716 )
...
* For #5599 : Remove dependency on fetch_httpurlconnection
* For #5599 : Switch Glean to GeckoViewFetchClient
* Use existing Gecko client for Glean
2019-10-04 12:28:23 -05:00
Sawyer Blatz
841b06b02f
No issue: fixes master ( #5777 )
2019-10-03 14:42:56 -07:00
Sawyer Blatz
371e2ac3d8
For #514 & #5742 : Updates "launch links in private tab" functionality ( #5721 )
...
* For #514 & #5742 : Updates "launch links in private tab" functionality
* Fixes comments
2019-10-03 12:43:33 -07:00
Severin Rudie
3be06953d6
For #4780 switch off private mode ( #5614 )
...
* Do not launch in Private Mode
When the app launches do not launch in Private Mode in order to prevent usage leaks to other users of the device.
* Issue #4780 : add comments to use private mode
* For #4780 : write tests for clear private mode on create app
* For #4780 : clear private mode when privacy notification is removed
2019-10-03 10:23:13 -07:00
Sawyer Blatz
785b8b9519
For #5567 : Removes search shortcuts button ( #5739 )
...
* For #5567 : Removes search shortcut button
* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00
Sawyer Blatz
2896b36d14
No issue: Updates naming of launch links privately var ( #5701 )
...
The previous name was pretty confusing
2019-10-02 12:11:21 -07:00
ekager
ef29fe2584
Update BackgroundServicesTest, Suppress Complex Method
2019-09-30 10:33:56 -07:00
Sawyer Blatz
5e18ead45e
For #4474 : Adds tests and fixes issues
2019-09-27 08:59:05 -07:00
Tiger Oakes
ee1f040e53
No issue: Move signedIn tracking to BookmarksSharedViewModel ( #4755 )
2019-09-27 08:57:38 -07:00
Tiger Oakes
88aa519210
Closes #4711 - Extract VoiceSearchActivity ( #5502 )
2019-09-27 07:54:29 -07:00
Severin Rudie
dffa61bf16
Closes #4513 : fixes bookmark tests broken by loading change
...
Note that BookmarkFragmentStoreTest changes preserve existing behavior, which in many cases is more expansive than the test name implies
2019-09-26 16:29:14 -07:00
Severin Rudie
fd7f1b2665
Closes #4513 : adds tests for bookmark loading state
2019-09-26 16:29:14 -07:00
Colin Lee
de93b05cac
For #2754 Add tab cards to share sheet ( #5493 )
...
* For #2754 Add tab cards to share sheet
* For #2754 : Fix background near rounded corners and ShareButtonAppearanceTest
* Add license to share_tab_item
2019-09-26 14:25:34 -07:00
Christian Sadilek
ac2611d744
Upgrade to A-C 15.0.0-SNAPSHOT (incl. required changes) ( #5578 )
...
* Upgrade to Mozilla Android components 15.0.0-SNAPSHOT
* Update findinpage integration to use browser-state
* Use new UseCases APIs after download migration.
2019-09-26 12:50:50 -07:00
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
ekager
24b3ed4384
For #5568 - Don't pass in Session for QuickActionSheetController
2019-09-25 13:33:38 -07:00
Emily Kager
b0b60aa27d
For #5281 - Use TrackerLog for reporting ETP categories ( #5556 )
2019-09-25 10:48:06 -07:00
Sawyer Blatz
856399e9e2
No issue: Fixes GleanMetricsService nits & broken UI test ( #5539 )
...
* No issue: Fixes GleanMetricsService nits
* No issue: fixes broken UI test
2019-09-24 16:12:09 -07:00
Alessio Placitelli
1ffdf1cf9b
Add basic test coverage for Glean metrics in Fenix
...
This introduces test coverage, using the Glean SDK
testing API, for the metrics that are set at startup
by Fenix in the GleanMetricsService.
This additional adds a basic test for the translation
of the `app_opened` event.
2019-09-24 12:33:14 -07:00
Tiger Oakes
8c30200ced
Only use Context.settings() function (not getter) ( #5335 )
...
Remove unused String extensions
2019-09-24 10:33:46 -07:00
Tiger Oakes
734d4031e2
Extract UriOpened observer from HomeActivity
2019-09-24 09:37:24 -07:00
Tiger Oakes
e3c60faf24
Move BookmarkNode extensions to helper class ( #4752 )
2019-09-24 09:17:29 -07:00
Jonathan Almeida
612b0fc006
For #5406 : Ignore intermittent failing test temporarily
2019-09-23 14:23:21 -07:00
Tiger Oakes
cb7701584f
No issue: Extract home fragment mode ( #5343 )
2019-09-23 09:33:55 -07:00
Christian Sadilek
c866ae1a1e
Closes #5444 : IntentReceiverActivity: Add tests for intent processing
2019-09-20 19:44:05 -04:00
Tiger Oakes
6c30a94081
Move settings classes to packages
2019-09-20 12:36:15 -07:00
Tiger Oakes
699eacab39
For #778 - Rename CustomTabActivity
2019-09-20 12:35:12 -07:00
Tiger Oakes
172a9cf06c
Extract and test crash reporter code
2019-09-20 11:04:11 -07:00
Sawyer Blatz
6f3d7b4ee8
For #5396 : Adds "always launch in private mode" to settings
2019-09-20 08:33:07 -07:00
Tiger Oakes
05a4faec78
Add tryGetHostFromUrl and update ExceptionDomains
2019-09-19 22:40:35 -04:00
Sawyer Blatz
2db2d9ceae
For #1744 : Adds tests for clipboard
2019-09-19 08:24:27 -07:00
Sawyer Blatz
fd1fcd8b89
For #4155 : Adds paste & go for search terms
2019-09-19 08:24:27 -07:00
Tiger Oakes
1777b5a830
Use enum to simplify delete on quit code
2019-09-18 20:20:08 -07:00
Grisha Kruglov
8a9340fd9d
Post: Clean up 'push' initialization code
2019-09-16 19:44:13 -07:00
Grisha Kruglov
d67fb3eed2
Post: Add experiment flags, push and telemetry tests for BackgroundServices
2019-09-16 19:44:13 -07:00
Grisha Kruglov
c2fb99a73f
FxA WebChannels integration
...
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971 )
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-16 19:44:13 -07:00
Tiger Oakes
a61391ef58
Separates tracker bucket sorting code
2019-09-16 15:16:12 -07:00
Tiger Oakes
42bb3e1410
Change deleteAndQuit to take an activity
2019-09-15 20:03:04 -07:00
Colin Lee
df8aed9158
For #5274 : Fix LogTest unit tests ( #5275 )
2019-09-12 15:41:56 -05:00
Emily Kager
768c7c2d35
Closes #5268 - Fix 2 detekt errors
2019-09-12 11:32:33 -07:00
Emily Kager
b83ae45c36
For #5263 - Hide ETP Panel Settings for custom tab
2019-09-12 10:45:35 -07:00
kglazko
3fd44e8d83
Issue 4622- Create Unit Tests for Extensions ( #4669 )
2019-09-12 10:44:37 -07:00
Sebastian Kaspari
d3679e0625
Unbreak Nightly: Get rid of fragment-testing dependency and create fragments in test manually.
2019-09-12 13:44:17 +02:00
Emily Kager
a16015cd21
No issue: Fix BreadCrumbReporterTest
2019-09-11 18:10:52 -07:00
Roger Yang
b3eca65614
Closes #5091 : Refactor Sentry BreadCrumbs to use lib-crash BreadCrumbs
2019-09-11 16:14:42 -07:00
Emily Kager
e3209dcc84
For #3700 - Add Setting to Delete Data on "Quit" menu action
2019-09-11 16:06:18 -07:00
Emily Kager
418b1ba890
For #1749 - Use Strict ETP by default, use Feature Flag for Settings
2019-09-11 16:03:01 -07:00
Emily Kager
9a4610f068
For #2897 - Add Action States To Share Sheet
2019-09-11 11:32:26 -07:00
Yeon Taek Jeong
2e2bac4ccd
For #419 : Create launch icon for private browsing ( #4948 )
2019-09-11 10:52:33 -07:00
Sawyer Blatz
5586b18c3e
For #4155 : Handle custom tabs & fix test
2019-09-11 09:03:17 -07:00
Sawyer Blatz
53b3f105ca
For #4155 : Sets pastedText default value
2019-09-11 09:03:17 -07:00
Sawyer Blatz
52fd327bc0
For #4155 : Adds tests for browser toolbar popup menu
2019-09-11 09:03:17 -07:00
Sawyer Blatz
fdd2b59fb8
For #4155 : Adds popup menu for browser toolbar
2019-09-11 09:03:17 -07:00
Emily Kager
4485b7f647
Add Tracking Protection Info Panel
2019-09-11 07:47:13 -07:00
mihai-adrian
9e83edcac5
For #4877 : Restored logic for closing tabs when not on browserFragment
...
Added base test for CreateCollectionFragment that we can build upon later
2019-09-10 21:42:16 -07:00
Sawyer Blatz
e240de7e31
For #4908 : Adds telemetry for send tab
2019-09-10 20:58:12 -07:00
Tiger Oakes
d0ef2d40c2
Move bookmark navigation listener to separate file
2019-09-10 16:53:09 -07:00
Tiger Oakes
3c07cacf4d
Use A-C preferences property delegates
2019-09-10 13:19:00 -07:00
Tiger Oakes
b77c4d2e2e
Clean up SupportUtils
2019-09-10 10:16:04 -07:00
Mihai Adrian
a31eb1f371
Code Health #4883 : Refactored accessing settings by using Context extensions ( #4973 )
2019-09-10 10:11:58 -07:00
Colin Lee
4c2a7ac10e
Delete AUTH_SESSIONS with COOKIES
2019-09-09 12:32:28 -07:00
Colin Lee
758f4c13ec
Updates per UX and PR feedback
2019-09-09 12:32:28 -07:00
Colin Lee
2b9efccfca
For #3106 : Granular options for clearing user data
2019-09-09 12:32:28 -07:00
Petru Lingurar
b82024f993
For #4856 - Refactor InflationAwareFeatureTest
...
We previously had a test exactly for checking that "start does nothing" but we
now need to ensure that start actually is propagated to the inner feature that
is to rebind itself to the app to allow for user interactions.
2019-09-06 14:20:02 -04:00
Sawyer Blatz
aef087aae0
No issue: Removes unused nestedScrollQuickActionView ( #5143 )
2019-09-06 09:03:24 -07:00
Sawyer Blatz
2653b5966e
For #964 : Adds ability to disable each suggestion provider ( #5096 )
...
* For #964 : Adds ability to disable each suggestion provider
* Fix nit
2019-09-05 14:45:44 -07:00
Sawyer Blatz
09dcdb079d
For #4474 : Adds what's new button to home screen menu ( #5088 )
...
* For #4474 : Adds what's new button to home screen menu
* For #4474 : Adds tests for what's new button
2019-09-03 15:16:29 -05:00
Petru Lingurar
46b09395f8
For #5067 - Refactor ShareControllerTest following the use of SendTabUseCases
2019-09-03 12:01:26 -07:00
Sebastian Kaspari
2723a55b03
Rename HistoryStore/State/Action to HistoryFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
Sebastian Kaspari
f3d8a89c63
Rename AccountSettingsStore/State/Action to AccountSettingsFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
Sebastian Kaspari
61e84c161d
Rename SearchStore/State/Action to SearchFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
Sebastian Kaspari
22446263f1
Rename ExceptionsStore/State/Action to ExceptionsFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
Sebastian Kaspari
ac32a88d45
Rename BrowserStore/State/Action to BrowserFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
Sebastian Kaspari
76063e307a
Rename BookmarkStore/State/Action to BookmarkFragmentStore/State/Action.
2019-09-03 10:09:06 -07:00
mihai-adrian
3171f3a1a7
Fixes #4997 : Changed navigation to ShareFragment
...
Changed test for new global navigation to share fragment.
2019-09-03 07:08:08 -10:00
Sebastian Kaspari
9b633f7f0f
Move creation of GeckoRuntime to flavor-specific source set.
...
Since we are now able to build against GeckoView Nightly and GeckoView Beta,
we should create the GeckoRuntime from a flavor-specific source set.
Creating the runtime is not covered by the AC abstraction and so API changes
in GeckoView Nightly can break the build and leaves us with no option to fix
it from a shared code base. Separating the creation of GeckoRuntime
allows us to adapt individually and also to configure the runtimes
differently.
2019-08-30 15:16:12 +02:00
Mugurell
bf5b0e5cda
For 4007 - Add unit tests for the Share Interactor, Controller and list Adapters
2019-08-29 18:12:50 -07:00
Tiger Oakes
f740d4382a
Closes #773 - Add shortcuts to homescreen ( #4925 )
2019-08-29 14:45:11 -05:00
Tiger Oakes
d1964d6536
Fixes #4771 - Add method for sessions of type ( #4782 )
...
Fixes share tabs to use the new method
2019-08-27 13:04:03 -07:00
Sourabh
091778a4b9
For #4398 - add HistoryController ( #4837 )
2019-08-27 10:33:40 -07:00
Tiger Oakes
9f154dc3a0
Extract intent processors from HomeActivity ( #4884 )
2019-08-22 13:31:40 -05:00
Tiger Oakes
c475bc87cf
Move classes out of top-level package
2019-08-21 13:52:30 -07:00
Jeff Boek
e601fe7c9f
For #4326 - Updates codebase to support latest version of ktlint
2019-08-21 13:50:51 -07:00
Colin Lee
051ae9f584
For #3869 : Switch to A-C SearchLocalizationProvider ( #4858 )
...
* For #3869 : Switch to A-C SearchLocalizationProvider
* Fix test
2019-08-21 11:14:59 -07:00
Sourabh
672462f230
add tests for DefaultQuickActionSheetController ( #4835 )
2019-08-21 08:52:01 -07:00
Tiger Oakes
aab357845b
No issue: Clean up preferences code ( #4699 )
2019-08-21 08:38:14 -07:00
Emily Kager
c1b1c2f332
For #3967 - Invokes pending deletion with more bookmark actions ( #4522 )
2019-08-21 08:36:41 -07:00
Tiger Oakes
33f3b14c29
Adds setters and property delegates in `Settings` ( #4809 )
...
* Change Settings to use setters
* Add delegate for shared preferences
2019-08-20 10:47:55 -07:00
Tiger Oakes
ac6c1ec2ee
Closes #2690 - Clean up CreateCollection viewmodel ( #4731 )
2019-08-20 10:45:41 -07:00
Tiger Oakes
ad98b2f3ea
For #4744 - Extract private browsing button ( #4813 )
2019-08-20 10:41:18 -07:00