tests/conversiontest.cpp

Christian Mollekopf mollekopf at kolabsys.com
Tue Apr 9 19:04:19 CEST 2013


 tests/conversiontest.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ba0ab5d3be8c13fb8ddd42c1a399edebbe7acc9c
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Tue Apr 9 19:04:02 2013 +0200

    Fixed conversiontest for libcur 7.27.0
    
    Apparently this was fixed before 7.27.0

diff --git a/tests/conversiontest.cpp b/tests/conversiontest.cpp
index 42b0738..b80c21f 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.28.1 but broken in 7.19.7, we're testing for 7.28.1)
-    if (LIBCURL_VERSION_NUM >= 0x071c01) {
+    //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) {
         QTest::newRow("1") << "email_1 at 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";





More information about the commits mailing list