rippled
Public Types | Public Member Functions | List of all members
beast::PropertyStream_test Class Reference
Inheritance diagram for beast::PropertyStream_test:
Inheritance graph
[legend]
Collaboration diagram for beast::PropertyStream_test:
Collaboration graph
[legend]

Public Types

using Source = PropertyStream::Source
 

Public Member Functions

void test_peel_name (std::string s, std::string const &expected, std::string const &expected_remainder)
 
void test_peel_leading_slash (std::string s, std::string const &expected, bool should_be_found)
 
void test_peel_trailing_slashstar (std::string s, std::string const &expected_remainder, bool should_be_found)
 
void test_find_one (Source &root, Source *expected, std::string const &name)
 
void test_find_path (Source &root, std::string const &path, Source *expected)
 
void test_find_one_deep (Source &root, std::string const &name, Source *expected)
 
void test_find (Source &root, std::string path, Source *expected, bool expected_star)
 
void run () override
 

Detailed Description

Definition at line 23 of file beast_PropertyStream_test.cpp.

Member Typedef Documentation

◆ Source

Definition at line 26 of file beast_PropertyStream_test.cpp.

Member Function Documentation

◆ test_peel_name()

void beast::PropertyStream_test::test_peel_name ( std::string  s,
std::string const &  expected,
std::string const &  expected_remainder 
)

Definition at line 29 of file beast_PropertyStream_test.cpp.

◆ test_peel_leading_slash()

void beast::PropertyStream_test::test_peel_leading_slash ( std::string  s,
std::string const &  expected,
bool  should_be_found 
)

Definition at line 48 of file beast_PropertyStream_test.cpp.

◆ test_peel_trailing_slashstar()

void beast::PropertyStream_test::test_peel_trailing_slashstar ( std::string  s,
std::string const &  expected_remainder,
bool  should_be_found 
)

Definition at line 67 of file beast_PropertyStream_test.cpp.

◆ test_find_one()

void beast::PropertyStream_test::test_find_one ( Source root,
Source expected,
std::string const &  name 
)

Definition at line 86 of file beast_PropertyStream_test.cpp.

◆ test_find_path()

void beast::PropertyStream_test::test_find_path ( Source root,
std::string const &  path,
Source expected 
)

Definition at line 101 of file beast_PropertyStream_test.cpp.

◆ test_find_one_deep()

void beast::PropertyStream_test::test_find_one_deep ( Source root,
std::string const &  name,
Source expected 
)

Definition at line 116 of file beast_PropertyStream_test.cpp.

◆ test_find()

void beast::PropertyStream_test::test_find ( Source root,
std::string  path,
Source expected,
bool  expected_star 
)

Definition at line 131 of file beast_PropertyStream_test.cpp.

◆ run()

void beast::PropertyStream_test::run ( )
override

Definition at line 151 of file beast_PropertyStream_test.cpp.