comparison ui/tests/nsstest.cpp @ 534:c262ee333c56

Only benchmark nss once
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 16:26:59 +0000
parents dcb014e7d32f
children 344d15e23f6c
comparison
equal deleted inserted replaced
533:b8b3d922bf0d 534:c262ee333c56
254 cert.base64Line().size() - 2); 254 cert.base64Line().size() - 2);
255 } 255 }
256 QVERIFY((size_t) instList.size() == strv_length(to_install)); 256 QVERIFY((size_t) instList.size() == strv_length(to_install));
257 QVERIFY(strv_length(to_install) != 0); 257 QVERIFY(strv_length(to_install) != 0);
258 258
259 QBENCHMARK { 259 QBENCHMARK_ONCE {
260 write_stores_nss(to_install, to_remove); 260 write_stores_nss(to_install, to_remove);
261 } 261 }
262 } 262 }
263 QTEST_GUILESS_MAIN (NSSTest); 263 QTEST_GUILESS_MAIN (NSSTest);

http://wald.intevation.org/projects/trustbridge/