qt5base-lts/tests/baseline/shared
Tor Arne Vestbø 496bf5a946 lance: Handle unspecified size or weight in setFont command
We have test cases that call setFont without a specified weight, in
which case we would end up parsing an empty string into a number,
giving a weight of 0. This weight would in turn result in the
thinnest font on the system, which presumably was not the intent.

We now use default sizes and weights (similar to the default QFont
constructor arguments) if we're missing those arguments to setFont.

Pick-to: 6.2 6.3 5.15
Change-Id: I5a96f08cfa1b9e4f1de5edee6bf69ddd46f0ce92
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2022-03-31 20:54:29 +02:00
..
baselineprotocol.cpp Baseline: Allow setting git commit through environment variable 2022-03-14 23:38:09 +01:00
baselineprotocol.h Baseline test framework: follow rule of zero for PlatformInfo type 2022-01-19 13:58:23 +01:00
baselineprotocol.pri
lookup3.cpp
paintcommands.cpp lance: Handle unspecified size or weight in setFont command 2022-03-31 20:54:29 +02:00
paintcommands.h Painting: fix overriding and combining different clip types 2022-03-15 12:45:46 +01:00
qbaselinetest.cpp Baseline testing: Fix overriding of Project property 2022-03-17 14:27:44 +01:00
qbaselinetest.h Baseline testing: Fix overriding of Project property 2022-03-17 14:27:44 +01:00
qbaselinetest.pri Share common code for baseline-testing widget UIs 2021-11-26 22:40:54 +01:00
qwidgetbaselinetest.cpp Enable tests to turn off Windows Vista animations 2022-03-16 15:56:17 +01:00
qwidgetbaselinetest.h Share common code for baseline-testing widget UIs 2021-11-26 22:40:54 +01:00