From d05771a22e34ca618336fba7b483ec8f7767c118 Mon Sep 17 00:00:00 2001 From: jatin Date: Wed, 17 Jan 2024 12:44:00 -0800 Subject: [PATCH] More logging for test failures --- src/headless/tests/ForwardingParamStabilityTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/headless/tests/ForwardingParamStabilityTest.cpp b/src/headless/tests/ForwardingParamStabilityTest.cpp index 48e28cf0..8272cf3f 100644 --- a/src/headless/tests/ForwardingParamStabilityTest.cpp +++ b/src/headless/tests/ForwardingParamStabilityTest.cpp @@ -235,7 +235,10 @@ class ForwardingParamStabilityTest : public UnitTest fileDir.getChildFile ("test_" + juce::String { i } + ".txt")); }(); + juce::Logger::writeToLog ("Loading legacy state from file: " + stateFile.getFullPathName()); + jassert (stateFile.existsAsFile()); const auto stateXml = XmlDocument::parse (stateFile); + jassert (stateXml != nullptr); BYOD plugin; juce::MemoryBlock state; plugin.copyXmlToBinary (*stateXml, state);