Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berryITestDescriptor.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef BERRYITESTDESCRIPTOR_H_
15 #define BERRYITESTDESCRIPTOR_H_
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
20 #include <cppunit/Test.h>
21 
22 namespace berry {
23 
24 struct ITestDescriptor : public Object
25 {
27 
28  virtual CppUnit::Test* CreateTest() = 0;
29  virtual QString GetId() const = 0;
30  virtual QString GetContributor() const = 0;
31  virtual QString GetDescription() const = 0;
32 
33  virtual bool IsUITest() const = 0;
34 };
35 
36 }
37 
38 #endif /* BERRYITESTDESCRIPTOR_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
virtual QString GetContributor() const =0
virtual bool IsUITest() const =0
#define berryObjectMacro(...)
Definition: berryMacros.h:33
virtual QString GetDescription() const =0
virtual berryObjectMacro(berry::ITestDescriptor) virtual CppUnit QString GetId() const =0