path: root/rbutil/rbutilqt/test/test-httpget.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-12-16Create local file URL using QUrl.Dominik Riebeling1-1/+1
Don't construct the local file URL from string. On Windows the URL needs to start with file:/// instead of file://. QUrl handles this. Change-Id: I3dea29a8d368ebdc20eeff6b1f1cf5058d1b5d05
2016-03-27Fix wrong typecast in test.Dominik Riebeling1-1/+1
Change-Id: I01acae450bcbb9c9e2b45d3ee62817b9256540c3
2015-12-20Fix and extend HttpGet unit test again.Dominik Riebeling1-2/+8
Fix wrong initialization (why did that compile?) and add check for progress signal. Change-Id: I83a193252afcf66acaa333750b0ac2ef83e38478
2015-12-18Use random port for HttpGet unit tests.Dominik Riebeling1-24/+31
Make local HttpDaemon for testing use a random unused port instead of a fixed one. Avoids possible issues with the port chosen already being used on the local machine. Change-Id: I1ca10b7e5ce198350e14321afc50c36d78b1c0b4
2015-12-18Add support file:// URLs in HttpGet.Dominik Riebeling1-0/+22
QNetworkAccessManager can handle file:// URLs without additional work. Make HttpGet aware of that so you can now also use it to retrieve file:// URLs. Add a unit test for it as well. Change-Id: If64b57453460b70bca9e5b0c725bb78344617bcd
2013-01-27Implement test for HttpGet class.Dominik Riebeling1-0/+512
Change-Id: I1df793fd32dafdea999b875452ee832b773d8156