Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryCoreTestApplication.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
berryCoreTestApplication.h
"
18
19
#include <
berryPlatform.h
>
20
#include <
berryLog.h
>
21
22
#include "
berryBlueBerryTestDriver.h
"
23
24
namespace
berry
{
25
26
CoreTestApplication::CoreTestApplication
()
27
{
28
29
}
30
31
CoreTestApplication::CoreTestApplication
(
const
CoreTestApplication
& other)
32
: QObject()
33
{
34
Q_UNUSED(other)
35
}
36
37
int
CoreTestApplication::Start
() {
38
std::string testPlugin;
39
try
{
40
testPlugin = Platform::GetConfiguration().getString(Platform::ARG_TESTPLUGIN.toStdString());
41
}
42
catch
(
const
Poco::NotFoundException&
/*e*/
)
43
{
44
BERRY_ERROR
<<
"You must specify a test plug-in id via "
<< Platform::ARG_TESTPLUGIN <<
"=<id>"
;
45
return
1;
46
}
47
48
return
BlueBerryTestDriver::Run
(QString::fromStdString(testPlugin));
49
}
50
51
void
CoreTestApplication::Stop
() {
52
53
}
54
55
}
berry
Definition:
QmitkPropertyItemModel.h:27
berryLog.h
berry::BlueBerryTestDriver::Run
int Run()
Definition:
berryBlueBerryTestDriver.cpp:41
berry::CoreTestApplication::CoreTestApplication
CoreTestApplication()
Definition:
berryCoreTestApplication.cpp:26
berryBlueBerryTestDriver.h
BERRY_ERROR
#define BERRY_ERROR
Definition:
berryLog.h:26
berry::CoreTestApplication::Start
int Start()
Definition:
berryCoreTestApplication.cpp:37
berry::CoreTestApplication::Stop
void Stop()
Definition:
berryCoreTestApplication.cpp:51
berry::CoreTestApplication
Definition:
berryCoreTestApplication.h:27
berryPlatform.h
berryCoreTestApplication.h
git
MITK
Plugins
org.blueberry.test
src
berryCoreTestApplication.cpp
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1