kdesupport/taglib/taglib/riff

Lukáš Lalinský lalinsky at gmail.com
Fri Feb 25 20:36:02 CET 2011


2011/2/23 Николай Шафоростов <shafff at ukr.net>:
>> test_aiff.cpp:26:Assertion
>> Test name: TestAIFF::testReading
>> equality assertion failed
>> - Expected: 689
>> - Actual : 705
>
> this test fails even CPPUNIT_ASSERT(f->audioProperties()); assertion.
> even after i changed opening string to
> RIFF::AIFF::File *f = new RIFF::AIFF::File("data/empty.aiff");
>
> the file is present, and i run the test from taglib/tests source folder

The relative parts are hard-coded, it expects that the tests are ran
with "make check" from the root directory. I've been meaning to have a
way to determine the right parts automatically, but it's work and the
tests are only used by developers, so I was never motivated enough to
do it. :) Maybe I'll do it when I finally decide to port the stuff to
Google Test.

Lukas


More information about the taglib-devel mailing list