diff --git a/kdecore/tests/ksycocadicttest.cpp b/kdecore/tests/ksycocadicttest.cpp index 1e176e71..9f83672d 100644 --- a/kdecore/tests/ksycocadicttest.cpp +++ b/kdecore/tests/ksycocadicttest.cpp @@ -72,7 +72,7 @@ void KSycocaDictTest::testStandardDict() QDataStream stream(buffer); KSycocaDict loadingDict(&stream, 0); - int offset = loadingDict.find_string("Plasma/Applet); + int offset = loadingDict.find_string("Plasma/Applet"); QVERIFY(offset > 0); QCOMPARE(offset, KServiceType::serviceType("Plasma/Applet")->offset()); foreach(const QString& str, mimeTypes) { diff --git a/kio/tests/kfileitemtest.cpp b/kio/tests/kfileitemtest.cpp index cff94379..248f0f95 100644 --- a/kio/tests/kfileitemtest.cpp +++ b/kio/tests/kfileitemtest.cpp @@ -320,9 +320,9 @@ void KFileItemTest::testListProperties_data() QTest::newRow("dir+root dir") << "d/" << true << false << true << true << "inode/directory" << "inode"; QTest::newRow("two (text+html) files") << "ff" << true << true << true << false << "" << "text"; QTest::newRow("three (text+html+empty) files") << "fff" << true << true << true << false << "" << ""; - QTest::newRow("http url") << "h" << true << true /*says kio_http...*/ + QTest::newRow("http url") << "h" << true << false /*says kio_http...*/ << false << false << "application/octet-stream" << "application"; - QTest::newRow("2 http urls") << "hh" << true << true /*says kio_http...*/ + QTest::newRow("2 http urls") << "hh" << true << false /*says kio_http...*/ << false << false << "application/octet-stream" << "application"; } diff --git a/kio/tests/kfstest.cpp b/kio/tests/kfstest.cpp index 0f880af0..d2dbf90c 100644 --- a/kio/tests/kfstest.cpp +++ b/kio/tests/kfstest.cpp @@ -116,14 +116,6 @@ int main(int argc, char **argv) QStringList filter; filter << "all/allfiles" << "text/plain"; dlg->setMimeFilter( filter, "all/allfiles" ); -#if 0 // SPLIT-TODO - KUrlBar *urlBar = dlg->speedBar(); - if ( urlBar ) - { - urlBar->insertDynamicItem( KUrl("ftp://ftp.kde.org"), - QLatin1String("KDE FTP Server") ); - } -#endif if ( dlg->exec() == KDialog::Accepted ) name1 = dlg->selectedUrl().url(); } diff --git a/kio/tests/kioslavetest.cpp b/kio/tests/kioslavetest.cpp index d5bc3f27..2e27bf79 100644 --- a/kio/tests/kioslavetest.cpp +++ b/kio/tests/kioslavetest.cpp @@ -173,11 +173,11 @@ KioslaveTest::KioslaveTest( QString src, QString dest, uint op, uint pr ) setCentralWidget( main_widget ); slave = 0; -// slave = KIO::Scheduler::getConnectedSlave(KUrl("ftp://ftp.kde.org")); +// slave = KIO::Scheduler::getConnectedSlave(KUrl("ftp://ftp.gnu.org/")); KIO::Scheduler::connect(SIGNAL(slaveConnected(KIO::Slave*)), - this, SLOT(slotSlaveConnected())); + this, SLOT(slotSlaveConnected())); KIO::Scheduler::connect(SIGNAL(slaveError(KIO::Slave*,int,QString)), - this, SLOT(slotSlaveError())); + this, SLOT(slotSlaveError())); } void KioslaveTest::slotQuit(){ diff --git a/kio/tests/kurlrequestertest.cpp b/kio/tests/kurlrequestertest.cpp index 44ff65d9..1ddcc0f1 100644 --- a/kio/tests/kurlrequestertest.cpp +++ b/kio/tests/kurlrequestertest.cpp @@ -9,7 +9,7 @@ int main( int argc, char **argv ) KApplication app; app.setQuitOnLastWindowClosed(false); - KUrl url = KUrlRequesterDialog::getUrl( "ftp://ftp.kde.org" ); + KUrl url = KUrlRequesterDialog::getUrl( "ftp://ftp.gnu.org/" ); qDebug( "Selected url: %s", url.url().toLatin1().constData()); KUrlRequester *req = new KUrlRequester(); diff --git a/kio/tests/netaccesstest.cpp b/kio/tests/netaccesstest.cpp index 6533999a..7839e33d 100644 --- a/kio/tests/netaccesstest.cpp +++ b/kio/tests/netaccesstest.cpp @@ -28,7 +28,7 @@ int main(int argc, char **argv) { KCmdLineArgs::init(argc,argv, "netaccesstest", 0, ki18n("netaccesstest"), 0); KApplication app; - KUrl srcURL( "ftp://ftp.kde.org/pub/kde/README" ); + KUrl srcURL( "ftp://ftp.gnu.org/README" ); KUrl tmpURL( "file:/tmp/netaccesstest_README" ); for ( uint i = 0; i < 4 ; ++i ) {