Fix some set-but-not-used variable warnings from gcc 4.6
[ardour.git] / libs / taglib / tests / test_trueaudio.cpp
1 #include <cppunit/extensions/HelperMacros.h>
2 #include <string>
3 #include <stdio.h>
4 #include <trueaudiofile.h>
5
6 using namespace std;
7 using namespace TagLib;
8
9 class TestTrueAudio : public CppUnit::TestFixture
10 {
11   CPPUNIT_TEST_SUITE(TestTrueAudio);
12   CPPUNIT_TEST(testReadPropertiesWithoutID3v2);
13   CPPUNIT_TEST_SUITE_END();
14
15 public:
16
17   void testReadPropertiesWithoutID3v2()
18   {
19     TrueAudio::File f("data/empty.tta");
20     CPPUNIT_ASSERT(f.audioProperties());
21     CPPUNIT_ASSERT_EQUAL(3, f.audioProperties()->length());
22   }
23
24 };
25
26 CPPUNIT_TEST_SUITE_REGISTRATION(TestTrueAudio);