qt5base-lts/tests/auto/network/ssl/qsslcertificate
Mårten Nordheim b14934547a Use TESTDATA for QSsl* tests
Apparently this (undocumented) TESTDATA feature creates resource files,
but lets you use wildcards as well, which is very handy.

The reason I didn't know/realize this when adapting the tests to use a
".qrc"-file* was because some of the test-cases were using relative
paths instead of the 'testDataDir' variable.

This commit fixes the remaining uses of relative paths, removes a
usage of QDir::setCurrent, and adapts QSslSocket to use TESTDATA.

* in now-reverted commit e1600c1a73

Change-Id: Iee6d88f1e0810eeaadac90e7d44bc6db84bfeabf
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
2018-01-12 11:43:55 +00:00
..
certificates Updated license headers 2016-01-21 18:55:18 +00:00
more-certificates QSslCertificate: blacklist NIC certificates from India 2014-07-09 21:30:11 +02:00
pkcs12 Fix crash when reading a PKCS12 file with no private key 2017-08-17 06:43:49 +00:00
verify-certs Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST Disable tst_QSslCertificate::subjectAndIssuerAttributes completely 2015-10-29 10:13:57 +00:00
qsslcertificate.pro Revert "Adapt the QSsl* tests to use the resource system" 2018-01-09 08:52:41 +00:00
tst_qsslcertificate.cpp Use TESTDATA for QSsl* tests 2018-01-12 11:43:55 +00:00