equal
deleted
inserted
replaced
2511 QCOMPARE(url.isValid(), result); |
2511 QCOMPARE(url.isValid(), result); |
2512 } |
2512 } |
2513 |
2513 |
2514 void tst_QUrl::invalidSchemeValidator() |
2514 void tst_QUrl::invalidSchemeValidator() |
2515 { |
2515 { |
2516 // enable that test when QUrl is fixed |
|
2517 return; |
|
2518 |
|
2519 // test that if scheme does not start with an ALPHA, QUrl::isValid() returns false |
2516 // test that if scheme does not start with an ALPHA, QUrl::isValid() returns false |
2520 { |
2517 { |
2521 QUrl url("1http://qt.nokia.com", QUrl::StrictMode); |
2518 QUrl url("1http://qt.nokia.com", QUrl::StrictMode); |
2522 qDebug() << url; |
|
2523 QCOMPARE(url.isValid(), false); |
2519 QCOMPARE(url.isValid(), false); |
2524 } |
2520 } |
2525 { |
2521 { |
2526 QUrl url("http://qt.nokia.com"); |
2522 QUrl url("http://qt.nokia.com"); |
2527 url.setScheme("111http://qt.nokia.com"); |
2523 url.setScheme("111http://qt.nokia.com"); |