Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
CheckValueTest::Expect Struct Reference
Collaboration diagram for CheckValueTest::Expect:
[legend]

Public Member Functions

 Expect (common::SettingsValue s)
ExpectDefaultString ()
ExpectDefaultInt ()
ExpectDefaultBool ()
ExpectString (const char *s)
ExpectInt (int64_t i)
ExpectBool (bool b)
ExpectList (std::vector< std::string > m)
ExpectError (const char *e)

Public Attributes

common::SettingsValue setting
bool default_string = false
bool default_int = false
bool default_bool = false
const char * string_value = nullptr
std::optional< int64_t > int_value
std::optional< bool > bool_value
std::optional< std::vector< std::string > > list_value
const char * error = nullptr

Detailed Description

Definition at line 89 of file argsman_tests.cpp.

Constructor & Destructor Documentation

◆ Expect()

CheckValueTest::Expect::Expect ( common::SettingsValue s)
inlineexplicit

Definition at line 100 of file argsman_tests.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ Bool()

Expect & CheckValueTest::Expect::Bool ( bool b)
inline

Definition at line 106 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ DefaultBool()

Expect & CheckValueTest::Expect::DefaultBool ( )
inline

Definition at line 103 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ DefaultInt()

Expect & CheckValueTest::Expect::DefaultInt ( )
inline

Definition at line 102 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ DefaultString()

Expect & CheckValueTest::Expect::DefaultString ( )
inline

Definition at line 101 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ Error()

Expect & CheckValueTest::Expect::Error ( const char * e)
inline

Definition at line 108 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ Int()

Expect & CheckValueTest::Expect::Int ( int64_t i)
inline

Definition at line 105 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ List()

Expect & CheckValueTest::Expect::List ( std::vector< std::string > m)
inline

Definition at line 107 of file argsman_tests.cpp.

Here is the call graph for this function:

◆ String()

Expect & CheckValueTest::Expect::String ( const char * s)
inline

Definition at line 104 of file argsman_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bool_value

std::optional<bool> CheckValueTest::Expect::bool_value

Definition at line 96 of file argsman_tests.cpp.

◆ default_bool

bool CheckValueTest::Expect::default_bool = false

Definition at line 93 of file argsman_tests.cpp.

◆ default_int

bool CheckValueTest::Expect::default_int = false

Definition at line 92 of file argsman_tests.cpp.

◆ default_string

bool CheckValueTest::Expect::default_string = false

Definition at line 91 of file argsman_tests.cpp.

◆ error

const char* CheckValueTest::Expect::error = nullptr

Definition at line 98 of file argsman_tests.cpp.

◆ int_value

std::optional<int64_t> CheckValueTest::Expect::int_value

Definition at line 95 of file argsman_tests.cpp.

◆ list_value

std::optional<std::vector<std::string> > CheckValueTest::Expect::list_value

Definition at line 97 of file argsman_tests.cpp.

◆ setting

common::SettingsValue CheckValueTest::Expect::setting

Definition at line 90 of file argsman_tests.cpp.

◆ string_value

const char* CheckValueTest::Expect::string_value = nullptr

Definition at line 94 of file argsman_tests.cpp.


The documentation for this struct was generated from the following file: