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

#include <berryUITestApplication.h>

Inheritance diagram for berry::UITestApplication:
Collaboration diagram for berry::UITestApplication:

Public Member Functions

 UITestApplication ()
 
int Start ()
 
void Stop ()
 
void RunTests ()
 
- Public Member Functions inherited from berry::IApplication
virtual ~IApplication ()
 
virtual QVariant Start (IApplicationContext *context)=0
 

Additional Inherited Members

- Static Public Attributes inherited from berry::IApplication
static const int EXIT_OK
 
static const int EXIT_RESTART
 
static const int EXIT_RELAUNCH
 

Detailed Description

Definition at line 30 of file berryUITestApplication.h.

Constructor & Destructor Documentation

berry::UITestApplication::UITestApplication ( )

Definition at line 69 of file berryUITestApplication.cpp.

Member Function Documentation

void berry::UITestApplication::RunTests ( )

Definition at line 110 of file berryUITestApplication.cpp.

int berry::UITestApplication::Start ( )

Definition at line 74 of file berryUITestApplication.cpp.

References BERRY_ERROR, and berry::IApplication::EXIT_OK.

void berry::UITestApplication::Stop ( )
virtual

Forces this running application to exit. This method should wait until the running application is ready to exit. The start() should already have exited or should exit very soon after this method exits

This method is only called to force an application to exit. This method will not be called if an application exits normally from the start() method.

Note: This method is called by the platform; it is not intended to be called directly by clients.

Implements berry::IApplication.

Definition at line 100 of file berryUITestApplication.cpp.

References berry::IWorkbench::GetDisplay(), berry::PlatformUI::GetWorkbench(), and berry::Display::SyncExec().


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