Make failure messages from tst_QSslCertificate::verify much more useful
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 2 Aug 2011 07:06:34 +0000 (17:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 11:14:55 +0000 (13:14 +0200)
commitc6b6278ab298da0ae312a61b524b84ac39998c05
tree8b8be852f28b04fc770b3f9339402be9426e02c8
parentc8a31a31004f7d8953c86656ee04c40af40efd82
Make failure messages from tst_QSslCertificate::verify much more useful

Changes the failure message from the previously brief:

  '(errors.count() == 0)' returned FALSE.

To the vastly more useful:

  '(errors.count() == 0)' returned FALSE.
  (errors: [ "The certificate has expired" ])

Change-Id: I587cd8ddfd3c17e273220bc95691b3dc92390547
Reviewed-on: http://codereview.qt.nokia.com/2241
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
tests/auto/qsslcertificate/tst_qsslcertificate.cpp