From 0dd282f626abd3c59a679e1c6a9494891d774473 Mon Sep 17 00:00:00 2001 From: xperia64 Date: Sat, 18 Jun 2022 19:29:36 -0400 Subject: Fix DSPAcceleratorTest --- Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp') diff --git a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp index a5e3302746..a78a09f5ad 100644 --- a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp +++ b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp @@ -17,7 +17,7 @@ public: { std::array coefs{}; m_accov_raised = false; - return Read(coefs.data()); + return ReadSample(coefs.data()); } bool EndExceptionRaised() const { return m_accov_raised; } -- cgit v1.2.3 From c7d8afc5a7b5fc312791eb751f36233f12a242db Mon Sep 17 00:00:00 2001 From: xperia64 Date: Sun, 19 Jun 2022 05:22:12 -0400 Subject: Use correct exceptions for d3 reads/writes --- Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp') diff --git a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp index a78a09f5ad..77963d7df0 100644 --- a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp +++ b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp @@ -23,7 +23,9 @@ public: bool EndExceptionRaised() const { return m_accov_raised; } protected: - void OnEndException() override + void OnRawReadEndException() override {} + void OnRawWriteEndException() override {} + void OnSampleReadEndException() override { EXPECT_TRUE(m_reads_stopped); m_accov_raised = true; -- cgit v1.2.3