mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: adjust kglobalsettings and kiconloader tests
This commit is contained in:
parent
8cb6298f30
commit
fc7e1941e9
2 changed files with 2 additions and 10 deletions
|
@ -63,12 +63,8 @@ void KGlobalSettingsTest::initTestCase()
|
|||
|
||||
static void callClient( const QString& opt, const char* signalToWaitFor ) {
|
||||
KProcess proc;
|
||||
if (QFile::exists("./kglobalsettingsclient.shell"))
|
||||
proc << "./kglobalsettingsclient.shell";
|
||||
else {
|
||||
QVERIFY(QFile::exists("./kglobalsettingsclient"));
|
||||
proc << "./kglobalsettingsclient";
|
||||
}
|
||||
QVERIFY(QFile::exists("./kdeui-kglobalsettingsclient"));
|
||||
proc << "./kdeui-kglobalsettingsclient";
|
||||
proc << opt;
|
||||
// kDebug() << proc.args();
|
||||
int ok = proc.execute();
|
||||
|
|
|
@ -169,10 +169,6 @@ private Q_SLOTS:
|
|||
// Now load kdialog again, to use the real kiconcache
|
||||
iconPath2 = appIconLoader.iconPath("kdialog", KIconLoader::User);
|
||||
QCOMPARE(iconPath, iconPath2);
|
||||
|
||||
appIconLoader.addAppDir( "khtml" );
|
||||
QString iconPathFail = appIconLoader.iconPath("fail", KIconLoader::User);
|
||||
QVERIFY( iconPathFail.endsWith( "khtml/pics/fail.xpm"));
|
||||
}
|
||||
|
||||
void testAppPicsDir_KIcon()
|
||||
|
|
Loading…
Add table
Reference in a new issue