PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
phoenix_assert.cpp
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : CeCILL-C
5
****************************************/
6
7
#include "
phoenix_assert.h
"
8
10
16
void
phoenix_assertFull
(
bool
isOk,
const
std::string & assertion,
const
std::string & fileName,
size_t
line,
const
std::string & functionName){
17
if
(!isOk){__assert_fail(assertion.c_str(), fileName.c_str(), line, functionName.c_str());}
18
}
19
20
21
phoenix_assertFull
void phoenix_assertFull(bool isOk, const std::string &assertion, const std::string &fileName, size_t line, const std::string &functionName)
Check if the assertion isOk is true, raise an assertion if isOk is false.
Definition:
phoenix_assert.cpp:16
phoenix_assert.h
tmp_project
StringUtils
src
phoenix_assert.cpp
Generated on Mon Dec 9 2024 15:33:41 for PhoenixMock by
1.8.17