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
mitkTestManager.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
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
#include "
mitkTestManager.h
"
17
18
mitk::TestManager
*
mitk::TestManager::GetInstance
()
19
{
20
static
mitk::TestManager
instance;
21
return
&instance;
22
}
23
24
void
mitk::TestManager::Initialize
()
25
{
26
m_FailedTests = 0;
27
m_PassedTests = 0;
28
}
29
int
mitk::TestManager::NumberOfFailedTests
()
30
{
31
return
m_FailedTests;
32
}
33
34
int
mitk::TestManager::NumberOfPassedTests
()
35
{
36
return
m_PassedTests;
37
}
38
void
mitk::TestManager::TestFailed
()
39
{
40
m_FailedTests++;
41
}
42
void
mitk::TestManager::TestPassed
()
43
{
44
m_PassedTests++;
45
}
mitk::TestManager::NumberOfFailedTests
int NumberOfFailedTests()
Definition:
mitkTestManager.cpp:29
mitk::TestManager::Initialize
void Initialize()
Must be called at the beginning of a test run.
Definition:
mitkTestManager.cpp:24
mitk::TestManager::GetInstance
static TestManager * GetInstance()
Definition:
mitkTestManager.cpp:18
mitk::TestManager
Definition:
mitkTestManager.h:24
mitk::TestManager::TestFailed
void TestFailed()
Tell manager a subtest failed.
Definition:
mitkTestManager.cpp:38
mitkTestManager.h
mitk::TestManager::NumberOfPassedTests
int NumberOfPassedTests()
Definition:
mitkTestManager.cpp:34
mitk::TestManager::TestPassed
void TestPassed()
Tell manager a subtest passed.
Definition:
mitkTestManager.cpp:42
git
MITK
Modules
Core
src
Controllers
mitkTestManager.cpp
Generated on Fri Feb 3 2017 20:52:09 for Medical Imaging Interaction Toolkit by
1.8.9.1