Mercurial > trustbridge
diff ui/tests/certlistparsertest.cpp @ 204:825b42da1855
Avoid printing an error when an empty certificate ist constructed
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 13:32:47 +0100 |
parents | 60c5df8e7980 |
children | c05e126b0b9e |
line wrap: on
line diff
--- a/ui/tests/certlistparsertest.cpp Wed Mar 26 13:29:09 2014 +0100 +++ b/ui/tests/certlistparsertest.cpp Wed Mar 26 13:32:47 2014 +0100 @@ -51,6 +51,7 @@ QVERIFY(instLines.size() == instList.size()); QVERIFY(remoLines.size() == remoList.size()); + /* Check that a default certificate is invalid */ Certificate cert; QVERIFY(!cert.isValid()); @@ -96,7 +97,6 @@ { const char *fname = "empty_file"; CertificateList *certList = testWithFile(fname); - printf("Status :%i\n ",certList->getStatus()); QCOMPARE (certList->getStatus(), SeekFailed); delete certList; }