From: Tsuda Kageyu Date: Sat, 6 Feb 2016 12:56:51 +0000 (+0900) Subject: Add some missing FileRef tests. X-Git-Tag: v1.11beta2~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=184a151d41918a5184457f025dc200479e7b4044;p=taglib Add some missing FileRef tests. --- diff --git a/tests/test_fileref.cpp b/tests/test_fileref.cpp index 2313eb59..2d77682a 100644 --- a/tests/test_fileref.cpp +++ b/tests/test_fileref.cpp @@ -38,6 +38,7 @@ #include #include #include +#include #include #include "utils.h" #include @@ -75,6 +76,8 @@ class TestFileRef : public CppUnit::TestFixture CPPUNIT_TEST(testTrueAudio); CPPUNIT_TEST(testAPE); CPPUNIT_TEST(testWav); + CPPUNIT_TEST(testAIFF_1); + CPPUNIT_TEST(testAIFF_2); CPPUNIT_TEST(testUnsupported); CPPUNIT_TEST(testFileResolver); CPPUNIT_TEST_SUITE_END(); @@ -215,6 +218,16 @@ public: fileRefSave("mac-399", ".ape"); } + void testAIFF_1() + { + fileRefSave("empty", ".aiff"); + } + + void testAIFF_2() + { + fileRefSave("alaw", ".aifc"); + } + void testUnsupported() { FileRef f1(TEST_FILE_PATH_C("no-extension"));