fix horus LCD tests
This commit is contained in:
@@ -82,6 +82,7 @@ bool checkScreenshot_480x272(const QString & test)
|
||||
|
||||
TEST(Lcd_480x272, vline)
|
||||
{
|
||||
loadFonts();
|
||||
lcd->clear(TEXT_BGCOLOR);
|
||||
for (int x=0; x<100; x+=2) {
|
||||
lcdDrawSolidVerticalLine(x, x/2, 12, TEXT_COLOR);
|
||||
@@ -91,6 +92,7 @@ TEST(Lcd_480x272, vline)
|
||||
|
||||
TEST(Lcd_480x272, primitives)
|
||||
{
|
||||
loadFonts();
|
||||
lcd->clear(TEXT_BGCOLOR);
|
||||
lcdDrawText(8, 8, "The quick brown fox jumps over the lazy dog", CURVE_AXIS_COLOR|NO_FONTCACHE);
|
||||
lcdDrawText(5, 5, "The quick brown fox jumps over the lazy dog", TEXT_COLOR|NO_FONTCACHE);
|
||||
@@ -118,6 +120,7 @@ TEST(Lcd_480x272, primitives)
|
||||
|
||||
TEST(Lcd_480x272, transparency)
|
||||
{
|
||||
loadFonts();
|
||||
lcd->clear(TEXT_BGCOLOR);
|
||||
lcdDrawText(8, 8, "The quick brown fox jumps over the lazy dog", TEXT_COLOR|OPACITY(4)|NO_FONTCACHE);
|
||||
lcdDrawText(5, 5, "The quick brown fox jumps over the lazy dog", TEXT_COLOR|OPACITY(12)|NO_FONTCACHE);
|
||||
@@ -154,6 +157,7 @@ TEST(Lcd_480x272, transparency)
|
||||
|
||||
TEST(Lcd_480x272, fonts)
|
||||
{
|
||||
loadFonts();
|
||||
loadFontCache();
|
||||
lcd->clear(TEXT_BGCOLOR);
|
||||
|
||||
@@ -171,4 +175,4 @@ TEST(Lcd_480x272, fonts)
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user