From 58416e36ce80c8b96abf168f38c090f2f65939fa Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Tue, 19 Jul 2011 17:24:56 +1000 Subject: [PATCH] Fix qdeclarativexmlhttprequest autotest. Updated test to expect deflate support after 2b5dcfcee118265ef7930cc7c5c16bff22d580fd in qtbase. Change-Id: Ia2c98aecf7de6f1e12396b6e9adb27a322b0b283 Reviewed-on: http://codereview.qt.nokia.com/1815 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern Reviewed-by: Martin Jones --- tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect | 2 +- .../qdeclarativexmlhttprequest/data/getResponseHeader.expect | 2 +- .../declarative/qdeclarativexmlhttprequest/data/open_network.expect | 2 +- .../auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect | 2 +- .../auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect | 2 +- .../auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect | 2 +- .../qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect | 2 +- .../qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect | 2 +- .../qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect | 2 +- .../declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect | 2 +- tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect index 4d21122..3ed1f7f 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect @@ -3,7 +3,7 @@ ACCEPT-LANGUAGE: en-US Content-Type: text/plain;charset=UTF-8 Content-Length: 9 Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/getResponseHeader.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/getResponseHeader.expect index c6cad70..4d940c2 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/getResponseHeader.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/getResponseHeader.expect @@ -1,7 +1,7 @@ GET /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_network.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_network.expect index c6cad70..4d940c2 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_network.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_network.expect @@ -1,7 +1,7 @@ GET /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect index 2effbdc..98dbbdc 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect @@ -3,7 +3,7 @@ ACCEPT-LANGUAGE: en-US Content-Type: text/plain;charset=UTF-8 Content-Length: 12 Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect index 8336860..5f71adf 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect @@ -3,7 +3,7 @@ ACCEPT-LANGUAGE: en-US Content-Type: charset=UTF-8;text/plain Content-Length: 12 Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect index 4f10bbc..144283a 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect @@ -3,7 +3,7 @@ ACCEPT-LANGUAGE: en-US Content-Type: text/plain;charset=UTF-8 Content-Length: 12 Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect index b2d177a..a0a8f4c 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect @@ -1,7 +1,7 @@ DELETE /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect index c6cad70..4d940c2 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect @@ -1,7 +1,7 @@ GET /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect index 74a9798..cf13b54 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect @@ -1,7 +1,7 @@ HEAD /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect index 7b8e260..cd13443 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect @@ -3,7 +3,7 @@ ACCEPT-LANGUAGE: en-US TEST-HEADER: value TEST-HEADER2: value,value2 Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect b/tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect index c6cad70..4d940c2 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect @@ -1,7 +1,7 @@ GET /testdocument.html HTTP/1.1 ACCEPT-LANGUAGE: en-US Connection: Keep-Alive -Accept-Encoding: gzip +Accept-Encoding: gzip, deflate User-Agent: Mozilla/5.0 Host: 127.0.0.1:14445 -- 2.7.4