Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53fa35a5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove test for battery percent paint being equal to bolt paint"

parents 7e50be04 2bcdbe0b
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -102,17 +102,4 @@ public class BatteryMeterDrawableBaseTest {
    private boolean isRectZero(Rect r) {
        return r.left == 0 && r.top == 0 && r.right == 0 && r.bottom == 0;
    }

    @Test
    public void testPlusPaint_isEqualToBoltPaint() {
        // Before setting color
        assertTrue(mBatteryDrawable.mPlusPaint.hasEqualAttributes(mBatteryDrawable.mBoltPaint));

        final int fakeFillColor = 123;
        final int fakeBackgrundColor = 456;

        // After
        mBatteryDrawable.setColors(fakeFillColor, fakeBackgrundColor);
        assertTrue(mBatteryDrawable.mPlusPaint.hasEqualAttributes(mBatteryDrawable.mBoltPaint));
    }
}