43#include "Teuchos_toString.hpp"
50bool& showTestFailureLocationImpl()
52 static bool showTFL =
false;
Utilities to make writing tests easier.
Smart reference counting pointer class for automatic garbage collection.
TEUCHOSCORE_LIB_DLL_EXPORT const std::string passfail_with_location(const bool result, const std::string &file, const int lineNumber)
Helper function for TEUCHOS_PASS_FAIL(...).
bool showTestFailureLocation()
Return if TEUCHOS_PASS_FAIL(...) should print test failure location.
const std::string passfail(const bool result)
Return "passed" or "failed".
void showTestFailureLocation(bool)
Set if TEUCHOS_PASS_FAIL(...) should print test failure location.