35#ifndef NEKTAR_TESTS_METRICNOWARNING_H
36#define NEKTAR_TESTS_METRICNOWARNING_H
39#include <boost/regex.hpp>
66 virtual bool v_Test(std::istream &pStdout, std::istream &pStderr);
67 virtual void v_Generate(std::istream &pStdout, std::istream &pStderr);
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)
virtual void v_Generate(std::istream &pStdout, std::istream &pStderr)
Test if the output contains the warning message. If so, generate the .tst file.
MetricNoWarning(TiXmlElement *metric, bool generate)
Constructor.
boost::regex m_regexWarning
virtual ~MetricNoWarning()
virtual bool v_Test(std::istream &pStdout, std::istream &pStderr)
Test if the output contains the warning message. If so, the test fails, otherwise,...
The above copyright notice and this permission notice shall be included.
std::shared_ptr< Metric > MetricSharedPtr
A shared pointer to an EquationSystem object.