Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryITestDescriptor.h
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 
18 #ifndef BERRYITESTDESCRIPTOR_H_
19 #define BERRYITESTDESCRIPTOR_H_
20 
21 #include <berryObject.h>
22 #include <berryMacros.h>
23 
24 #include <cppunit/Test.h>
25 
26 namespace berry {
27 
28 struct ITestDescriptor : public Object
29 {
31 
32  virtual CppUnit::Test* CreateTest() = 0;
33  virtual QString GetId() const = 0;
34  virtual QString GetContributor() const = 0;
35  virtual QString GetDescription() const = 0;
36 
37  virtual bool IsUITest() const = 0;
38 };
39 
40 }
41 
42 #endif /* BERRYITESTDESCRIPTOR_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
virtual QString GetContributor() const =0
virtual bool IsUITest() const =0
#define berryObjectMacro(...)
Definition: berryMacros.h:37
virtual QString GetDescription() const =0
virtual berryObjectMacro(berry::ITestDescriptor) virtual CppUnit QString GetId() const =0