[locale] Apply coding style

This commit is contained in:
Adriaan de Groot 2020-04-21 15:35:10 +02:00
parent d348977d07
commit e51fbdc851

View File

@ -149,7 +149,7 @@ LocaleTests::testTZImages()
} }
} }
QEXPECT_FAIL("", "TZ Images not yet all fixed", Continue); QEXPECT_FAIL( "", "TZ Images not yet all fixed", Continue );
QCOMPARE( overlapcount, 0 ); QCOMPARE( overlapcount, 0 );
} }
@ -217,7 +217,7 @@ LocaleTests::testTZLocations()
} }
} }
QEXPECT_FAIL("", "TZ Images contain pixel-overlaps", Continue); QEXPECT_FAIL( "", "TZ Images contain pixel-overlaps", Continue );
QCOMPARE( overlapcount, 0 ); QCOMPARE( overlapcount, 0 );
} }
@ -262,9 +262,9 @@ LocaleTests::testSpecificLocations()
auto gpos = TimeZoneImageList::getLocationPosition( gibraltar->longitude(), gibraltar->latitude() ); auto gpos = TimeZoneImageList::getLocationPosition( gibraltar->longitude(), gibraltar->latitude() );
auto cpos = TimeZoneImageList::getLocationPosition( ceuta->longitude(), ceuta->latitude() ); auto cpos = TimeZoneImageList::getLocationPosition( ceuta->longitude(), ceuta->latitude() );
QEXPECT_FAIL("", "Gibraltar and Ceuta are really close", Continue); QEXPECT_FAIL( "", "Gibraltar and Ceuta are really close", Continue );
QVERIFY( gpos != cpos ); QVERIFY( gpos != cpos );
QVERIFY( gibraltar->latitude() > ceuta->latitude() ); QVERIFY( gibraltar->latitude() > ceuta->latitude() );
QEXPECT_FAIL("", "Gibraltar and Ceuta are really close", Continue); QEXPECT_FAIL( "", "Gibraltar and Ceuta are really close", Continue );
QVERIFY( gpos.y() < cpos.y() ); // Gibraltar is north of Ceuta QVERIFY( gpos.y() < cpos.y() ); // Gibraltar is north of Ceuta
} }