31 const std::size_t maxDoubleSize = DBL_MAX_10_EXP + 1 + 1 + 3 + 1;
32 char buffer[maxDoubleSize];
37 sprintf_s(buffer,
"%.3f", duration);
39 std::sprintf(buffer,
"%.3f", duration);
41 return std::string(buffer);
47 for (
auto&& filter : container)
std::string getExpandedExpression() const
auto str() const -> std::string
void prepareExpandedExpression(AssertionResult &result)
std::string serializeFilters(std::vector< std::string > const &container)
std::string getFormattedDuration(double duration)
bool assertionEnded(AssertionStats const &) override
static std::set< Verbosity > getSupportedVerbosities()
void assertionStarting(AssertionInfo const &) override
TestEventListenerBase(ReporterConfig const &_config)