![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <clientversion.h>#include <common/signmessage.h>#include <hash.h>#include <key.h>#include <script/parsing.h>#include <span.h>#include <sync.h>#include <test/util/common.h>#include <test/util/random.h>#include <test/util/setup_common.h>#include <uint256.h>#include <util/bitdeque.h>#include <util/byte_units.h>#include <util/fs.h>#include <util/fs_helpers.h>#include <util/moneystr.h>#include <util/overflow.h>#include <util/readwritefile.h>#include <util/strencodings.h>#include <util/string.h>#include <util/time.h>#include <util/vector.h>#include <array>#include <cmath>#include <cstdint>#include <cstring>#include <fstream>#include <limits>#include <map>#include <optional>#include <string>#include <thread>#include <univalue.h>#include <utility>#include <vector>#include <sys/types.h>#include <sys/wait.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Namespaces | |
| namespace | BCLog |
Macros | |
| #define | B "check_prefix" |
| #define | E "check_postfix" |
Enumerations | |
| enum | : char { ResSuccess = 2 , ResErrorWrite , ResErrorLock , ResUnlockSuccess } |
Variables | |
| static const std::string | STRING_WITH_EMBEDDED_NULL_CHAR {"1"s "\0" "1"s} |
| constexpr char | HEX_PARSE_INPUT [] = "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f" |
| constexpr uint8_t | HEX_PARSE_OUTPUT [] |
| static constexpr char | LockCommand = 'L' |
| static constexpr char | UnlockCommand = 'U' |
| static constexpr char | ExitCommand = 'X' |
| #define B "check_prefix" |
Definition at line 561 of file util_tests.cpp.
| #define E "check_postfix" |
Definition at line 562 of file util_tests.cpp.
| Enumerator | |
|---|---|
| ResSuccess | |
| ResErrorWrite | |
| ResErrorLock | |
| ResUnlockSuccess | |
Definition at line 1013 of file util_tests.cpp.
| int64_t atoi64_legacy | ( | const std::string & | str | ) |
Definition at line 767 of file util_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | checked_left_shift_test | ) |
| BOOST_AUTO_TEST_CASE | ( | clearshrink_test | ) |
| BOOST_AUTO_TEST_CASE | ( | consteval_hex_digit | ) |
Definition at line 229 of file util_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | message_hash | ) |
| BOOST_AUTO_TEST_CASE | ( | message_sign | ) |
| BOOST_AUTO_TEST_CASE | ( | message_verify | ) |
| BOOST_AUTO_TEST_CASE | ( | mib_string_literal_test | ) |
| BOOST_AUTO_TEST_CASE | ( | parse_hex | ) |
| BOOST_AUTO_TEST_CASE | ( | remove_prefix | ) |
Definition at line 1610 of file util_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | saturating_left_shift_test | ) |
| BOOST_AUTO_TEST_CASE | ( | span_write_bytes | ) |
| BOOST_AUTO_TEST_CASE | ( | strprintf_numbers | ) |
| BOOST_AUTO_TEST_CASE | ( | test_Capitalize | ) |
| BOOST_AUTO_TEST_CASE | ( | test_FormatParagraph | ) |
| BOOST_AUTO_TEST_CASE | ( | test_FormatSubVersion | ) |
| BOOST_AUTO_TEST_CASE | ( | test_IsDigit | ) |
| BOOST_AUTO_TEST_CASE | ( | test_LocaleIndependentAtoi | ) |
| BOOST_AUTO_TEST_CASE | ( | test_LockDirectory | ) |
| BOOST_AUTO_TEST_CASE | ( | test_LogEscapeMessage | ) |
| BOOST_AUTO_TEST_CASE | ( | test_ParseFixedPoint | ) |
| BOOST_AUTO_TEST_CASE | ( | test_script_parsing | ) |
| BOOST_AUTO_TEST_CASE | ( | test_SplitString | ) |
| BOOST_AUTO_TEST_CASE | ( | test_ToIntegral | ) |
| BOOST_AUTO_TEST_CASE | ( | test_ToIntegralHex | ) |
| BOOST_AUTO_TEST_CASE | ( | test_ToLower | ) |
| BOOST_AUTO_TEST_CASE | ( | test_ToUpper | ) |
| BOOST_AUTO_TEST_CASE | ( | test_tracked_vector | ) |
| BOOST_AUTO_TEST_CASE | ( | util_check | ) |
| BOOST_AUTO_TEST_CASE | ( | util_criticalsection | ) |
| BOOST_AUTO_TEST_CASE | ( | util_FormatISO8601Date | ) |
| BOOST_AUTO_TEST_CASE | ( | util_FormatISO8601DateTime | ) |
| BOOST_AUTO_TEST_CASE | ( | util_FormatMoney | ) |
| BOOST_AUTO_TEST_CASE | ( | util_FormatRFC1123DateTime | ) |
| BOOST_AUTO_TEST_CASE | ( | util_HexStr | ) |
| BOOST_AUTO_TEST_CASE | ( | util_IsHex | ) |
| BOOST_AUTO_TEST_CASE | ( | util_Join | ) |
| BOOST_AUTO_TEST_CASE | ( | util_mocktime | ) |
| BOOST_AUTO_TEST_CASE | ( | util_overflow | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ParseByteUnits | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ParseISO8601DateTime | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ParseMoney | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ReadBinaryFile | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ReplaceAll | ) |
| BOOST_AUTO_TEST_CASE | ( | util_seed_insecure_rand | ) |
| BOOST_AUTO_TEST_CASE | ( | util_ticksseconds | ) |
| BOOST_AUTO_TEST_CASE | ( | util_TimingResistantEqual | ) |
| BOOST_AUTO_TEST_CASE | ( | util_TrimString | ) |
Definition at line 312 of file util_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | util_WriteBinaryFile | ) |
Definition at line 1020 of file util_tests.cpp.
Definition at line 1012 of file util_tests.cpp.
|
constexpr |
Definition at line 144 of file util_tests.cpp.
Definition at line 145 of file util_tests.cpp.
Definition at line 1010 of file util_tests.cpp.
|
static |
Definition at line 62 of file util_tests.cpp.
Definition at line 1011 of file util_tests.cpp.