Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkTestManager.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 #ifndef mitkTestManager_h
14 #define mitkTestManager_h
15 
16 #include <MitkCoreExports.h>
17 
18 namespace mitk
19 {
21  {
22  public:
23  TestManager() : m_FailedTests(0), m_PassedTests(0) {}
26  void Initialize();
30  void TestFailed();
32  void TestPassed();
33  virtual ~TestManager() {}
34  protected:
37  };
38 }
39 
40 #endif
#define MITKCORE_EXPORT
void TestPassed()
Tell manager a subtest passed.
void Initialize()
Must be called at the beginning of a test run.
virtual ~TestManager()
static TestManager * GetInstance()
void TestFailed()
Tell manager a subtest failed.
Find image slices visible on a given plane.