Carna
Version 3.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
test
Tools
TestSuite.h
1
/*
2
* Copyright (C) 2010 - 2015 Leonid Kostrykin
3
*
4
* Chair of Medical Engineering (mediTEC)
5
* RWTH Aachen University
6
* Pauwelsstr. 20
7
* 52074 Aachen
8
* Germany
9
*
10
*/
11
12
#pragma once
13
14
#include <QDebug>
15
#include <QtGlobal>
16
#include <iostream>
17
18
namespace
Carna
19
{
20
77
namespace
testing
78
{
79
80
81
82
// ----------------------------------------------------------------------------------
83
// EXPECT_ASSERTION_FAILURE
84
// ----------------------------------------------------------------------------------
85
86
#define EXPECT_ASSERTION_FAILURE( expression ) \
87
try \
88
{ \
89
expression; \
90
QFAIL( "Expected assertion failure did not raise upon expression." ); \
91
} \
92
catch( const Carna::base::AssertionFailure& ) \
93
{ \
94
}
95
96
97
98
}
// namespace Carna :: testing
99
100
}
// namespace Carna
101
102
using namespace
Carna::testing
;
Carna
Definition:
doc_CoordinateSystems.dox:1
Carna::testing
This namespace contains the test suite components.
Definition:
BufferedHUVolumeTest.h:19
Written by
Leonid Kostrykin
at the Chair of Medical Engineering (mediTEC), RWTH Aachen University
Documentation generated by
Doxygen