https://bugs.kde.org/show_bug.cgi?id=416608
vanyossi changed:
What|Removed |Added
CC||ghe...@gmail.com
--- Comment #1 from vanyossi ---
For csv: KisCsvTest::testImportFromWriteonly() ASSERT: "!resource.isEmpty()"
It fails to find "markers.svg" from the function
KoResourcePaths::findResourceInternal The file is located at
krita/libs/flake/styles/markers.svg, or "share/krita/styles/markers.svg" In my
case (non standard path isntall), none of the paths checked by
findResourceInternal exist.
Setting EXTRA_RESOURCE_DIRS to the folder where the file is allows the test to
PASS.
2020-01-25 01:40:53.864 kis_csv_test[47951:533929] ApplePersistenceIgnoreState:
Existing state will not be touched. New state will be written to (null)
* Start testing of KisCsvTest *
Config: Using QtTest library 5.12.3, Qt 5.12.3 (x86_64-little_endian-lp64
shared (dynamic) release build; by Clang 10.0.1 (clang-1001.0.46.4) (Apple))
PASS : KisCsvTest::initTestCase()
PASS : KisCsvTest::testFiles()
QDEBUG : KisCsvTest::testImportFromWriteonly() Entering
"TestUtil::prepareFile()" QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisCsvTest::testImportFromWriteonly() Invalid profile :
"/Library/ColorSync/Profiles//WebSafeColors.icc" "Web Safe Colors"
QWARN : KisCsvTest::testImportFromWriteonly() KoColor debug runtime checks are
active.
QDEBUG : KisCsvTest::testImportFromWriteonly() findresourcePath
"/Volumes/Osiris/programs/krita-master/testdata/kritatests/unittests/markers.svg"
QDEBUG : KisCsvTest::testImportFromWriteonly() import result = Cannot read: 5
"Cannot open file for reading. Reason: The file could not be opened."
PASS : KisCsvTest::testImportFromWriteonly()
QDEBUG : KisCsvTest::testExportToReadonly() Entering "TestUtil::prepareFile()"
QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisCsvTest::testExportToReadonly() findresourcePath
"/Volumes/Osiris/programs/krita-master/testdata/kritatests/unittests/markers.svg"
QDEBUG : KisCsvTest::testExportToReadonly() Entering
"TestUtil::testExportToReadonly()" QObject(0x0)
QDEBUG : KisCsvTest::testExportToReadonly() export result = Cannot write: 0
"Cannot open file for writing. Reason: An error occurred when writing to the
file."
PASS : KisCsvTest::testExportToReadonly()
QDEBUG : KisCsvTest::testImportIncorrectFormat() Entering
"TestUtil::prepareFile()" QFlags(0x4|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisCsvTest::testImportIncorrectFormat() findresourcePath
"/Volumes/Osiris/programs/krita-master/testdata/kritatests/unittests/markers.svg"
QDEBUG : KisCsvTest::testImportIncorrectFormat() findresourcePath
"/Volumes/Osiris/programs/krita-master/testdata/kritatests/unittests/markers.svg"
QDEBUG : KisCsvTest::testImportIncorrectFormat() import result = Error code =
4 "The file format cannot be parsed."
PASS : KisCsvTest::testImportIncorrectFormat()
PASS : KisCsvTest::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 807ms
* Finished testing of KisCsvTest *
--
You are receiving this mail because:
You are watching all bug changes.