![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <common/settings.h>#include <test/util/setup_common.h>#include <test/util/str.h>#include <boost/test/unit_test.hpp>#include <common/args.h>#include <univalue.h>#include <util/chaintype.h>#include <util/fs.h>#include <util/strencodings.h>#include <util/string.h>#include <fstream>#include <map>#include <string>#include <system_error>#include <vector>Go to the source code of this file.
Classes | |
| struct | MergeTestingSetup |
Functions | |
| bool | operator== (const common::SettingsValue &a, const common::SettingsValue &b) |
| std::ostream & | operator<< (std::ostream &os, const common::SettingsValue &value) |
| std::ostream & | operator<< (std::ostream &os, const std::pair< std::string, common::SettingsValue > &kv) |
| void | WriteText (const fs::path &path, const std::string &text) |
| BOOST_AUTO_TEST_CASE (ReadWrite) | |
| static void | CheckValues (const common::Settings &settings, const std::string &single_val, const std::string &list_val) |
| Check settings struct contents against expected json strings. | |
| BOOST_AUTO_TEST_CASE (Simple) | |
| BOOST_AUTO_TEST_CASE (NullOverride) | |
| BOOST_FIXTURE_TEST_CASE (Merge, MergeTestingSetup) | |
| template<typename T> | |
| std::string | ToString (const T &t) |
| Locale-independent version of std::to_string. | |
| BOOST_AUTO_TEST_CASE | ( | NullOverride | ) |
Definition at line 137 of file settings_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | ReadWrite | ) |
| BOOST_AUTO_TEST_CASE | ( | Simple | ) |
Definition at line 115 of file settings_tests.cpp.
| BOOST_FIXTURE_TEST_CASE | ( | Merge | , |
| MergeTestingSetup | ) |
Definition at line 180 of file settings_tests.cpp.
|
static |
Check settings struct contents against expected json strings.
Definition at line 103 of file settings_tests.cpp.
|
inline |
|
inline |
Definition at line 37 of file settings_tests.cpp.
|
inline |
| std::string util::ToString | ( | const T & | t | ) |
|
inline |