Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

unit_test::match_auto

Returns a predicate that implements a smart matching rule.

Synopsis

Defined in header <boost/beast/_experimental/unit_test/match.hpp>

selector
match_auto(
    std::string const& name);
Description

The predicate checks the suite, module, and library fields of the suite_info in that order. When it finds a match, it changes modes depending on what was found: If a suite is matched first, then only the suite is selected. The suite may be marked manual.

If a module is matched first, then only suites from that module and library not marked manual are selected from then on.

If a library is matched first, then only suites from that library not marked manual are selected from then on.


PrevUpHomeNext