summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-08-19 12:11:17 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 14:57:19 +0000
commitec201d18949e4f5af0ab3804ef87aba75fba8f7f (patch)
treee1f26969d10996a75fbf3f2b7857bb071d470f56 /tests/auto
parent32c3d9bb5a8825296cdfc92ffeeb44f74efbb638 (diff)
downloadqtwebsockets-ec201d18949e4f5af0ab3804ef87aba75fba8f7f.tar.gz
Clean up QT_CONFIG usage
Use the newer qtConfig() method instead. Change-Id: I197dbe01edaf8696ee06d30400bd18e53cf69c94 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/websockets/dataprocessor/dataprocessor.pro2
-rw-r--r--tests/auto/websockets/handshakerequest/handshakerequest.pro2
-rw-r--r--tests/auto/websockets/handshakeresponse/handshakeresponse.pro2
-rw-r--r--tests/auto/websockets/qdefaultmaskgenerator/qdefaultmaskgenerator.pro2
-rw-r--r--tests/auto/websockets/websocketframe/websocketframe.pro2
-rw-r--r--tests/auto/websockets/websocketprotocol/websocketprotocol.pro2
-rw-r--r--tests/auto/websockets/websockets.pro2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/websockets/dataprocessor/dataprocessor.pro b/tests/auto/websockets/dataprocessor/dataprocessor.pro
index 41fc91f..ad99900 100644
--- a/tests/auto/websockets/dataprocessor/dataprocessor.pro
+++ b/tests/auto/websockets/dataprocessor/dataprocessor.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_dataprocessor.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/handshakerequest/handshakerequest.pro b/tests/auto/websockets/handshakerequest/handshakerequest.pro
index 6a373b8..aa7779e 100644
--- a/tests/auto/websockets/handshakerequest/handshakerequest.pro
+++ b/tests/auto/websockets/handshakerequest/handshakerequest.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_handshakerequest.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/handshakeresponse/handshakeresponse.pro b/tests/auto/websockets/handshakeresponse/handshakeresponse.pro
index 9e23c46..ab6682b 100644
--- a/tests/auto/websockets/handshakeresponse/handshakeresponse.pro
+++ b/tests/auto/websockets/handshakeresponse/handshakeresponse.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_handshakeresponse.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/qdefaultmaskgenerator/qdefaultmaskgenerator.pro b/tests/auto/websockets/qdefaultmaskgenerator/qdefaultmaskgenerator.pro
index e284bc5..c3b1046 100644
--- a/tests/auto/websockets/qdefaultmaskgenerator/qdefaultmaskgenerator.pro
+++ b/tests/auto/websockets/qdefaultmaskgenerator/qdefaultmaskgenerator.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_defaultmaskgenerator.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/websocketframe/websocketframe.pro b/tests/auto/websockets/websocketframe/websocketframe.pro
index df9c910..8f58302 100644
--- a/tests/auto/websockets/websocketframe/websocketframe.pro
+++ b/tests/auto/websockets/websocketframe/websocketframe.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_websocketframe.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/websocketprotocol/websocketprotocol.pro b/tests/auto/websockets/websocketprotocol/websocketprotocol.pro
index 8ee7ff9..27748a9 100644
--- a/tests/auto/websockets/websocketprotocol/websocketprotocol.pro
+++ b/tests/auto/websockets/websocketprotocol/websocketprotocol.pro
@@ -10,4 +10,4 @@ QT = core testlib websockets websockets-private
SOURCES += tst_websocketprotocol.cpp
-requires(contains(QT_CONFIG, private_tests))
+requires(qtConfig(private_tests))
diff --git a/tests/auto/websockets/websockets.pro b/tests/auto/websockets/websockets.pro
index 4698cd0..b000229 100644
--- a/tests/auto/websockets/websockets.pro
+++ b/tests/auto/websockets/websockets.pro
@@ -3,7 +3,7 @@ TEMPLATE = subdirs
SUBDIRS = \
qwebsocketcorsauthenticator
-contains(QT_CONFIG, private_tests): SUBDIRS += \
+qtConfig(private_tests): SUBDIRS += \
websocketprotocol \
dataprocessor \
websocketframe \