From 578e6d6834ae8608fb98f1f871e7bd21d64aaf1e Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Thu, 10 Nov 2011 12:59:56 +1000 Subject: Cleanup corelib autotests Remove various disabled and/or non-helpful debugging code. Any test diagnostics that are useful should be part of the regular test output, as the CI system cannot switch on commented-out code when there is a test failure. Diagnostics should also be informative -- simply printing the value of a variable with no other information about what is being printed (or why it is being printed) is not informative. Change-Id: I21a6c2121be86001bb57e80f426507b6e619ee9e Reviewed-by: Rohan McGovern --- tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp') diff --git a/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp b/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp index 1f8ae1fac1..4a2dfb3f22 100644 --- a/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp +++ b/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp @@ -333,13 +333,7 @@ void tst_QResourceEngine::checkStructure() // Test the Dir filter QFileInfoList list = dir.entryInfoList(QDir::Dirs, QDir::Name); -// for(int i = 0; i < list.size(); ++i) -// qDebug() << "one" << i << list.at(i).fileName(); -// for(int i = 0; i < containedDirs.size(); ++i) -// qDebug() << "two" << i << containedDirs.at(i); -// qDebug() << "one" << list.size() << containedDirs.size(); - QCOMPARE(list.size(), containedDirs.size()); -// qDebug() << "two"; + QCOMPARE(list.size(), containedDirs.size()); int i; for (i=0; i