aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
AgeCommit message (Expand)Author
2023-04-03refactor: don't avoid sys/types.h on when building for Windowsfanquake
2023-03-23refactor: Move fs.* to util/fs.*TheCharlatan
2023-03-23refactor: Extract util/fs_helpers from util/systemBen Woosley
2023-02-27Merge bitcoin/bitcoin#25227: Handle invalid hex encoding in ParseHexfanquake
2023-02-27util: Return empty vector on invalid hex encodingMarcoFalke
2023-02-27test: Add hex parse unit testsMarcoFalke
2023-02-06Move random test util code from setup_common to randomJon Atack
2023-01-03refactor: use braced init for integer constants instead of c style castsPasta
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-11-14test: Split overly large util_tests.cpp fileMacroFake
2022-11-03Merge bitcoin/bitcoin#25248: refactor: Add LIFETIMEBOUND / -Wdangling-gsl to ...fanquake
2022-10-18test: Remove unused txmempool include from testsMacroFake
2022-10-01refactor: move Boost datetime usage to walletfanquake
2022-08-30Merge bitcoin/bitcoin#25733: tidy: enable bugprone-use-after-moveMacroFake
2022-08-30Merge bitcoin/bitcoin#25717: p2p: Implement anti-DoS headers syncfanquake
2022-08-30test: work around bugprone-use-after-move warnings in util testsfanquake
2022-08-24Make Join() util work with any container typeMacroFake
2022-08-23Add bitdeque, an std::deque<bool> analogue that does bit packing.Pieter Wuille
2022-08-19Remove Join() helper only used in testsMacroFake
2022-08-08test: Add test case for `ReplaceAll()` functionHennadii Stepanov
2022-08-02refactor: Add LIFETIMEBOUND / -Wdangling-gsl to Assert()MacroFake
2022-05-20Merge bitcoin/bitcoin#23595: util: Add ParseHex<std::byte>() helperlaanwj
2022-05-20Merge bitcoin/bitcoin#25101: Add mockable clock typefanquake
2022-05-18Add mockable clock type and TicksSinceEpoch helperMarcoFalke
2022-05-17refactor: use C++11 default initializersfanquake
2022-05-11Remove unused GetTimeSecondsMacroFake
2022-05-08Add time helpers for std::chrono::steady_clockMarcoFalke
2022-05-04Merge bitcoin/bitcoin#24852: util: optimize HexStrlaanwj
2022-05-04Extend Split to work with multiple separatorsMartin Leitner-Ankerl
2022-05-03Merge bitcoin/bitcoin#24470: Disallow more unsafe string->path conversions al...MacroFake
2022-04-27test: Add test for embedded null in hex stringMarcoFalke
2022-04-27Use std::string_view throughout util strencodings/stringPieter Wuille
2022-04-21Disallow more unsafe string->path conversions allowed by path append operatorsRyan Ofsky
2022-04-17test: Adds a test for HexStr that checks all 256 bytesMartin Leitner-Ankerl
2022-04-11test: add unit tests for `SplitString` helperKiminuo
2022-03-30util/check: stop using lambda for Assert/AssumeAnthony Towns
2022-03-10Merge bitcoin/bitcoin#24371: util: Fix `ReadBinaryFile` reading beyond maxsizeMarcoFalke
2022-02-22Merge bitcoin/bitcoin#24367: User-facing content and codebase doc fixups from...laanwj
2022-02-21Replace "can not" with "cannot" in docs, user messages, and testsJon Atack
2022-02-21util: Add SaturatingAdd helperMarcoFalke
2022-02-19util: Fix ReadBinaryFile reading beyond maxsizeklementtan
2022-02-04Re-enable util_datadir check disabled in #20744Ryan Ofsky
2022-02-03refactor: replace boost::filesystem with std::filesystemKiminuo
2022-01-11util: Restore GetIntArg saturating behaviorJames O'Beirne
2022-01-05Merge bitcoin/bitcoin#23411: refactor: Avoid integer overflow in ApplyStats w...MarcoFalke
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-17Move AdditionOverflow to util, Add CheckedAdd with unit testsMarcoFalke
2021-11-29More Span simplificationsPieter Wuille
2021-11-24Merge bitcoin/bitcoin#23451: span: Add std::byte helpersMarcoFalke
2021-11-17util: ParseByteUnits - Parse a string with suffix unit [k|K|m|M|g|G|t|T]Douglas Chimento