Diffusion Krita 6057b4830e39

Re-enable the kis_paint_device_test

Authored by rempt on Aug 21 2018, 10:56 AM.

Description

Re-enable the kis_paint_device_test

166 - libs-image-kis_paint_device_test (Failed)

RESULT : KisPaintDeviceTest::benchmarkExactBoundsNullDefaultPixel():

21 msecs per iteration (total: 87, iterations: 4)

FAIL! : KisPaintDeviceTest::testAmortizedExactBounds() Compared values are not the same

Actual   (dev->exactBoundsAmortized()): QRect(0,0 896x896) (bottomright 895,895)
Expected (fillRect)                   : QRect(60,60 833x833) (bottomright 892,892)
Loc: [/home/boud/dev/krita/libs/image/tests/kis_paint_device_test.cpp(743)]

-> solved with Q_EXPECT_FAIL

     Also contains some tests that are actually benchmarks.
-> solved with LIMIT_LONG_TESTS

Details

Committed
remptAug 21 2018, 11:31 AM
Parents
R37:421b59e216a9: Make color difference threshold for color labels higher
Branches
Unknown
Tags
Unknown