8#ifndef BEAST_UNIT_TEST_MATCH_HPP
9#define BEAST_UNIT_TEST_MATCH_HPP
11#include <xrpl/beast/unit_test/suite_info.h>
48 template <
class =
void>
51 template <
class =
void>
60 : mode_(mode), pat_(pattern)
109 return pat_ == s.module() && !s.manual();
selector(mode_t mode, std::string const &pattern="")
bool operator()(suite_info const &s)
Associates a unit test type with metadata.
std::string full_name() const
Return the canonical suite name as a string.
bool manual() const
Returns true if this suite only runs manually.
std::string const & library() const
std::string const & module() const
std::string const & name() const
selector match_auto(std::string const &name)
Returns a predicate that implements a smart matching rule.
selector match_all()
Return a predicate that matches all suites not marked manual.
selector match_suite(std::string const &name)
Returns a predicate that matches a specific suite.
selector match_library(std::string const &name)
Returns a predicate that matches all suites in a library.