commit | 4a7931dc6d69669fc9dec2512fffd60c663d6b02 | [log] [tgz] |
---|---|---|
author | Geoffrey Pitsch <gpitsch@google.com> | Thu Sep 15 13:11:47 2016 -0400 |
committer | Geoffrey Pitsch <gpitsch@google.com> | Thu Sep 15 13:11:47 2016 -0400 |
tree | 4afea48c4975440d06760ded53fc6d4326ed8b0f | |
parent | 182f9abdf427996249cb953ffd6133fde3bbfba2 [diff] |
Unit tests for PowerNotificationWarnings Just a sample - this is a far cry from full coverage. Mostly exercises the handoff to the NotificationManager. To go further, I would verify more of the Notification contents. Modified the constructor to explicitly take a NotificationManager, mocking out the Context wasn't feasible here. Change-Id: Ic83ef17f061a20efc52b7e3e8c022afab2deacdb