-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offer ViewPagerActions instead of SwipeActions (#53)
* Add an Activity with a ViewPager that contains five RecyclerViews with several fruits * Reproduce the issue #49 with tests * Remove all tests that are also tested on RecyclerViewTest to avoid testing same behavior multiple times * Also reproduce the issue in the method that uses the ID, not the text * Fix the issue reproduced by the tests * Reformat code with SquareAndroid style to pass the checkstyle rule * Fix a Findbugs violation making a inner class static * Avoid taking in consideration the position of the item in the nested RecyclerView tests * Use uppercase to showcase constants at code (thanks, Checkstyle!) * Create Matchers that just match with displayed items * Use the new matchers on all BaristaActions that interact only with the visible widgets * Avoid inlining the annotations * Reverse the calls to Espresso matchers to exactly meet the method name * Remove uneeded imports * Offer ViewPagerActions instead of SwipeActions, to meet Barista's naming * Remove unneeded SwipeActions, added by a bad merge
- Loading branch information
1 parent
6f995ac
commit 6d98b80
Showing
4 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters