35#ifndef NEKTAR_TESTS_METRICNOWARNING_H
36#define NEKTAR_TESTS_METRICNOWARNING_H
67 bool v_Test(std::istream &pStdout, std::istream &pStderr)
override;
68 void v_Generate(std::istream &pStdout, std::istream &pStderr)
override;
Base class for all metrics. Metric represents a test metric that can be used to evaluate the function...
std::vector< std::vector< std::string > > m_matches
static MetricSharedPtr create(TiXmlElement *metric, bool generate)
MetricNoWarning(TiXmlElement *metric, bool generate)
Constructor.
~MetricNoWarning() override
bool v_Test(std::istream &pStdout, std::istream &pStderr) override
Test if the output contains the warning message. If so, the test fails, otherwise,...
void v_Generate(std::istream &pStdout, std::istream &pStderr) override
Test if the output contains the warning message. If so, generate the .tst file.
std::regex m_regexWarning
std::shared_ptr< Metric > MetricSharedPtr
A shared pointer to an EquationSystem object.