rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
beast::unit_test::selector Class Reference

#include <match.h>

Collaboration diagram for beast::unit_test::selector:
Collaboration graph
[legend]

Public Types

enum  mode_t {
  all , automatch , suite , library ,
  module , none
}
 

Public Member Functions

template<class = void>
 selector (mode_t mode, std::string const &pattern="")
 
template<class = void>
bool operator() (suite_info const &s)
 

Private Attributes

mode_t mode_
 
std::string pat_
 
std::string library_
 

Detailed Description

Definition at line 16 of file match.h.

Member Enumeration Documentation

◆ mode_t

Enumerator
all 
automatch 
suite 
library 
module 
none 

Definition at line 19 of file match.h.

Constructor & Destructor Documentation

◆ selector()

template<class >
beast::unit_test::selector::selector ( mode_t  mode,
std::string const &  pattern = "" 
)
explicit

Definition at line 56 of file match.h.

Member Function Documentation

◆ operator()()

template<class >
bool beast::unit_test::selector::operator() ( suite_info const &  s)

Definition at line 65 of file match.h.

Member Data Documentation

◆ mode_

mode_t beast::unit_test::selector::mode_
private

Definition at line 40 of file match.h.

◆ pat_

std::string beast::unit_test::selector::pat_
private

Definition at line 41 of file match.h.

◆ library_

std::string beast::unit_test::selector::library_
private

Definition at line 42 of file match.h.