summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-07-03 23:04:21 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-07-03 23:04:21 (GMT)
commit930aeabbed9b9694fe23a5e3c3156e3c5b85724a (patch)
tree5bda19588c51af73b2d7e9e2446b31e6b421e4fa
parent1affaeee8ac77077e97ec31dd29d726a35c99acf (diff)
downloadlibkolabxml-930aeabbed9b9694fe23a5e3c3156e3c5b85724a.tar.gz
Fix tests with libcurl 7.26.0
Thanks to Sergey Sidlyarenko for the patch. BUG: 2003
-rw-r--r--tests/conversiontest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conversiontest.cpp b/tests/conversiontest.cpp
index b80c21f..bc858d0 100644
--- a/tests/conversiontest.cpp
+++ b/tests/conversiontest.cpp
@@ -176,8 +176,8 @@ void ConversionTest::mailtoUriEncodingTest_data()
QTest::addColumn<QString>("email");
QTest::addColumn<QString>("name");
QTest::addColumn<QString>("resultEncoded");
- //Older versions used to encode "." and "_". Not sure which version is actually required though (fixed in 7.27.0 but broken in 7.19.7, we're testing for 7.27.0)
- if (LIBCURL_VERSION_NUM >= 0x071b00) {
+ //Older versions used to encode "." and "_". Not sure which version is actually required though (fixed in 7.26.0 but broken in 7.19.7, we're testing for 7.26.0)
+ if (LIBCURL_VERSION_NUM >= 0x071a00) {
QTest::newRow("1") << "email_1@email.com" << "John Doe" << "mailto:John%20Doe%3Cemail_1%40email.com%3E";
QTest::newRow("Reserved characters") << "!*'();:@&=+$,/?#[]@email.com" << "John Doe" << "mailto:John%20Doe%3C%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%40email.com%3E";
QTest::newRow("Unreserved characters") << "Aa0-_.~@email.com" << "John Doe" << "mailto:John%20Doe%3CAa0-_.~%40email.com%3E";