Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::BlueBerryTestDriver Class Reference

#include <berryBlueBerryTestDriver.h>

Public Member Functions

 BlueBerryTestDriver (const QList< ITestDescriptor::Pointer > &descriptors, bool uitests=false, const QString &testName="", bool wait=false)
 
int Run ()
 

Static Public Member Functions

static int Run (const QString &pluginId, bool uitests=false)
 

Protected Attributes

QList< ITestDescriptor::Pointerdescriptors
 
bool uitests
 
QString testName
 
bool wait
 

Detailed Description

A TestDriver for CppUnit that supports running tests inside BlueBerry as well as running standalone. Example call: TODO

Definition at line 33 of file berryBlueBerryTestDriver.h.

Constructor & Destructor Documentation

berry::BlueBerryTestDriver::BlueBerryTestDriver ( const QList< ITestDescriptor::Pointer > &  descriptors,
bool  uitests = false,
const QString &  testName = "",
bool  wait = false 
)

Definition at line 28 of file berryBlueBerryTestDriver.cpp.

Member Function Documentation

int berry::BlueBerryTestDriver::Run ( )

Definition at line 41 of file berryBlueBerryTestDriver.cpp.

References descriptors, and uitests.

Referenced by Run(), and berry::CoreTestApplication::Start().

int berry::BlueBerryTestDriver::Run ( const QString &  pluginId,
bool  uitests = false 
)
static

Definition at line 85 of file berryBlueBerryTestDriver.cpp.

References Run().

Member Data Documentation

QList<ITestDescriptor::Pointer> berry::BlueBerryTestDriver::descriptors
protected

Definition at line 45 of file berryBlueBerryTestDriver.h.

Referenced by Run().

QString berry::BlueBerryTestDriver::testName
protected

Definition at line 47 of file berryBlueBerryTestDriver.h.

bool berry::BlueBerryTestDriver::uitests
protected

Definition at line 46 of file berryBlueBerryTestDriver.h.

Referenced by Run().

bool berry::BlueBerryTestDriver::wait
protected

Definition at line 48 of file berryBlueBerryTestDriver.h.


The documentation for this class was generated from the following files: