summaryrefslogtreecommitdiff
path: root/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
diff options
context:
space:
mode:
authorkh <qtc-committer@nokia.com>2009-07-30 15:52:34 +0200
committerkh <qtc-committer@nokia.com>2009-07-30 15:52:34 +0200
commit20b6e316285efc8d8d46fee2dec13364187a64a9 (patch)
treea184367ba9f7eaa40ffa52128e0caec382b50c21 /tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
parent54ed2a3db855aab8219f9588e241d3110bdddfb1 (diff)
downloadqt4-tools-20b6e316285efc8d8d46fee2dec13364187a64a9.tar.gz
Fix autotests after QUrl change.
Reviewed-by: kh
Diffstat (limited to 'tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp')
-rw-r--r--tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
index 9482def1b3..3adb894ca7 100644
--- a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
+++ b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
@@ -185,11 +185,11 @@ void tst_QHelpIndexModel::linksForIndex()
QCOMPARE(map.count(), 2);
QCOMPARE(map.contains("Test Manual"), true);
QCOMPARE(map.value("Test Manual"),
- QUrl("qthelp://trolltech.com.1_0_0.test/testFolder/test.html#foo"));
+ QUrl("qthelp://trolltech.com.1-0-0.test/testFolder/test.html#foo"));
QCOMPARE(map.contains("Fancy"), true);
QCOMPARE(map.value("Fancy"),
- QUrl("qthelp://trolltech.com.1_0_0.test/testFolder/fancy.html#foo"));
+ QUrl("qthelp://trolltech.com.1-0-0.test/testFolder/fancy.html#foo"));
map = m->linksForKeyword("foobar");
QCOMPARE(map.count(), 1);
@@ -208,7 +208,7 @@ void tst_QHelpIndexModel::linksForIndex()
QCOMPARE(map.count(), 1);
QCOMPARE(map.contains("Test Manual"), true);
QCOMPARE(map.value("Test Manual"),
- QUrl("qthelp://trolltech.com.1_0_0.test/testFolder/test.html#foo"));
+ QUrl("qthelp://trolltech.com.1-0-0.test/testFolder/test.html#foo"));
}
QTEST_MAIN(tst_QHelpIndexModel)