Nepomuk-Core
#include <Nepomuk/TestBase>

Public Slots | |
| QStringList | availableServices () | 
| bool | isServiceAutostarted (const QString &service) | 
| bool | isServiceInitialized (const QString &name) | 
| bool | isServiceRunning (const QString &name) | 
| QStringList | runningServices () | 
| void | setServiceAutostarted (const QString &service, bool autostart) | 
| bool | startService (const QString &name) | 
| void | startServiceAndWait (const QString &service) | 
| bool | stopService (const QString &name) | 
| void | waitForServiceInitialization (const QString &service) | 
Signals | |
| void | serviceInitialized (const QString &name) | 
Public Member Functions | |
| TestBase (QObject *parent=0) | |
| virtual | ~TestBase () | 
Protected Member Functions | |
| void | resetRepository () | 
Detailed Description
All Nepomuk unit tests are to be derived from this class.
It provides an interface to manage the services.
By default only these services are started -
- nepomukstorage
 - nepomukqueryservice
 
This class aditionally provides a mechanism to reeset the nepomuk repository to its original form.
Definition at line 46 of file testbase.h.
Constructor & Destructor Documentation
| Nepomuk2::TestBase::TestBase | ( | QObject * | parent = 0 | ) | 
Definition at line 50 of file testbase.cpp.
      
  | 
  virtual | 
Definition at line 88 of file testbase.cpp.
Member Function Documentation
      
  | 
  slot | 
Definition at line 162 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 169 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 177 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 184 of file testbase.cpp.
      
  | 
  protected | 
Definition at line 104 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 191 of file testbase.cpp.
      
  | 
  signal | 
      
  | 
  slot | 
Definition at line 198 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 203 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 145 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 210 of file testbase.cpp.
      
  | 
  slot | 
Definition at line 132 of file testbase.cpp.
The documentation for this class was generated from the following files:
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.
    KDE API Reference