[calligra] krita/image: Fixed KisActionRecorderTest
Boudewijn Rempt
boud at valdyas.org
Thu Oct 13 08:06:23 UTC 2011
On Monday 10 October 2011 Oct, Dmitry Kazakov wrote:
> Git commit b72b4b535bc6a8ebd671fe6e2e63d2c11d26e541 by Dmitry Kazakov.
> Committed on 10/10/2011 at 19:43.
> Pushed by dkazakov into branch 'master'.
>
> Fixed KisActionRecorderTest
>
> It was too old to work. Due to the check didn't check anything,
> the source files were too old and not supported.
>
> M +8 -9 krita/image/recorder/kis_macro_player.cc
> D +- -- krita/image/tests/data/actionrecorder/results/freehand_brush_black_hp.krarec.png
> D +- -- krita/image/tests/data/actionrecorder/results/freehand_brush_black_point.krarec.png
> D +- -- krita/image/tests/data/actionrecorder/results/freehand_brush_multicolor.krarec.png
> D +- -- krita/image/tests/data/actionrecorder/results/freehand_brush_multicolor_hp.krarec.png
> A +- -- krita/image/tests/data/actionrecorder/results/freehand_tool_black_point.krarec.png
> A +- -- krita/image/tests/data/actionrecorder/results/freehand_tool_black_stroke.krarec.png
> A +- -- krita/image/tests/data/actionrecorder/results/freehand_tool_multicolor.krarec.png
> D +0 -897 krita/image/tests/data/actionrecorder/sources/freehand_brush_black_hp.krarec
> D +0 -14 krita/image/tests/data/actionrecorder/sources/freehand_brush_black_point.krarec
> D +0 -1173 krita/image/tests/data/actionrecorder/sources/freehand_brush_multicolor.krarec
> D +0 -2746 krita/image/tests/data/actionrecorder/sources/freehand_brush_multicolor_hp.krarec
> A +129 -0 krita/image/tests/data/actionrecorder/sources/freehand_tool_black_point.krarec
> A +1046 -0 krita/image/tests/data/actionrecorder/sources/freehand_tool_black_stroke.krarec
> A +4473 -0 krita/image/tests/data/actionrecorder/sources/freehand_tool_multicolor.krarec
> M +24 -24 krita/image/tests/kis_action_recorder_test.cpp
>
> http://commits.kde.org/calligra/b72b4b535bc6a8ebd671fe6e2e63d2c11d26e541
>
>
I still get a failure:
boud at talnus:~/kde/build/calligra/krita/image/tests> ./KisActionRecorderTest
********* Start testing of KisActionRecorderTest *********
Config: Using QTest library 4.7.4, Qt 4.7.4
PASS : KisActionRecorderTest::initTestCase()
QDEBUG : KisActionRecorderTest::testCreation() qttest(21515)/kdecore (KSycoca): Trying to open ksycoca from "/var/tmp/kdecache-boud/ksycoca4"
QDEBUG : KisActionRecorderTest::testCreation() qttest(21515) KoGenericRegistry<T>::add: Registry already contains item "LABA"
QDEBUG : KisActionRecorderTest::testCreation() qttest(21515) KoGenericRegistry<T>::add: Registry already contains item "RGBA16"
QDEBUG : KisActionRecorderTest::testCreation() qttest(21515) KoGenericRegistry<T>::add: Registry already contains item "RGBA"
QDEBUG : KisActionRecorderTest::testCreation() qttest(21515) KoGenericRegistry<T>::add: Registry already contains item "GRAYA16HISTO"
PASS : KisActionRecorderTest::testCreation()
QDEBUG : KisActionRecorderTest::testFiles() handling "freehand_tool_black_point.krarec"
QDEBUG : KisActionRecorderTest::testFiles() qttest(21515)/krita (general) MyPaintBrushResource::load: we only read version 2 .myb files
QDEBUG : KisActionRecorderTest::testFiles() qttest(21515)/krita (general) MyPaintBrushResource::load: we only read version 2 .myb files
QDEBUG : KisActionRecorderTest::testFiles() qttest(21515)/krita (general) MyPaintBrushResource::load: we only read version 2 .myb files
QDEBUG : KisActionRecorderTest::testFiles() qttest(21515)/kdecore (KSycoca): Trying to open ksycoca from "/var/tmp/kdecache-boud/ksycoca4"
QSYSTEM: KisActionRecorderTest::testFiles() Failed to play action: "freehand_tool_black_point.krarec"
FAIL! : KisActionRecorderTest::testFiles() Images do not coincide
Loc: [/home/boud/kde/src/calligra/krita/image/tests/kis_action_recorder_test.cpp(103)]
PASS : KisActionRecorderTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped
********* Finished testing of KisActionRecorderTest *********
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the kimageshop
mailing list