@@ -52,7 +52,7 @@ class LoopingMidiNodeTests : public juce::UnitTest
5252private:
5353 // ==============================================================================
5454 // ==============================================================================
55- void runMidiTests (test_utilities::TestSetup ts)
55+ void runMidiTests (graph:: test_utilities::TestSetup ts)
5656 {
5757 beginTest (" Setup" );
5858
@@ -62,7 +62,7 @@ class LoopingMidiNodeTests : public juce::UnitTest
6262
6363 auto r = ts.random ;
6464 const auto duration = edit->tempoSequence .toTime ({ 4 , 0_bd });
65- const auto seq = test_utilities::createRandomMidiMessageSequence (duration.inSeconds (), r);
65+ const auto seq = graph:: test_utilities::createRandomMidiMessageSequence (duration.inSeconds (), r);
6666
6767 // Add sequnce and loop randomly in the first and last of the 4 bars (16 beats)
6868 auto mc = getAudioTracks (*edit)[0 ]->insertMIDIClip ({ 0_tp, duration }, nullptr );
@@ -96,7 +96,7 @@ class LoopingMidiNodeTests : public juce::UnitTest
9696 testMidiClip (*mc, ts);
9797 }
9898
99- void runStuckNotesTests (test_utilities::TestSetup ts, bool usesProxy, int numLoopIterations)
99+ void runStuckNotesTests (graph:: test_utilities::TestSetup ts, bool usesProxy, int numLoopIterations)
100100 {
101101 beginTest (" Stuck notes" );
102102
@@ -343,7 +343,7 @@ class LoopingMidiNodeTests : public juce::UnitTest
343343 expect (allEventsWithinRange, " Not all events within the expected range" );
344344 }
345345
346- void runOffsetTests (test_utilities::TestSetup ts)
346+ void runOffsetTests (graph:: test_utilities::TestSetup ts)
347347 {
348348 beginTest (" MIDI clip with offset" );
349349
@@ -364,13 +364,13 @@ class LoopingMidiNodeTests : public juce::UnitTest
364364 sequence.addNote (49 , 0_bp, 1_bd, 127 , 0 , nullptr );
365365 sequence.addNote (50 , 1_bp, 1_bd, 127 , 0 , nullptr );
366366
367- auto seq = test_utilities::stripNonNoteOnOffMessages (renderMidiClip (*mc, ts, { 0_tp, mc->getPosition ().getEnd () }));
367+ auto seq = graph:: test_utilities::stripNonNoteOnOffMessages (renderMidiClip (*mc, ts, { 0_tp, mc->getPosition ().getEnd () }));
368368 expectEquals (seq.getNumEvents (), 2 );
369369
370370 testMidiClip (*mc, ts);
371371 }
372372
373- void testMidiClip (MidiClip& mc, test_utilities::TestSetup ts)
373+ void testMidiClip (MidiClip& mc, graph:: test_utilities::TestSetup ts)
374374 {
375375 auto renderOpts = RenderOptions::forClipRender ({ &mc }, true );
376376 renderOpts->setFormat (RenderOptions::midi);
@@ -391,12 +391,12 @@ class LoopingMidiNodeTests : public juce::UnitTest
391391 params.destFile = t2.getFile ();
392392 const auto seqWithoutProxyFile = Renderer::renderToFile (" non-proxy" , params);
393393
394- test_utilities::expectMidiMessageSequence (*this ,
395- test_utilities::stripMetaEvents (getSeqFromFile (seqWithoutProxyFile)),
396- test_utilities::stripMetaEvents (getSeqFromFile (seqWithProxyFile)));
394+ graph:: test_utilities::expectMidiMessageSequence (*this ,
395+ graph:: test_utilities::stripMetaEvents (getSeqFromFile (seqWithoutProxyFile)),
396+ graph:: test_utilities::stripMetaEvents (getSeqFromFile (seqWithProxyFile)));
397397 }
398398
399- juce::MidiMessageSequence renderMidiClip (MidiClip& mc, test_utilities::TestSetup ts,
399+ juce::MidiMessageSequence renderMidiClip (MidiClip& mc, graph:: test_utilities::TestSetup ts,
400400 TimeRange rangeToRender)
401401 {
402402 auto renderOpts = RenderOptions::forClipRender ({ &mc }, true );
0 commit comments