dolphin/Source/UnitTests/Common
Niel Lebeck 36cdb4a544 Eliminate SettingsHandler's SetBytes and Reset methods
Also make the `Decrypt` method private.

As far as I can tell, the only motivation for exposing the `SetBytes`
and `Reset` methods is to allow `CBoot::SetupWiiMemory` to use the same
`SettingsHandler` instance to read settings data and then write it back.
It seems cleaner to just use two separate instances, and require a given
`SettingsHandler` instance to be used for either writing data to a
buffer or reading data from a buffer, but not both.

A natural next step is to split the `SettingsHandler` class into two
classes, one for writing data and one for reading data. I've deferred
that change for a future PR.
2024-04-23 17:19:01 -07:00
..
Crypto Crypto/SHA1: add unittests 2022-07-27 01:07:48 -07:00
Arm64EmitterTest.cpp JitArm64: Add utility for calling a function with arguments 2023-11-01 19:01:58 +01:00
AssemblerTest.cpp Added tests 2023-12-13 05:32:47 -08:00
BitFieldTest.cpp Make all fmt::formatter constructors constexpr 2022-01-13 11:11:08 -08:00
BitSetTest.cpp BitSet64: Fix iterator incrementation 2024-01-01 00:41:48 -08:00
BitUtilsTest.cpp Replace BitUtils with C++20: RotateLeft/RotateRight 2022-12-11 08:59:18 +01:00
BlockingLoopTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
BusyLoopTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CMakeLists.txt Add simple unit tests for SettingsHandler 2024-03-01 20:52:45 -08:00
CommonFuncsTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
EnumFormatterTest.cpp Make all fmt::formatter constructors constexpr 2022-01-13 11:11:08 -08:00
EventTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FileUtilTest.cpp Add unit test for File::CreateFullPath(). 2023-02-15 02:56:10 +01:00
FixedSizeQueueTest.cpp Common: Move FixedSizeQueue into Common namespace 2023-03-22 01:23:15 -04:00
FlagTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FloatUtilsTest.cpp FloatUtilsTest: Resolve -Wsign-compare warning 2023-12-11 18:08:52 -05:00
MathUtilTest.cpp Common/MathUtil: Move IntLog2 into MathUtil namespace 2023-04-15 03:35:05 -04:00
NandPathsTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SettingsHandlerTest.cpp Eliminate SettingsHandler's SetBytes and Reset methods 2024-04-23 17:19:01 -07:00
SPSCQueueTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
StringUtilTest.cpp StringUtil: Move GetEscapedHtml() into Common namespace 2023-05-16 14:21:19 -04:00
SwapTest.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
x64EmitterTest.cpp X64EmitterTest: Check bytes instead of disassembly in JMP test 2023-08-05 13:51:42 -07:00