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);