aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
AgeCommit message (Expand)Author
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
2021-11-09span: Add std::byte helpersMarcoFalke
2021-10-15Merge bitcoin/bitcoin#22937: refactor: Forbid calling unsafe fs::path(std::st...W. J. van der Laan
2021-10-06test: Add ParseMoney and ParseScript testsMarcoFalke
2021-10-05refactor: Block unsafe fs::path std::string conversion callsRussell Yanofsky
2021-10-04Merge bitcoin/bitcoin#23156: refactor: Remove unused ParsePrechecks and Parse...MarcoFalke
2021-10-04Remove unused ParseDouble and ParsePrechecksMarcoFalke
2021-10-01refactor: Remove unused ParsePrechecks from ParseIntegralMarcoFalke
2021-09-30Replace use of locale dependent atoi(…) with locale-independent std::from_c...practicalswift
2021-09-30Merge bitcoin/bitcoin#20457: util: Make Parse{Int,UInt}{32,64} use locale ind...W. J. van der Laan
2021-09-18util: Introduce ToIntegral<T>(const std::string&) for locale independent pars...practicalswift
2021-09-27scripted-diff: Rename overloaded int GetArg to GetIntArgRussell Yanofsky
2021-09-02tests: Add TrimString(...) testspracticalswift
2021-08-04util: check MoneyRange() inside ParseMoney()fanquake
2021-08-04util: make ParseMoney return a std::optional<CAmount>fanquake
2021-06-04util: Properly handle -noincludeconf on command lineMarcoFalke
2021-05-31scripted-diff: rename GetSystemTimeInSeconds to GetTimeSecondsfanquake
2021-05-24scripted-diff: Change `ArgsManager.GetDataDirPath()` to `ArgsManager.GetDataD...Kiminuo
2021-05-09test: ParseFixedPoint with 3 decimals for sat/vB fee ratesJon Atack
2021-04-18Change ClearDataDirPathCache() to ArgsManager.ClearPathCache().Kiminuo
2021-04-18scripted-diff: Modify unit tests to use the ArgsManager in the BasicTestingSe...Kiminuo
2021-04-18Modify "util_datadir" unit test to not use gArgs.Kiminuo
2021-04-17Move GetDataDir(fNetSpecific) implementation to ArgsManager.Kiminuo
2021-04-13refactor: add [[noreturn]] attribute where applicablefanquake
2021-03-22Merge #21317: util: Make Assume() usable as unary expressionMarcoFalke
2021-03-21test: remove duplicate assertions in util_testsJon Atack
2021-03-19test: add ParseUInt16() test coverageJon Atack
2021-03-17Merge #21415: refactor: remove Optional & nulloptWladimir J. van der Laan
2021-03-17refactor: post Optional<> removal cleanupsfanquake
2021-03-15refactor: reuse test string with embedded null char in util_testsJon Atack
2021-03-15test: add ParseUInt8() unit and fuzz test coverageJon Atack
2021-03-15scripted-diff: remove Optional & nulloptfanquake
2021-03-11scripted-diff: remove MakeUnique<T>()fanquake
2021-03-04util: Make Assume() usable as unary expressionMarcoFalke
2021-03-02util: Avoid invalid integer negation in FormatMoney: make FormatMoney(const C...practicalswift