msvc tests

Peter Kümmel syntheticpp at gmx.net
Tue May 16 11:39:17 CEST 2006


David Faure wrote:
> Happy bug hunting ;)
> kdatetimetest fails for me on linux, but all others pass, so those are MSVC/windows-porting bugs.
> I'm interested in the output of kurltest, kconfigtest and karchivetest in particular...
> 

Here the outputs:
********* Start testing of KUrlTest *********
Config: Using QTest library 4.1.1, Qt 4.1.2
PASS   : KUrlTest::initTestCase()
PASS   : KUrlTest::testQUrl()
QDEBUG : KUrlTest::testEmptyURL() * Empty URL

PASS   : KUrlTest::testEmptyURL()
QDEBUG : KUrlTest::testIsValid() * isValid tests

PASS   : KUrlTest::testIsValid()
QDEBUG : KUrlTest::testSetQuery() * setQuery tests

PASS   : KUrlTest::testSetQuery()
QDEBUG : KUrlTest::testSetRef() * setRef tests

QDEBUG : KUrlTest::testSetRef() * setHTMLRef tests

PASS   : KUrlTest::testSetRef()
QDEBUG : KUrlTest::testDirectory() URL is file:///home/dfaure/file.txt
FAIL!  : KUrlTest::testDirectory() Compared values are not the same
   Actual (u2.url()): ftp://ftp.kde.org/C:/
   Expected (QString("ftp://ftp.kde.org/")): ftp://ftp.kde.org/
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(579) : failure location
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1305]
utest.toString()=file:///home/dfaure/MatÚriel
utest.path()=/home/dfaure/MatÚriel
utest.toEncoded()=file:///home/dfaure/Mat%C3%A9riel
PASS   : KUrlTest::testUtf8()
QDEBUG : KUrlTest::testIsLocalFile() URL=file:///my/file

PASS   : KUrlTest::testIsLocalFile()
FAIL!  : KUrlTest::testSimpleMethods() '!userName.isEmpty()' returned FALSE. ()
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(289) : failure location
QDEBUG : KUrlTest::testParsingTolerance() http://www.kde.org/cgi/qurl.cgi?hello=My%20Value
PASS   : KUrlTest::testParsingTolerance()
PASS   : KUrlTest::testNewLine()
PASS   : KUrlTest::testQueryParsing()
PASS   : KUrlTest::testEmptyQueryOrRef()
QDEBUG : KUrlTest::testURLsWithoutPath() http://a:389#b=c
PASS   : KUrlTest::testURLsWithoutPath()
FAIL!  : KUrlTest::testPathAndQuery() Compared values are not the same
   Actual (up.url()): ftp://user%40host.com@ftp.host.com/C:/
   Expected (QString("ftp://user%40host.com@ftp.host.com/")): ftp://user%40host.com@ftp.host.com/
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(472) : failure location
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:479]
PASS   : KUrlTest::testSetFileName()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:587]
PASS   : KUrlTest::testPrettyURL()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:613]
PASS   : KUrlTest::testIsRelative()
PASS   : KUrlTest::testRelativePath()
PASS   : KUrlTest::testRelativeURL()
PASS   : KUrlTest::testAdjustPath()
SKIP   : KUrlTest::testIPV6() Qt-4.2 needed for ipv6 hosts using []
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(708) : failure location
PASS   : KUrlTest::testIPV6()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:759]
QWARN  : KUrlTest::testBaseURL() QUrl::setPort() called with out of range port
FAIL!  : KUrlTest::testBaseURL() Compared values are not the same
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(784) : failure location
PASS   : KUrlTest::testSetUser()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:936]
FAIL!  : KUrlTest::testSubURL() Compared values are not the same
   Actual (url1.upURL().url()): file:///home/dfaure/my%20tar%20file.tgz#gzip:/%23tar:C:/
   Expected (QString("file:///home/dfaure/")): file:///home/dfaure/
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(944) : failure location
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1032]
PASS   : KUrlTest::testComparisons()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1079]
PASS   : KUrlTest::testStreaming()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1114]
QWARN  : KUrlTest::testBrokenStuff() QUrl::setPort() called with out of range port
SKIP   : KUrlTest::testBrokenStuff() QUrl doesn't provide the initial string if it's an invalid url; asked for 4.2...
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(1230) : failure location
PASS   : KUrlTest::testBrokenStuff()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1242]
PASS   : KUrlTest::testMailto()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1268]
PASS   : KUrlTest::testSmb()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1285]
PASS   : KUrlTest::testOtherProtocols()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1340]
PASS   : KUrlTest::testOtherEncodings()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1360]
FAIL!  : KUrlTest::testPathOrURL() '!userName.isEmpty()' returned FALSE. ()
C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp(1374) : failure location
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1395]
PASS   : KUrlTest::testQueryItem()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1426]
PASS   : KUrlTest::testEncodeString()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1438]
PASS   : KUrlTest::testIdn()
qttest: [C:\sandbox\kdelibs\kdelibs\kdecore\tests\kurltest.cpp:1469]
PASS   : KUrlTest::testUriMode()
PASS   : KUrlTest::cleanupTestCase()
Totals: 33 passed, 6 failed, 2 skipped
********* Finished testing of KUrlTest *********


********* Start testing of KArchiveTest *********
Config: Using QTest library 4.1.1, Qt 4.1.2
PASS   : KArchiveTest::initTestCase()
qttest: Trying to open ksycoca from c:/dokumente und einstellungen/cuser/.kde-unit-test/cache-CNAME/ksycoca
qttest: Could not open ksycoca
qttest: Trying to open ksycoca from c:/dokumente und einstellungen/cuser/.kde-unit-test/cache-CNAME/ksycoca
qttest: Could not open ksycoca
qttest: findFactory: we have no database.... launching kdeinit
qttest: Trying to open ksycoca from c:/dokumente und einstellungen/cuser/.kde-unit-test/cache-CNAME/ksycoca
qttest: Could not open ksycoca
qttest: ERROR: No database available!
qttest: ERROR: No database available!
qttest: WARNING: Could not find mime type
application/octet-stream
qttest: KTar::KTar mimetype = application/octet-stream
qttest: KTar::createDevice creating TempFile: c:/dokumente und einstellungen/cuser/.kde-unit-test/tmp-CNAME/ktar-kneaaa.tar
qttest: Write temporary file to compressed file
qttest: karchivetest.tar.gz application/octet-stream
qttest: KFilterBase::findFilterByMimeType : no filter found for application/octet-stream
qttest: Write temporary file to compressed file done.
PASS   : KArchiveTest::testCreateTar()
qttest: ERROR: No database available!
qttest: KTar::KTar mimetype = application/octet-stream
qttest: KTar::createDevice creating TempFile: c:/dokumente und einstellungen/cuser/.kde-unit-test/tmp-CNAME/ktar-yGaaaa.tar
qttest: KTar::openArchive: filling tmpFile of mimetype 'application/octet-stream'
qttest: KFilterBase::findFilterByMimeType : no filter found for application/octet-stream
FAIL!  : KArchiveTest::testReadTar() Compared values are not the same
   Actual (listing[ 0]): mode=40777 user=1 group=1 path=dir type=dir
   Expected (QString("mode=40777 user=dfaure group=dfaure path=dir type=dir")): mode=40777 user=dfaure group=dfaure path=dir type=dir
C:\sandbox\kdelibs\kdelibs\kio\tests\karchivetest.cpp(170) : failure location
qttest: ERROR: No database available!
qttest: KTar::KTar mimetype = application/octet-stream
qttest: KTar::createDevice creating TempFile: c:/dokumente und einstellungen/cuser/.kde-unit-test/tmp-CNAME/ktar-B1gaaa.tar
qttest: KTar::openArchive: filling tmpFile of mimetype 'application/octet-stream'
qttest: KFilterBase::findFilterByMimeType : no filter found for application/octet-stream
PASS   : KArchiveTest::testTarFileData()
qttest: ERROR: No database available!
qttest: KTar::KTar mimetype = application/octet-stream
qttest: KTar::createDevice creating TempFile: c:/dokumente und einstellungen/cuser/.kde-unit-test/tmp-CNAME/ktar-sWfaaa.tar
qttest: Write temporary file to compressed file
qttest: karchivetest-maxlength.tar.gz application/octet-stream
qttest: KFilterBase::findFilterByMimeType : no filter found for application/octet-stream
qttest: Write temporary file to compressed file done.
qttest: KTar::createDevice creating TempFile: c:/dokumente und einstellungen/cuser/.kde-unit-test/tmp-CNAME/ktar-5yiaaa.tar
qttest: KTar::openArchive: filling tmpFile of mimetype 'application/octet-stream'
qttest: KFilterBase::findFilterByMimeType : no filter found for application/octet-stream
PASS   : KArchiveTest::testTarMaxLength()
PASS   : KArchiveTest::testCreateZip()
QFATAL : KArchiveTest::testReadZip() ASSERT: "namelen > 0" in file C:\sandbox\kdelibs\kdelibs\kio\kio\kzip.cpp, line 431
qttest: WARNING: Invalid ZIP file. Name not completely read (#2)
FAIL!  : KArchiveTest::testReadZip() 'ok' returned FALSE. ()
C:\sandbox\kdelibs\kdelibs\kio\tests\karchivetest.cpp(296) : failure location
QFATAL : KArchiveTest::testZipFileData() ASSERT: "namelen > 0" in file C:\sandbox\kdelibs\kdelibs\kio\kio\kzip.cpp, line 431
qttest: WARNING: Invalid ZIP file. Name not completely read (#2)
FAIL!  : KArchiveTest::testZipFileData() 'ok' returned FALSE. ()
C:\sandbox\kdelibs\kdelibs\kio\tests\karchivetest.cpp(332) : failure location
qttest: handledextralen: 1
qttest: WARNING: Invalid ZIP file. Unrecognized header at offset 0
FAIL!  : KArchiveTest::testZipMaxLength() 'ok' returned FALSE. ()
C:\sandbox\kdelibs\kdelibs\kio\tests\karchivetest.cpp(361) : failure location
PASS   : KArchiveTest::cleanupTestCase()
Totals: 6 passed, 4 failed, 0 skipped
********* Finished testing of KArchiveTest *********


More information about the Kde-buildsystem mailing list