Make utility methods static. am: 43d4fefb36
am: cc56b1aa04
Change-Id: Ia1ebdff4fcd82f829e90f76bf7d49b0adbc8febc
This commit is contained in:
@@ -160,7 +160,7 @@ public class BatteryInfoTest {
|
||||
.computeChargeTimeRemaining(anyLong());
|
||||
BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast,
|
||||
mBatteryStats, SystemClock.elapsedRealtime() * 1000, false, 1000, false);
|
||||
assertThat(info.remainingTimeUs = TEST_CHARGE_TIME_REMAINING);
|
||||
assertThat(info.remainingTimeUs).isEqualTo(TEST_CHARGE_TIME_REMAINING);
|
||||
assertThat(info.remainingLabel.toString())
|
||||
.isEqualTo(TEST_CHARGE_TIME_REMAINING_STRINGIFIED);
|
||||
}
|
||||
|
Reference in New Issue
Block a user