Searched refs:qurl_newline_1 (Results 1 – 2 of 2) sorted by relevance
536 … QUrl qurl_newline_1 = QUrl::fromEncoded("http://www.foo.bar/foo/bar\ngnork", QUrl::TolerantMode); in testNewLine() local537 QVERIFY(qurl_newline_1.isValid()); in testNewLine()538 QCOMPARE(qurl_newline_1.toEncoded(), QByteArray("http://www.foo.bar/foo/bar%0Agnork")); in testNewLine()
3654 … QUrl qurl_newline_1 = QUrl::fromEncoded("http://www.foo.bar/foo/bar\ngnork", QUrl::TolerantMode); in fromEncoded() local3655 QVERIFY(qurl_newline_1.isValid()); in fromEncoded()3656 QCOMPARE(qurl_newline_1.toEncoded().constData(), "http://www.foo.bar/foo/bar%0Agnork"); in fromEncoded()