summaryrefslogtreecommitdiff
path: root/Source/UnitTests
AgeCommit message (Collapse)Author
2025-11-27Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFFJoshua Vandaële
This fixes a build error when `-DENABLE_TESTS=ON` and `-DUSE_RETRO_ACHIEVEMENTS=OFF` are both set together, since AchievementManager is also behind an ifdef.
2025-11-16Merge pull request #13689 from JosJuice/lock-core-any-threadJosJuice
Core: Let any thread call previously host-thread-only functions
2025-11-10Core: Remove IsHostThreadJosJuice
The core no longer cares which thread is the host thread. Cleaning up Android's HostThreadLock is left for another PR, in part because the HostThreadLock in NativeConfig.cpp still serves a purpose, and in part to make any issues easier to bisect.
2025-11-09Common: Add a DirectIOFile class that allows for copies which are entirely ↵Jordan Woyak
thread safe.
2025-11-08Merge pull request #14020 from jordan-woyak/string-util-cleanupsJosJuice
StringUtil: Cleanups and add some character encoding conversion unit tests.
2025-11-02Common: Add AtomicMutex and SpinMutex classes as faster alternatives to ↵Jordan Woyak
std::mutex.
2025-11-02UnitTests: Add some StringUtil character encoding conversion tests.Jordan Woyak
2025-10-08Jit64: Dynamic length of regular jump instruction (for known addresses)Martino Fontana
Conditional jumps already do that, so let's be consistent.
2025-09-26Merge pull request #13940 from iwubcode/glslang_updateJMC47
Externals / VideoCommon: update glslang to latest, turn into submodule
2025-09-23Externals / VideoCommon: update glslang to latest, turn into submoduleiwubcode
2025-09-17Merge pull request #13874 from sepalani/bitcast-ptrJMC47
Common/BitUtils: Add operator[] to BitCastPtrType
2025-08-27MathUtil: Simplify SaturatingCast implementation with ↵Jordan Woyak
std::cmp_less/cmp_greater and fix a floating point edge case. Thanks to Dentomologist for catching the edge case.
2025-08-18Common/BitUtils: Add operator[] to BitCastPtrTypeSepalani
2025-08-10Merge pull request #13846 from JoshuaVandaele/better-xcbTilka
Qt: Better wayland detection to enforce xcb
2025-08-04Qt: Better wayland detection to enforce xcbJoshua Vandaële
In certain cases, the platform can be "wayland-egl", "wayland-xcomposite", and other values for which I haven't found a full list yet. Instead of matching only "wayland", we now look for "wayland" anywhere in the `QT_QPA_PLATFORM` string in a case-insensitive manner. Acknowledgements: `CaseInsensitiveContains`' implementation was heavily inspired by GNU's non-standard glibc `strcasestr` function, which can be found here licensed under GPLv2 or later: https://ftp.gnu.org/gnu/libc/
2025-08-03Host: Remove unnecessary functionsDentomologist
Remove Host_RefreshDSPDebuggerWindow (which hasn't done anything since DolphinWX was removed in 44b22c90) and DSP::Host::UpdateDebugger (which only called Host_RefreshDSPDebuggerWindow).
2025-08-03Host: Remove unnecessary functionDentomologist
Remove Host_UpdateMainFrame(). The only non-empty call happened in DolphinNoGUI which called s_update_main_frame_event.Set(), but DolphinNoGUI never waits on that event.
2025-07-16Merge pull request #13783 from jordan-woyak/schedule-event-from-thread-fixJMC47
CoreTiming: Fix unsafe usage of m_globals.global_timer in ScheduleEvent from non-CPU thread.
2025-07-12Fix various warningsJoshua Vandaële
2025-06-29CoreTiming: Fix unsafe usage of m_globals.global_timer in ScheduleEvent from ↵Jordan Woyak
non-CPU thread.
2025-06-14Source: Remove redundant lambda parameter listsDr. Dystopia
2025-06-08Merge pull request #13676 from ↵JMC47
LillyJadeKatrin/retroachievements-allowlist-test-improvements RetroAchievements: Updated PatchAllowlistTest to generate new allowlist
2025-06-07Merge pull request #13023 from tygyh/Replace-ties-with-structured-bindingsJordan Woyak
UnitTests: Replace ties with structured bindings
2025-05-21RetroAchievements: Updated PatchAllowlistTest to generate new allowlistLillyJadeKatrin
Refactors the PatchAllowlistTest to streamline the experience for developers. Instead of a textual description of what needs to change in ApprovedInis.json for RetroAchievements compatibility, the test will now generate a replacement file and instruct the coder where to copy it in their local branch, and what to update APPROVED_LIST_HASH to. The result should be easier and more instructive for developers to make changes, while still maintaining that allowed codes cannot be added or modified without recompiling Dolphin. As ApprovedInis.json no longer needs to be user-readable for this process, it no longer contains titles or pretty formatting and as such is updated in this commit, hash included.
2025-05-18Merge pull request #13672 from ↵Jordan Woyak
tygyh/UnitTests/Remove-redundant-template-type-specifiers UnitTests: Remove redundant template type specifers
2025-05-18Merge pull request #13668 from tygyh/UnitTests/Core/Make-parameters-constantJordan Woyak
UnitTests/Core: Make parameters constant
2025-05-16UnitTests: Remove redundant template type specifersDr. Dystopia
2025-05-16Merge pull request #13666 from ↵Jordan Woyak
tygyh/UnitTests/PowerPC-Use-constant-functions-variables-parameters UnitTests/PowerPC: Use constant functions, variables and parameters
2025-05-16Merge pull request #13669 from ↵Jordan Woyak
tygyh/UnitTests/Common/Use-std-size-for-size-calculation UnitTests/Common: Use `std::size` for size calculation
2025-05-16UnitTests/Core: Remove unused includesDr. Dystopia
2025-05-16UnitTests/Core: Make parameters constantDr. Dystopia
2025-05-16UnitTests/Common: Use `std::size` for size calculationDr. Dystopia
2025-05-16UnitTests/PowerPC: Use constant functions, variables and parametersDr. Dystopia
2025-05-09Merge pull request #10766 from xperia64/dsp_format_funJMC47
DSP accelerator improvements
2025-05-07Merge pull request #13572 from ↵Jordan Woyak
tygyh/UnitTests-Remove-redundant-virtual-specifier UnitTests: Remove redundant `virtual` specifier
2025-05-07Merge pull request #13569 from tygyh/UnitTests-Use-constexprJordan Woyak
UnitTests: Use `constexpr`
2025-05-07Merge pull request #13571 from ↵Jordan Woyak
tygyh/VertexLoaderTest-Replace-std-tie-with-structured-bindings VertexLoaderTest: Replace `std::tie` with structured bindings
2025-04-30Merge pull request #13567 from ↵Jordan Woyak
tygyh/UnitTests-Rename-lambda-parameters-which-hide-previous-declarations UnitTests: Rename lambda parameters which hide previous declarations
2025-04-30UnitTests: Add tests for WorkQueueThread.Jordan Woyak
2025-04-25Merge pull request #13451 from vyuuui/numeric_labelsTilka
Add numeric label support to assembler
2025-04-25Use correct exceptions for d3 reads/writesxperia64
2025-04-25Fix DSPAcceleratorTestxperia64
2025-04-23UnitTests: Remove redundant `virtual` specifierDr. Dystopia
2025-04-23VertexLoaderTest: Replace `std::tie` with structured bindingsDr. Dystopia
2025-04-23UnitTests: Use `constexpr`Dr. Dystopia
2025-04-23UnitTests: Rename lambda parameters which hide previous declarationsDr. Dystopia
2025-04-22Common: SPSCQueue cleanups and improvements.Jordan Woyak
2025-03-24Add numeric label support to assemblervyuuui
2025-01-29Add a SplitPath unit test exercising Windows paths with drive lettersNiel Lebeck
2025-01-20Merge pull request #13204 from LillyJadeKatrin/retroachievements-allow-batchJosJuice
Gecko/AR Batch Approval