Rename test method.
authorCarl Hetherington <cth@carlh.net>
Tue, 30 May 2017 09:37:19 +0000 (10:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 May 2017 09:37:19 +0000 (10:37 +0100)
test/test.cc
test/test.h
test/upmixer_a_test.cc

index b81d20134d7b9024c5d0e131c3c66a0795a56007..7e0f5734035bcd54dc8c9c0ec721e3e9e66d6c4e 100644 (file)
@@ -120,7 +120,7 @@ new_test_film (string name)
 }
 
 void
-check_audio_file (boost::filesystem::path ref, boost::filesystem::path check)
+check_wav_file (boost::filesystem::path ref, boost::filesystem::path check)
 {
        SF_INFO ref_info;
        ref_info.format = 0;
index 8ac026e66d707227b5c5529ff5bfebbe14378bd7..40163d8ffbd5ca1d535e80aac39115e542de7298 100644 (file)
@@ -29,7 +29,7 @@ extern bool wait_for_jobs ();
 extern boost::shared_ptr<Film> new_test_film (std::string);
 extern void check_dcp (boost::filesystem::path, boost::filesystem::path);
 extern void check_file (boost::filesystem::path ref, boost::filesystem::path check);
-extern void check_audio_file (boost::filesystem::path ref, boost::filesystem::path check);
+extern void check_wav_file (boost::filesystem::path ref, boost::filesystem::path check);
 extern void check_xml (boost::filesystem::path, boost::filesystem::path, std::list<std::string>);
 extern void check_file (boost::filesystem::path, boost::filesystem::path);
 extern void check_image (boost::filesystem::path, boost::filesystem::path);
index 2dccedacbcee5ba07425e721dbb2b3a31c7822b4..651ac7f38da9e2d5dc7ae959a3880643cc18c014 100644 (file)
@@ -89,10 +89,10 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test)
        sf_close (Ls);
        sf_close (Rs);
 
-       check_audio_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav");
-       check_audio_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav");
-       check_audio_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav");
-       check_audio_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav");
-       check_audio_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav");
-       check_audio_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav");
+       check_wav_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav");
+       check_wav_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav");
+       check_wav_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav");
+       check_wav_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav");
+       check_wav_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav");
+       check_wav_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav");
 }