Home
last modified time | relevance | path

Searched refs:capturedExpression (Results 1 – 9 of 9) sorted by relevance

/external/catch2/include/internal/
Dcatch_assertionresult.cpp48 return !m_info.capturedExpression.empty(); in hasExpression()
57 std::string expr; expr.reserve(m_info.capturedExpression.size() + 3); in getExpression()
61 expr += m_info.capturedExpression; in getExpression()
71 expr = static_cast<std::string>(m_info.capturedExpression); in getExpressionInMacro()
73 expr.reserve( m_info.macroName.size() + m_info.capturedExpression.size() + 4 ); in getExpressionInMacro()
76 expr += m_info.capturedExpression; in getExpressionInMacro()
Dcatch_assertionhandler.cpp58 StringRef capturedExpression, in AssertionHandler() argument
60 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition }, in AssertionHandler()
Dcatch_assertioninfo.h21 StringRef capturedExpression; member
Dcatch_assertionhandler.h54 StringRef capturedExpression,
Dcatch_run_context.cpp173 m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr; in resetAssertionInfo()
/external/catch2/examples/
D210-Evt-EventListeners.cpp221 os << ws(level+1) << "- capturedExpression: '" << info.capturedExpression << "'\n" in print()
/external/bcc/tests/cc/
Dcatch.hpp837 std::string capturedExpression; member
1224 char const* capturedExpression,
6123 m_lastAssertionInfo.capturedExpression.c_str(), in makeUnexpectedResultBuilder()
7229 capturedExpression( _capturedExpression ), in AssertionInfo()
7257 return !m_info.capturedExpression.empty(); in hasExpression()
7266 return "!" + m_info.capturedExpression; in getExpression()
7268 return m_info.capturedExpression; in getExpression()
7272 return m_info.capturedExpression; in getExpressionInMacro()
7274 return m_info.macroName + "( " + m_info.capturedExpression + " )"; in getExpressionInMacro()
8156 …std::string capturedExpressionWithSecondArgument( std::string const& capturedExpression, std::stri… in capturedExpressionWithSecondArgument() argument
[all …]
/external/catch2/single_include/catch2/
Dcatch.hpp1393 StringRef capturedExpression; member
2532 StringRef capturedExpression,
8182 StringRef capturedExpression, in AssertionHandler() argument
8184 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition }, in AssertionHandler()
8287 return !m_info.capturedExpression.empty(); in hasExpression()
8296 std::string expr; expr.reserve(m_info.capturedExpression.size() + 3); in getExpression()
8300 expr += m_info.capturedExpression; in getExpression()
8310 expr = static_cast<std::string>(m_info.capturedExpression); in getExpressionInMacro()
8312 expr.reserve( m_info.macroName.size() + m_info.capturedExpression.size() + 4 ); in getExpressionInMacro()
8315 expr += m_info.capturedExpression; in getExpressionInMacro()
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp1396 StringRef capturedExpression; member
2554 StringRef capturedExpression,
8237 StringRef capturedExpression, in AssertionHandler() argument
8239 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition }, in AssertionHandler()
8342 return !m_info.capturedExpression.empty(); in hasExpression()
8351 std::string expr; expr.reserve(m_info.capturedExpression.size() + 3); in getExpression()
8355 expr += m_info.capturedExpression; in getExpression()
8365 expr = static_cast<std::string>(m_info.capturedExpression); in getExpressionInMacro()
8367 expr.reserve( m_info.macroName.size() + m_info.capturedExpression.size() + 4 ); in getExpressionInMacro()
8370 expr += m_info.capturedExpression; in getExpressionInMacro()
[all …]