• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • Nepomuk2
  • TestBase
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
Nepomuk2::TestBase Class Reference

#include <Nepomuk/TestBase>

Inheritance diagram for Nepomuk2::TestBase:
Inheritance graph
[legend]

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.

Author
Vishesh Handa handa.nosp@m..vis.nosp@m.h@gma.nosp@m.il.c.nosp@m.om

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.

Nepomuk2::TestBase::~TestBase ( )
virtual

Definition at line 88 of file testbase.cpp.

Member Function Documentation

QStringList Nepomuk2::TestBase::availableServices ( )
slot

Definition at line 162 of file testbase.cpp.

bool Nepomuk2::TestBase::isServiceAutostarted ( const QString &  service)
slot

Definition at line 169 of file testbase.cpp.

bool Nepomuk2::TestBase::isServiceInitialized ( const QString &  name)
slot

Definition at line 177 of file testbase.cpp.

bool Nepomuk2::TestBase::isServiceRunning ( const QString &  name)
slot

Definition at line 184 of file testbase.cpp.

void Nepomuk2::TestBase::resetRepository ( )
protected

Definition at line 104 of file testbase.cpp.

QStringList Nepomuk2::TestBase::runningServices ( )
slot

Definition at line 191 of file testbase.cpp.

void Nepomuk2::TestBase::serviceInitialized ( const QString &  name)
signal
void Nepomuk2::TestBase::setServiceAutostarted ( const QString &  service,
bool  autostart 
)
slot

Definition at line 198 of file testbase.cpp.

bool Nepomuk2::TestBase::startService ( const QString &  name)
slot

Definition at line 203 of file testbase.cpp.

void Nepomuk2::TestBase::startServiceAndWait ( const QString &  service)
slot

Definition at line 145 of file testbase.cpp.

bool Nepomuk2::TestBase::stopService ( const QString &  name)
slot

Definition at line 210 of file testbase.cpp.

void Nepomuk2::TestBase::waitForServiceInitialization ( const QString &  service)
slot

Definition at line 132 of file testbase.cpp.


The documentation for this class was generated from the following files:
  • testbase.h
  • testbase.cpp
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

KDE's Doxygen guidelines are available online.

Nepomuk-Core

Skip menu "Nepomuk-Core"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal