1
0
Fork 0
fenix/app/src/test/java/org/mozilla/fenix
Mugurell 645674c9bd Closes #4396 - Add a Bookmarks Controller (#4593)
* For #4396 - Rename BookmarkInteractor methods

Following the naming model used in other Interactors this too will use reactive
method names in the form of "on..." instead of the previous imperative model.

Kept the imperative naming model for the methods from `SelectionInteractor` as
they are a new addition and I'm not sure about the future direction.

* For #4396 - Add a BookmarkController

It abstracts the Fragment behavior in a contract through which various
Interactors can inform about the specific View changes and can ask for
modifications in their container Fragment.

This contract and it's implementation - `DefaultBookmarkController` are the
result of extracting the container Fragment's business logic from
`BookmarkFragmentInteractor` in it's own standalone component.

* For #4396 - Refactored Bookmark related tests

Added a new `BookmarkControllerTest` tests class which complements the new
`BookmarkController` to ensure that it properly operates on `BookmarkFragment`

Also refactored the existing `BookmarkFragmentInteractorTest` to accommodate
`BookmarkFragmentInteractor`'s now more specialized behavior.
2019-08-19 08:34:57 -07:00
..
components For #4799 #4790 - Don't use passed in sessions in BrowserToolbarController (#4800) 2019-08-18 20:36:40 -05:00
exceptions For #4127 - Converts Exceptions to LibState and adds tests 2019-07-22 17:21:06 -04:00
ext For #4508: Treats warnings as errors (#4543) 2019-08-07 14:00:53 -07:00
library Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
quickactionsheet Extract quick action sheet observer code (#4368) 2019-08-19 08:28:33 -07:00
search Fixes #4354: Updated SearchFragment state after returning from SearchEngineFragment. 2019-08-07 13:19:53 -07:00
settings ktlint fix 2019-08-09 13:39:51 -07:00
utils For #4508: Treats warnings as errors (#4543) 2019-08-07 14:00:53 -07:00
TestApplication.kt For #4508: Treats warnings as errors (#4543) 2019-08-07 14:00:53 -07:00
TestUtils.kt No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00