tst_QUrl::fromUserInput(): distinguish to data rows by name tag

Change-Id: Ia3d232466ae618c26b95a6c33b094b197a2e4ec8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Edward Welbourne 2022-10-05 11:56:26 +02:00
parent 6e4a5211a2
commit f89d3484b2
1 changed files with 4 additions and 2 deletions

View File

@ -3169,8 +3169,10 @@ void tst_QUrl::fromUserInput_data()
QTest::newRow("misc-1") << "user:pass@domain.com" << authUrl;
// FTP with double slashes in path
QTest::newRow("ftp-double-slash-1") << "ftp.example.com//path" << QUrl("ftp://ftp.example.com/%2Fpath");
QTest::newRow("ftp-double-slash-1") << "ftp://ftp.example.com//path" << QUrl("ftp://ftp.example.com/%2Fpath");
QTest::newRow("ftp-double-slash-no-scheme")
<< "ftp.example.com//path" << QUrl("ftp://ftp.example.com/%2Fpath");
QTest::newRow("ftp-double-slash-scheme")
<< "ftp://ftp.example.com//path" << QUrl("ftp://ftp.example.com/%2Fpath");
}
void tst_QUrl::fromUserInput()