Skip to content

Commit

Permalink
More logging for test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Jan 17, 2024
1 parent 4494ec5 commit d05771a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/headless/tests/ForwardingParamStabilityTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d05771a

Please sign in to comment.