summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkreply
Commit message (Collapse)AuthorAgeFilesLines
* add autotest for digest authenticationPeter Hartmann2011-01-261-10/+20
| | | | | | Reviewed-by: Markus Goetz Task-number: QTBUG-15070 (cherry picked from commit c6a6448272168f0105c973bef5e531114533fc90)
* Update copyright year to 2011.Jason McDonald2011-01-112-2/+2
| | | | | Reviewed-by: Trust Me (cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
* tst_qnetworkreply: Add EXPECT_FAIL for ioGetFromBuiltinHttpMarkus Goetz2011-01-071-0/+2
| | | | Reviewed-by: Peter Hartmann
* Revert "Fix QNetworkReply autotest cases for QT-3494"Markus Goetz2011-01-071-13/+9
| | | | | We don't think this is the right fix. This reverts commit 5d18d393808d7a4be56eb00ab9f1e9cda9e211c9.
* Fix QNetworkReply autotest cases for QT-3494Ville Pernu2010-12-311-9/+13
| | | | | | | | | These fixes add a new QTest columns to cases tst_QNetworkReply:: ioGetFromHttpStatus100_data and tst_QNetworkReply::ioGetFromHttpNoHeaders. Each test row now has an expected error message per input data string. Task-Number: QT-3494 Reviewed-By: Perttu Pohjonen
* Fix compilation of qnetworkreply test with namespaces.Olivier Goffart2010-12-091-2/+2
|
* QNetworkReply autotest: fix possible crashPeter Hartmann2010-11-261-0/+1
| | | | | | ... by waiting for the thread to finish. Reviewed-by: Markus Goetz
* QNetworkAccessManager: enable synchronous HTTP callsPeter Hartmann2010-11-231-17/+489
| | | | | | | | | | | | | To enable synchronous calls, an attribute in the QNetworkRequest has to be set. If set, when QNetworkAccessManager::get() (and post(), put()) returns, the reply is finished and all data has been read in case of success. This feature is semi-public for now (usable, but not documented). To enable this, an attribute in the QNetworkRequest must be set. If this attribute is set, we open a new connection to the server with only one channel and call the channels' sockets' waitFor* methods. Reviewed-by: Markus Goetz
* tst_qnetworkreply: Fix ugly testMarkus Goetz2010-11-171-17/+17
| | | | | | | | | Properly use the event loop. Signals have to be connected directly after using the get() method of QNetworkAccessManager. Else they might have already been emitted while the event loop was spinning. Reviewed-by: Peter Hartmann
* QNAM HTTP: Ignore double content-length headersMarkus Goetz2010-11-131-0/+22
| | | | | Task-number: QTBUG-15311 Reviewed-by: ogoffart
* tst_qnetworkreply: New HTTP test with AuthenticationReuseAttributeMarkus Goetz2010-11-051-0/+29
|
* tst_qnetworkreply: One more HTTP test using setReadBufferSize()Markus Goetz2010-11-051-0/+52
| | | | Task-number: QTBUG-13431
* QNAM HTTP: Download last chunk properly when readBufferSize() limitedMarkus Goetz2010-11-041-4/+5
| | | | | | Task-number: QTBUG-13431 Task-number: QTBUG-6276 Reviewed-by: ogoffart
* tst_qnetworkreply: Add testcase for unknown authentication methodMarkus Goetz2010-11-031-0/+32
| | | | | Task-number: QTBUG-4121 Reviewed-by: ogoffart
* QNAM HTTP: tst_qnetworkreply with setReadBufferSize() setDavid Faure2010-11-011-71/+366
| | | | | | | | | | This new method tests 4 cases (http/https, with/without buffer size) and checks the send/receive rates to check that the actual transfer rate was limited, not just the speed of emission of data to the application. Task-number: QTBUG-6276 Merge-request: 872 Reviewed-by: Markus Goetz <Markus.Goetz@nokia.com>
* tst_qnetworkreply: New auto test for unreachable IPsMarkus Goetz2010-10-151-0/+15
| | | | | | This test fails right now and we should fix the underlying issue :-) Task-number: QT-4155
* Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-08-261-0/+26
|\ | | | | | | | | | | | | Conflicts: bin/syncqt src/opengl/qgl.cpp tools/configure/configureapp.cpp
| * QNAM HTTP: Prepare a compression auto test related to a future bugfixMarkus Goetz2010-08-231-0/+26
| | | | | | | | Task-number: QTBUG-12908
* | Merge remote branch 'origin/4.6' into 4.7-from-4.6Rohan McGovern2010-07-291-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebKit/qt/ChangeLog src/gui/itemviews/qlistview.cpp tests/auto/qlistview/tst_qlistview.cpp tests/auto/qnetworkreply/test/test.pro tests/auto/qsocks5socketengine/qsocks5socketengine.pro
| * Fix Rhys' qmake warningsMarkus Goetz2010-07-221-1/+1
| |
* | escape backslashesOswald Buddenhagen2010-05-261-1/+1
| | | | | | | | this makes windows-style path specs *ugly*. that's intentional. :-P
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Olivier Goffart2010-05-171-0/+65
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/demos.pro mkspecs/features/resources.prf mkspecs/features/uic.prf src/corelib/io/qurl.cpp src/corelib/tools/qlocale_symbian.cpp src/gui/graphicsview/qgraphicsscene.cpp src/gui/graphicsview/qgraphicswidget_p.cpp src/gui/graphicsview/qgraphicswidget_p.h src/gui/util/qsystemtrayicon_win.cpp src/multimedia/audio/qaudioinput.cpp tests/auto/qhostinfo/qhostinfo.pro
| * QNAM HTTP: And one more testcaseMarkus Goetz2010-05-141-0/+18
| |
| * QNAM HTTP: More testcasesMarkus Goetz2010-05-131-0/+47
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-05-122-10/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (158 commits) qdoc: Yet another revision of the top doc page. Doc: Update on web template Added QDateTime::msecsTo() Doc: Fixed tables and images for the new docs qdoc: Yet another revision of the top doc page. Revert "Improve QUrl handling of local file paths" Revert "[QNAM FTP] Check for the "ftp" scheme case-insensitively" Revert "QUrl::fromLocalFile: fix silly mistake: it's fromNativeSeparators, not to" Revert "Use QUrl::isLocalFile and fix the scheme checking in local URLs." qdoc: Another revision of the top doc page. Doc correction to css Doc: Updates to the html template and javascript tst_SuiteTest: Fix a meaningless switch statement My 4.7.0 changelog entries. qdoc: Fixed annotated list generation to use <td>, not <th>. Doc: Tuning search script qdoc: Reorganized examples panel. Doc: Chages to search feature, css and table order QtDeclarative: avoid waiting for a network load on URIs with empty schemes. QtDeclarative: RFC 3986 requires schemes to be considered case-insensitively ...
| * | Revert "Use QUrl::isLocalFile and fix the scheme checking in local URLs."Morten Johan Sørvig2010-05-101-6/+0
| | | | | | | | | | | | This reverts commit ebddf7a8739d7f4aaa7d9cb8a41a14eebb65e4f4.
| * | Use QUrl::isLocalFile and fix the scheme checking in local URLs.Thiago Macieira2010-05-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | RFC 3986 requires that schemes be compared case-insensitively, so "QRC:/" is allowed for Qt resources. Also document the use of file engines and search paths. Reviewed-by: Markus Goetz
| * | tst_qnetworkreply: add a test for getting from SMBThiago Macieira2010-05-052-0/+4
| | | | | | | | | | | | Reviewed-By: Markus Goetz
| * | whitespace fixesThiago Macieira2010-05-051-10/+10
| | |
* | | Run autotests with minimal capabilitiesShane Kearns2010-05-101-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | The autotests were previously run with ALL-Tcb capability which gives them more access to the filesystem etc. than a typical Qt application. To have more realistic testing environmnent, tests are run with no capabilities other than those required for the Qt APIs they use. i.e. NetworkServices for network tests, None for others. Reviewed-by: Liang Qi
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-04-141-1/+1
|\ \ | |/ | | | | | | Conflicts: src/script/api/qscriptengine.cpp
| * Autotest: update location of fluke.gif on test serverThiago Macieira2010-04-131-1/+1
| |
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-04-121-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: qmake/generators/symbian/symmake.cpp src/gui/image/qimage.cpp src/openvg/qwindowsurface_vgegl.cpp
| * Autotest: moved these to the qtest/ dirThiago Macieira2010-04-111-1/+1
| |
* | Merge branch '4.6' into qt-4.7-from-4.6Thiago Macieira2010-04-091-6/+6
|\ \ | |/
| * Autotest: fix paths on the test server after update.Thiago Macieira2010-04-091-6/+6
| | | | | | | | Reviewed-by: Trust Me
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-03-291-1/+12
|\ \ | |/ | | | | | | | | | | Conflicts: mkspecs/common/symbian/symbian.conf qmake/generators/symbian/symmake.cpp src/3rdparty/webkit/WebCore/WebCore.pro
| * tst_qnetworkreply: Fix side effect, add another testMarkus Goetz2010-03-251-1/+12
| | | | | | | | | | | | | | | | | | Fix a test that had a side effect. But actually do the side effect in the last test: Have a QNetworkReply that is parented to the application so it gets destructed after the QNetworkAccessManager. Reviewed-by: gabi
* | Merge branch '4.6-s60' into 4.7-s60axis2010-03-221-0/+58
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe mkspecs/common/symbian/symbian.conf src/gui/graphicsview/qgraphicswidget.h src/gui/kernel/qapplication.cpp src/gui/text/qtextlayout.cpp src/openvg/qpixmapdata_vg.cpp src/s60installs/s60installs.pro tools/runonphone/main.cpp tools/runonphone/serenum_unix.cpp qtextlayout.cpp fixed up together with Eskil. Kept the configure.exe from 4.7 without recompile.
| * QNAM HTTP: Fix no-headers and HTTP-100 handlingMarkus Goetz2010-03-161-0/+58
| | | | | | | | Reviewed-by: Thiago
* | Fix compilation issues of autotest on solarisThierry Bastian2010-03-181-1/+1
| | | | | | | | Task-number: QTBUG-8590
* | QNetworkReply: Fix canReadLine()Markus Goetz2010-03-161-0/+17
| | | | | | | | Reviewed-by: Peter Hartmann
* | Merge remote branch 'origin/4.6' into qt-master-from-4.6Thiago Macieira2010-02-201-7/+124
|\ \ | |/ | | | | | | | | Conflicts: qmake/Makefile.unix qmake/generators/symbian/symmake.cpp
| * tst_qnetworkreply: Check if TCP/HTTP connection got re-usedMarkus Goetz2010-02-191-7/+124
| | | | | | | | Reviewed-by: Peter Hartmann
* | Merge remote branch 'origin/4.6' into qt-master-from-4.6Thiago Macieira2010-02-191-0/+66
|\ \ | |/ | | | | | | Conflicts: tools/assistant/lib/qhelpsearchindexreader_clucene_p.h
| * tst_qnetworkreply: Add another testcaseMarkus Goetz2010-02-181-0/+66
| | | | | | | | Reviewed-by: Peter Hartmann
* | Merge remote branch 'origin/master' into qt-master-from-4.6Thiago Macieira2010-02-181-0/+83
|\ \ | |/ |/| | | | | | | Conflicts: src/corelib/codecs/qtextcodec.h tests/auto/gestures/tst_gestures.cpp
| * QNetworkAccessManager: add method to send custom requestsPeter Hartmann2010-02-161-0/+83
| | | | | | | | | | | | | | | | | | | | This method was added to support e.g. HTTP OPTIONS (needed by Webkit); rather than adding one method for each of those exotic verbs, there is now a generic version for all. Reviewed-by: Markus Goetz Reviewed-by: Andreas Kling Task-number: QTBUG-8206
* | QNAM HTTP: Unify socket EOF handling a bitMarkus Goetz2010-02-161-0/+5
|/ | | | Reviewed-by: Peter Hartmann
* tst_qnetworkreply: There were 2 unneeded QSignalSpyMarkus Goetz2010-01-181-2/+0
| | | | | | Was a cut n paste error probably. Reviewed-by: TrustMe