mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
APVTS: Give AudioProcessorParameterGroups used in unit tests unique IDs to avoid an assertion in debug builds
This commit is contained in:
parent
473fc357bb
commit
66311c798f
1 changed files with 2 additions and 2 deletions
|
|
@ -696,10 +696,10 @@ public:
|
|||
beginTest ("After construction, the value tree has the expected format");
|
||||
{
|
||||
TestAudioProcessor proc ({
|
||||
std::make_unique<AudioProcessorParameterGroup> ("", "", "",
|
||||
std::make_unique<AudioProcessorParameterGroup> ("A", "", "",
|
||||
std::make_unique<AudioParameterBool> ("a", "", false),
|
||||
std::make_unique<AudioParameterFloat> ("b", "", NormalisableRange<float>{}, 0.0f)),
|
||||
std::make_unique<AudioProcessorParameterGroup> ("", "", "",
|
||||
std::make_unique<AudioProcessorParameterGroup> ("B", "", "",
|
||||
std::make_unique<AudioParameterInt> ("c", "", 0, 1, 0),
|
||||
std::make_unique<AudioParameterChoice> ("d", "", StringArray { "foo", "bar" }, 0)) });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue