comparison data/fileio/test/AudioFileReaderTest.h @ 1700:c1208b211d8c single-point

Ensure test fails rather than crashing if this reader doesn't get created
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 03 May 2019 15:02:09 +0100
parents dbd13eb7dad1
children 83cb6e9d769b
comparison
equal deleted inserted replaced
1699:ad33d6c10738 1700:c1208b211d8c
313 QSKIP("Unsupported file, skipping", SkipSingle); 313 QSKIP("Unsupported file, skipping", SkipSingle);
314 #endif 314 #endif
315 } 315 }
316 } 316 }
317 317
318 QVERIFY(reader != nullptr);
319
318 QString extension; 320 QString extension;
319 sv_samplerate_t fileRate; 321 sv_samplerate_t fileRate;
320 int channels; 322 int channels;
321 int fileBitdepth; 323 int fileBitdepth;
322 getFileMetadata(audiofile, extension, fileRate, channels, fileBitdepth); 324 getFileMetadata(audiofile, extension, fileRate, channels, fileBitdepth);