Nepomuk-Core
testbase.cpp
Go to the documentation of this file.
63 // QTEST_KDEMAIN_WITH_COMPONENTNAME overwrites the XDG_CONFIG_HOME env variable with a custom value
66 KGlobal::dirs()->addResourceDir("config", QFile::encodeName( QDir::homePath() + QString::fromLatin1("/share/config") ) );
68 d->m_serviceManager = new org::kde::nepomuk::ServiceManager( "org.kde.NepomukServer", "/servicemanager", QDBusConnection::sessionBus() );
114 Soprano::QueryResultIterator it = model->executeQuery( query, Soprano::Query::QueryLanguageSparql );
void setServiceAutostarted(const QString &service, bool autostart)
Definition: testbase.cpp:198
void startServiceAndWait(const QString &service)
Definition: testbase.cpp:145
void waitForServiceInitialization(const QString &service)
Definition: testbase.cpp:132
bool isServiceRunning(const QString &name)
Definition: testbase.cpp:184
bool isServiceInitialized(const QString &name)
Definition: testbase.cpp:177
static ResourceManager * instance()
Definition: resourcemanager.cpp:270
bool isServiceAutostarted(const QString &service)
Definition: testbase.cpp:169
bool isServiceRunning(const KService::Ptr &ptr)
Definition: tools/nepomukctl/main.cpp:160
All Nepomuk unit tests are to be derived from this class.
Definition: testbase.h:46
The ResourceManager is the central Nepomuk configuration point.
Definition: resourcemanager.h:55
Soprano::Model * mainModel()
Retrieve the main data storage model.
Definition: resourcemanager.cpp:363
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.