commit | 959ee2278c0c2a651103cd9e78130517f5525d77 | [log] [tgz] |
---|---|---|
author | Geoffrey Pitsch <gpitsch@google.com> | Tue Sep 13 16:07:44 2016 -0400 |
committer | Geoffrey Pitsch <gpitsch@google.com> | Mon Oct 03 09:37:06 2016 -0400 |
tree | 19de755c066fc46fcb6907627de8a1044fb299da | |
parent | 1979440eef339a3a144132f7c61512c7a25f40ca [diff] |
Add tests for BatteryMeterDrawable Not meant to be an attempt at full coverage, just an example of testing a Drawable. To go farther with this, I would wrap the "logic" of the battery appearance in a separate class for testing and this class would reduce to the drawing operations, which are strongly coupled to design and don't need much testing. Test: runtest systemui Change-Id: I5630e25face9a3ab5e30935fb3d7bab8f162d107