summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/http2/http2.pro
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-02-26 12:37:24 +0100
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-07-14 10:20:36 +0000
commit205ff27260b03e7aa2aa60a7eb452251dfa11246 (patch)
treed03260e8f079500bbdcf98c75d30e0175ad9e361 /tests/auto/network/access/http2/http2.pro
parentc2f4705f23ddccf075010edb0532fd73145b8b15 (diff)
HTTP2 - autotest
Add autotest for QHttp2ProtocolHandler. This patch contains a very simplistic "in-process HTTP2 server" for testing the protocol's basic logic/flow control/error handling and emulating possible scenarios. Task-number: QTBUG-50956 Change-Id: Ie02d3329c5182277a3c7c84f1bae8d02308e945d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/network/access/http2/http2.pro')
-rw-r--r--tests/auto/network/access/http2/http2.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/network/access/http2/http2.pro b/tests/auto/network/access/http2/http2.pro
new file mode 100644
index 0000000000..5dd8bdf9ae
--- /dev/null
+++ b/tests/auto/network/access/http2/http2.pro
@@ -0,0 +1,9 @@
+QT += core core-private network network-private testlib
+
+CONFIG += testcase parallel_test c++11
+TEMPLATE = app
+TARGET = tst_http2
+HEADERS += http2srv.h
+SOURCES += tst_http2.cpp http2srv.cpp
+
+DEFINES += SRCDIR=\\\"$$PWD/\\\"