Commit 2d985643 authored by Cyrille Berger's avatar Cyrille Berger
Browse files

add code for testing krita file loading

add the "official" png test suit (that krita miserably fails, not surprisingly as it was allready known that png files needed to be at least of 64x64 to be correctly opened ;) ) and some other files that krita can open but that were causing problem in the past (and for which I know that I can make them public)

svn path=/trunk/koffice/; revision=694881
parent b126efcb
......@@ -25,4 +25,13 @@ kde4_add_unit_test(squeezedcombobox_test TESTNAME krita-ui-squeezedcombobox_test
target_link_libraries(squeezedcombobox_test ${KDE4_KDEUI_LIBS} kritaui ${QT_QTTEST_LIBRARY})
########### next target ###############
set(kis_files_test_SRCS kis_files_test.cpp )
kde4_add_unit_test(kis_files_test TESTNAME krita-ui-kis_files_test ${kis_files_test_SRCS})
target_link_libraries(kis_files_test ${KDE4_KDEUI_LIBS} kritaui ${QT_QTTEST_LIBRARY})
add_definitions(-DFILES_DATA_DIR="\\"${CMAKE_CURRENT_SOURCE_DIR}/data/\\"")
########### end ###############
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment