diff options
author | Geoffrey Pitsch <gpitsch@google.com> | 2016-09-13 16:07:44 -0400 |
---|---|---|
committer | Geoffrey Pitsch <gpitsch@google.com> | 2016-10-03 09:37:06 -0400 |
commit | 959ee2278c0c2a651103cd9e78130517f5525d77 (patch) | |
tree | 19de755c066fc46fcb6907627de8a1044fb299da /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions