summaryrefslogtreecommitdiff
path: root/Source/UnitTests
AgeCommit message (Collapse)Author
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
2025-01-06Fix several minor warningsSintendo
2024-12-26Add some unit test coverage of the SplitPath functionNiel Lebeck
2024-12-10Add ReadVerified testing to PatchAllowlistTestLillyJadeKatrin
New code adds a test failure if there's a Patches/Gecko/AR_Retroachievements_Verified code that doesn't appear to actually exist in the file. This will catch if the allowed patch is formatted wrong, which I found happening several times already due to not realizing that the patch author's name would need to be omitted.
2024-11-29Add Gecko and AR codes to the Patch Allowlist TestLillyJadeKatrin
2024-11-15GDBStub: Signal Breakpoint Changes To Hostmitaclaw
2024-10-30Merge pull request #13147 from mitaclaw/jit-block-table-model-fixJMC47
JitBlockTableModel: Catch All Block Invalidating Events (I Hope)
2024-10-27Merge pull request #12744 from nlebeck/settingshandler-split-2JMC47
Split `SettingsHandler` into separate reader and writer classes
2024-10-23Host: Rename `JitCacheInvalidation`mitaclaw
There are two hard problems in computer science...
2024-10-22Add missing algorithm header in SettingsHandlerTest.cppAdmiral H. Curtiss
2024-10-21Split `SettingsHandler` into separate reader and writer classesNiel Lebeck
2024-10-19DolphinQt: JIT Widget Refreshmitaclaw
Fulfilling a certain six-year-old todo.
2024-10-19JITs: Add GetMemoryStats Functionmitaclaw
Using the updated rangeset library
2024-10-19JITs: Add EraseSingleBlock Functionmitaclaw
2024-10-15Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivialJosJuice
Ranges Algorithms Modernization - Trivial
2024-10-12Cache normals in addition to binormals and tangentsPokechu22
Fixes LIT (https://bugs.dolphin-emu.org/issues/13635). The text does not include normals, but has lighting enabled. With the previous default of (0, 0, 0), lighting was always black (as dot(X, (0, 0, 0)) is always 0). It seems like the normal from the map in the background (0, 0, 1) is re-used. LIT also has the vertex color enabled while vertex color is not specified, the same as SMS's debug cubes; the default MissingColorValue GameINI value of solid white seems to work correctly in this case.
2024-10-10Modernize `std::equal` with rangesmitaclaw
2024-10-10Modernize `std::count` with rangesmitaclaw
2024-09-22StringUtil: Remove `JoinStrings`mitaclaw
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
2024-08-22Add support for libfmt-11Alfred Wingate
fmt::join was moved into fmt/ranges.h Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-08-20Replace ties with structured bindings - UnitTestsDr. Dystopia
2024-08-17UnitTests: Remove MSBuild input/output trackingJosJuice
Input/output tracking is intended to speed up incremental builds by skipping a target when it doesn't need to be built. However, this seems to be unreliable for UnitTests' AfterBuild target. Let's remove it. It's still the case that UnitTests' AfterBuild target will be skipped if UnitTests doesn't need to be rebuilt. (Note that UnitTests always needs to be rebuilt if SCMRevGen changed.) I haven't seen these problems with DolphinQt's rather similar input/output tracking. This may be because DolphinQt's one also has the exe file as an input/output.
2024-08-16UnitTests: Delete output Sys folder before copying to itJosJuice
Like the previous commit, but for UnitTests. This time all operating systems were affected. I also made UnitTests.vcxproj use the same way of copying as DolphinQt.vcxproj, just for consistency.
2024-08-16Merge pull request #13015 from tygyh/Use-boolean-literalsTilka
Replace boolean constants with boolean literals