You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iceraven-browser/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
4 years ago
..
addons For #12457: Add MockK matcher for intents (#12612) 4 years ago
browser For #12457: Add MockK matcher for intents (#12612) 4 years ago
collections Add tests for collection creation controller 4 years ago
components For #12457: Add MockK matcher for intents (#12612) 4 years ago
crashes For issue #8648 4 years ago
customtabs Remove Mockito 4 years ago
downloads Remove Mockito 4 years ago
ext For #12457: Add MockK matcher for intents (#12612) 4 years ago
helpers Migrate some SessionManager usage to BrowserStore (#10789) 4 years ago
home For #12457: Add MockK matcher for intents (#12612) 4 years ago
library Fix nav graph and theme tests (#12567) 4 years ago
loginexceptions For #7094 - Adds save login exceptions 4 years ago
onboarding Add tests for FenixOnboarding (#11057) 4 years ago
perf Add tests for StartupReportFullyDrawn (#12560) 4 years ago
push Add tests for sync, wifi, and push (#12581) 4 years ago
search For #12457: Add MockK matcher for intents (#12612) 4 years ago
session For #9100: Follow-up to fix memory leak in NotificationSessionObserver 4 years ago
settings For #10173: login duplicates and save (#11208) 4 years ago
share For #11798: Allow sharing of reader view pages 4 years ago
sync Add tests for sync, wifi, and push (#12581) 4 years ago
tabtray No issue - post: mock profiler object in DefaultTabTrayControllerTest. 4 years ago
trackingprotection Tests and cleanup for tracking protection 4 years ago
trackingprotectionexceptions For #7094 - Adds save login exceptions 4 years ago
utils Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 4 years ago
whatsnew For #9605: replace unit test runners with FenixRobolectricTestRunner. 4 years ago
widget Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 4 years ago
wifi Add tests for sync, wifi, and push (#12581) 4 years ago
AppRequestInterceptorTest.kt For #9631: replace assertk assertions with junit. 4 years ago
HomeActivityTest.kt For #9144 - Ignore previous Intent if activity is started from Recents 4 years ago
IntentReceiverActivityTest.kt Remove Mockito 4 years ago
MockNavHostActivity.kt Add method to test fragments in roboletric (#12261) 4 years ago
ReleaseChannelTest.kt For #6464: Add ReleaseChannel test to document assumptions. 4 years ago
StrictModeManagerTest.kt Add tests for StrictModeManager (#12013) 4 years ago