libreoffice-online/kit
Ashod Nakashian d110f4cc58 test: improve TileCacheTests
Sometimes core renderes with sub-pixel differences
(the crosshair at the corners of the Writer pages
show line anti-aliasing differences). This causes
failure of the tests that count the tile deduplication.

We now tolerate when we get an unchanged tile twice,
assuming it was due to such a rendering difference,
but we re-trigger another change and this time we
don't expect any extra tiles, no more than two
variations of the anti-aliased crosshair was
observed.

We also move some duplicate code into utility
functions to improve readability and reuse.

Reviewed-on: https://gerrit.libreoffice.org/81196
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 9603597fd1aaecb27893792cfd2d243e450b58b8)

Change-Id: I1a66732dd3443bfbd770d8dc65721571dfa08615
Reviewed-on: https://gerrit.libreoffice.org/81572
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-10-29 02:32:05 +01:00
..
ChildSession.cpp testSaveOnDisconnect: sync after pasting and better logging 2019-10-29 01:43:17 +01:00
ChildSession.hpp Include normalizedViewId to TileCache 2019-10-15 18:13:03 +03:00
Delta.hpp DeltaBitmapRow: make members private 2018-11-08 09:16:57 +01:00
DummyLibreOfficeKit.cpp kit: make members private in DummyLibreOfficeKit 2019-01-18 09:07:20 +01:00
DummyLibreOfficeKit.hpp
ForKit.cpp wsd: improved kit thread naming 2019-09-22 20:23:27 +02:00
Kit.cpp test: improve TileCacheTests 2019-10-29 02:32:05 +01:00
Kit.hpp wsd: improved kit thread naming 2019-09-22 20:23:27 +02:00
KitHelper.hpp wsd: leaflet: status now includes selected parts 2019-08-17 04:30:42 +02:00
TestStubs.cpp TestStubs: add more stubs for sanitizers 2019-05-28 09:10:45 +02:00
Watermark.hpp kit: also add missing modeline 2019-10-15 22:18:05 +02:00