Koffeemate
Koffeemate copied to clipboard
Refactor the screensaver code
- The active times are hardcoded inside the class. Maybe make a setting in the app settings for the user to choose the active times themselves.
- It has no tests at all. Although the
start(),stop()anddefer()method calls are probably the most important to test.defer()is the MainPresenter's responsibility, while the others would be tested in the Activity test class.