![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
| struct | NoCopy |
Functions | |
| bool | operator== (const bilingual_str &a, const bilingual_str &b) |
| std::ostream & | operator<< (std::ostream &os, const bilingual_str &s) |
| bool | operator== (const NoCopy &a, const NoCopy &b) |
| std::ostream & | operator<< (std::ostream &os, const NoCopy &o) |
| util::Result< int > | IntFn (int i, bool success) |
| util::Result< bilingual_str > | StrFn (bilingual_str s, bool success) |
| util::Result< NoCopy > | NoCopyFn (int i, bool success) |
| template<typename T> | |
| void | ExpectResult (const util::Result< T > &result, bool success, const bilingual_str &str) |
| template<typename T, typename... Args> | |
| void | ExpectSuccess (const util::Result< T > &result, const bilingual_str &str, Args &&... args) |
| template<typename T, typename... Args> | |
| void | ExpectFail (const util::Result< T > &result, const bilingual_str &str) |
| BOOST_AUTO_TEST_CASE (check_returned) | |
| BOOST_AUTO_TEST_CASE (check_value_or) | |
| BOOST_AUTO_TEST_CASE | ( | check_returned | ) |
| BOOST_AUTO_TEST_CASE | ( | check_value_or | ) |
| void ExpectFail | ( | const util::Result< T > & | result, |
| const bilingual_str & | str ) |
Definition at line 72 of file result_tests.cpp.
| void ExpectResult | ( | const util::Result< T > & | result, |
| bool | success, | ||
| const bilingual_str & | str ) |
Definition at line 55 of file result_tests.cpp.
| void ExpectSuccess | ( | const util::Result< T > & | result, |
| const bilingual_str & | str, | ||
| Args &&... | args ) |
Definition at line 62 of file result_tests.cpp.
| util::Result< int > IntFn | ( | int | i, |
| bool | success ) |
Definition at line 36 of file result_tests.cpp.
| util::Result< NoCopy > NoCopyFn | ( | int | i, |
| bool | success ) |
Definition at line 48 of file result_tests.cpp.
|
inline |
Definition at line 14 of file result_tests.cpp.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const NoCopy & | o ) |
Definition at line 31 of file result_tests.cpp.
|
inline |
Definition at line 9 of file result_tests.cpp.
Definition at line 26 of file result_tests.cpp.
| util::Result< bilingual_str > StrFn | ( | bilingual_str | s, |
| bool | success ) |
Definition at line 42 of file result_tests.cpp.