diff options
author | Mårten Nordheim <Morten242@gmail.com> | 2017-12-27 15:39:10 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2018-01-12 11:43:55 +0000 |
commit | b14934547a1828ba37009ef6803ab0ba419b690e (patch) | |
tree | 1a840a0edc66635b29f34d9f364723184c48f933 /src/printsupport | |
parent | 6b012a30d9592de8a23b626682a221b76a7e263f (diff) |
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 e1600c1a73e0594f5fbea8f7341a9552d6ae3fbb
Change-Id: Iee6d88f1e0810eeaadac90e7d44bc6db84bfeabf
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions