[PATCH 2 of 2] Add some more verifications
Wald Commits
scm-commit at wald.intevation.org
Thu Apr 24 12:32:39 CEST 2014
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398335534 0
# Node ID 48161978c84c92bb01e03a2488dc6a487f5c0c94
# Parent e8d761c2d2d12ecbf12814af8b80913b030db822
Add some more verifications
diff -r e8d761c2d2d1 -r 48161978c84c ui/tests/nsstest.cpp
--- a/ui/tests/nsstest.cpp Thu Apr 24 10:31:43 2014 +0000
+++ b/ui/tests/nsstest.cpp Thu Apr 24 10:32:14 2014 +0000
@@ -170,10 +170,14 @@
QVERIFY(instList.size() > 2);
strv_append (&to_remove, to_install[1], qstrlen(to_install[1]));
+ QList<QByteArray> beforeFF = get_nss_certs(&ffNSSDir);
+ QVERIFY(strv_length(to_remove) == 1);
QVERIFY(write_stores_nss(NULL, to_remove) == 0);
QList<QByteArray> installedCertsFF = get_nss_certs(&ffNSSDir);
QList<QByteArray> installedCertsTB = get_nss_certs(&tbNSSDir);
+ QVERIFY(beforeFF.size() > 0);
+ QVERIFY(beforeFF.size() - 1 == installedCertsFF.size());
QVERIFY(installedCertsFF == installedCertsTB);
More information about the Trustbridge-commits
mailing list