Updated tests according to new clipping in libopenui

This commit is contained in:
Raphael Coeffic
2021-04-14 10:04:12 +02:00
parent 95507e43a6
commit d2e960b117
2 changed files with 2 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+2
View File
@@ -210,6 +210,7 @@ TEST(Lcd_colorlcd, clipping)
dc.drawSolidRect(20, 20, 50, 50, 2, TITLE_BGCOLOR);
dc.drawRect( 380, 20, 50, 50, 2, SOLID, TITLE_BGCOLOR);
dc.clearClippingRect();
EXPECT_TRUE(checkScreenshot_colorlcd(&dc, "clipping"));
}
@@ -224,6 +225,7 @@ TEST(Lcd_colorlcd, bitmap)
dc.drawBitmap(320, 0, bmp.get());
dc.drawBitmap( 0, 150, bmp.get());
dc.clearClippingRect();
EXPECT_TRUE(checkScreenshot_colorlcd(&dc, "bitmap"));
}
#endif