mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
capture file/ line of test case - for reporting on uncaught exceptions
This commit is contained in:
@@ -286,6 +286,17 @@ public:
|
||||
m_message = message;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
void setFileAndLine
|
||||
(
|
||||
const std::string& filename,
|
||||
std::size_t line
|
||||
)
|
||||
{
|
||||
m_filename = filename;
|
||||
m_line = line;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template<typename RhsT>
|
||||
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator ||
|
||||
|
Reference in New Issue
Block a user