summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Android/qquickandroid9patch.cpp
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>2014-12-10 12:42:40 +0100
committerJan Arve Sæther <jan-arve.saether@theqtcompany.com>2015-01-06 12:17:16 +0100
commit20abaf97f4995ca0ed89e7022456584aea095f54 (patch)
tree6988363f6e0ff7c338fea23d918fe18b484d582c /src/controls/Styles/Android/qquickandroid9patch.cpp
parent9676488f7e8af1bab9752a4280d7fe6aa34a47ac (diff)
Add autotest for baselines
The heuristic of finding the visual baseline is based on analyzing the rendered pixmap. This is not pretty, but we really need to have a test for baselines in order to not cause future regressions whenever things are changed in the styles. This is the reason why we choose to use a string of 'L's, since the letter has a distinctive baseline. If it turns out that the heuristic gives too many false positives, this approach should be reconsidered. Change-Id: Ic8de576244fa032617ff7546ddbe20dc6910c7bf Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'src/controls/Styles/Android/qquickandroid9patch.cpp')
0 files changed, 0 insertions, 0 deletions