Add reason for test failing

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1098017
wilder-portage
Kurt Hindenburg 16 years ago
parent 242fa8697c
commit d0384133f5
  1. 5
      src/tests/DBusTest.cpp

@ -73,8 +73,9 @@ void DBusTest::initTestCase()
_interfaceName = service;
}
if (_interfaceName.isEmpty())
kFatal() << "No services matching " << interfaceName << " were found.";
if (_interfaceName.isEmpty()) {
kFatal() << "This test will only work in a Konsole window with a new PID. A new Konsole PID can't be found.";
}
//kDebug()<< "Using service: " + _interfaceName.toLatin1();
_iface = new QDBusInterface(_interfaceName,

Loading…
Cancel
Save