Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryBlueBerryTestDriver.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 BERRYBLUEBERRYTESTDRIVER_H_
19 #define BERRYBLUEBERRYTESTDRIVER_H_
20 
21 #include <org_blueberry_test_Export.h>
22 
23 #include "berryITestDescriptor.h"
24 
25 namespace berry
26 {
27 
33 class BERRY_TEST_EXPORT BlueBerryTestDriver
34 {
35 public:
36 
37  BlueBerryTestDriver(const QList<ITestDescriptor::Pointer>& descriptors, bool uitests = false, const QString& testName="", bool wait=false);
38 
39  int Run();
40 
41  static int Run(const QString& pluginId, bool uitests = false);
42 
43 protected:
44 
45  QList<ITestDescriptor::Pointer> descriptors;
46  bool uitests;
47  QString testName;
48  bool wait;
49 };
50 
51 }
52 
53 #endif /* BERRYBLUEBERRYTESTDRIVER_H_ */
QList< ITestDescriptor::Pointer > descriptors