1
0
Fork 0
fenix/app/src/test/java/org/mozilla/fenix
Elise Richards 023a4983fa
For #10173: login duplicates and save (#11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
2020-07-16 17:08:04 -05:00
..
addons For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
browser For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
collections Add tests for collection creation controller 2020-06-24 21:21:02 -04:00
components For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
crashes For issue #8648 2020-04-29 09:48:42 -07:00
customtabs Remove Mockito 2020-06-10 21:19:50 -04:00
downloads Remove Mockito 2020-06-10 21:19:50 -04:00
ext For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
helpers Migrate some SessionManager usage to BrowserStore (#10789) 2020-06-03 11:18:44 -07:00
home For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
library Fix nav graph and theme tests (#12567) 2020-07-15 18:04:36 -07:00
loginexceptions For #7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00
onboarding Add tests for FenixOnboarding (#11057) 2020-05-29 17:26:07 -07:00
perf Add tests for StartupReportFullyDrawn (#12560) 2020-07-15 23:31:59 -07:00
push Add tests for sync, wifi, and push (#12581) 2020-07-16 12:25:38 -07:00
search For #12457: Add MockK matcher for intents (#12612) 2020-07-16 15:05:01 -07:00
session For #9100: Follow-up to fix memory leak in NotificationSessionObserver 2020-06-25 16:17:38 -04:00
settings For #10173: login duplicates and save (#11208) 2020-07-16 17:08:04 -05:00
share For #11798: Allow sharing of reader view pages 2020-06-25 14:39:21 -04:00
sync Add tests for sync, wifi, and push (#12581) 2020-07-16 12:25:38 -07:00
tabtray No issue - post: mock profiler object in DefaultTabTrayControllerTest. 2020-07-10 16:43:06 -07:00
trackingprotection Tests and cleanup for tracking protection 2020-06-01 22:08:52 -04:00
trackingprotectionexceptions For #7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00
utils Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 2020-07-09 10:50:51 -07:00
whatsnew For #9605: replace unit test runners with FenixRobolectricTestRunner. 2020-04-03 09:27:49 -07:00
widget Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 2020-07-09 10:50:51 -07:00
wifi Add tests for sync, wifi, and push (#12581) 2020-07-16 12:25:38 -07:00
AppRequestInterceptorTest.kt For #9631: replace assertk assertions with junit. 2020-04-06 16:56:40 -07:00
HomeActivityTest.kt For #9144 - Ignore previous Intent if activity is started from Recents 2020-06-22 12:08:24 -04:00
IntentReceiverActivityTest.kt Remove Mockito 2020-06-10 21:19:50 -04:00
MockNavHostActivity.kt Add method to test fragments in roboletric (#12261) 2020-07-06 13:04:43 -07:00
ReleaseChannelTest.kt For #6464: Add ReleaseChannel test to document assumptions. 2019-12-30 10:31:33 -08:00
StrictModeManagerTest.kt Add tests for StrictModeManager (#12013) 2020-06-29 08:17:07 -07:00