equal
deleted
inserted
replaced
191 void binaryData(); |
191 void binaryData(); |
192 void fromUserInput_data(); |
192 void fromUserInput_data(); |
193 void fromUserInput(); |
193 void fromUserInput(); |
194 void task_199967(); |
194 void task_199967(); |
195 void task_240612(); |
195 void task_240612(); |
|
196 void taskQTBUG_6962(); |
196 |
197 |
197 #ifdef QT3_SUPPORT |
198 #ifdef QT3_SUPPORT |
198 void dirPath(); |
199 void dirPath(); |
199 #endif |
200 #endif |
200 }; |
201 }; |
3901 << QUrl::fromEncoded("http://www.foo.com:8080/") |
3902 << QUrl::fromEncoded("http://www.foo.com:8080/") |
3902 << QUrl::fromEncoded("newfile.html") |
3903 << QUrl::fromEncoded("newfile.html") |
3903 << QUrl::fromEncoded("http://www.foo.com:8080/newfile.html"); |
3904 << QUrl::fromEncoded("http://www.foo.com:8080/newfile.html"); |
3904 } |
3905 } |
3905 |
3906 |
|
3907 void tst_QUrl::taskQTBUG_6962() |
|
3908 { |
|
3909 //bug 6962: empty authority ignored by setAuthority |
|
3910 QUrl url("http://example.com/something"); |
|
3911 url.setAuthority(QString()); |
|
3912 QCOMPARE(url.authority(), QString()); |
|
3913 } |
|
3914 |
3906 QTEST_MAIN(tst_QUrl) |
3915 QTEST_MAIN(tst_QUrl) |
3907 #include "tst_qurl.moc" |
3916 #include "tst_qurl.moc" |