diff options
author | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-24 01:11:10 +0200 |
---|---|---|
committer | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-24 01:11:10 +0200 |
commit | 9c27c45eb83453d8529bc139ed70647d6fffa624 (patch) | |
tree | c87864f04a63b495194e55c0a444da6cced536be /tests | |
parent | e71806b6dff3ce8ad6b6e09417793042bd170cab (diff) |
IT: strings require term. NUL. mod files: tableLength -> lengthInPatterns
Also added enums for S3M/IT/XM flags.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_mod.cpp | 2 | ||||
-rw-r--r-- | tests/test_s3m.cpp | 2 | ||||
-rw-r--r-- | tests/test_xm.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_mod.cpp b/tests/test_mod.cpp index 49a8f182..67c46f28 100644 --- a/tests/test_mod.cpp +++ b/tests/test_mod.cpp @@ -93,7 +93,7 @@ private: CPPUNIT_ASSERT_EQUAL(0, p->sampleRate()); CPPUNIT_ASSERT_EQUAL(8, p->channels()); CPPUNIT_ASSERT_EQUAL(31U, p->instrumentCount()); - CPPUNIT_ASSERT_EQUAL((uchar)1, p->tableLength()); + CPPUNIT_ASSERT_EQUAL((uchar)1, p->lengthInPatterns()); CPPUNIT_ASSERT_EQUAL(title, t->title()); CPPUNIT_ASSERT_EQUAL(String::null, t->artist()); CPPUNIT_ASSERT_EQUAL(String::null, t->album()); diff --git a/tests/test_s3m.cpp b/tests/test_s3m.cpp index efc9745c..e2566626 100644 --- a/tests/test_s3m.cpp +++ b/tests/test_s3m.cpp @@ -98,7 +98,7 @@ private: CPPUNIT_ASSERT_EQUAL( 0, p->bitrate()); CPPUNIT_ASSERT_EQUAL( 0, p->sampleRate()); CPPUNIT_ASSERT_EQUAL(16, p->channels()); - CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 0, p->tableLength()); + CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 0, p->lengthInPatterns()); CPPUNIT_ASSERT_EQUAL(false, p->stereo()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 5, p->sampleCount()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->patternCount()); diff --git a/tests/test_xm.cpp b/tests/test_xm.cpp index 3e74524d..c6af369e 100644 --- a/tests/test_xm.cpp +++ b/tests/test_xm.cpp @@ -130,7 +130,7 @@ public: CPPUNIT_ASSERT_EQUAL(0, p->bitrate()); CPPUNIT_ASSERT_EQUAL(0, p->sampleRate()); CPPUNIT_ASSERT_EQUAL(8, p->channels()); - CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->tableLength()); + CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->lengthInPatterns()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 0, p->version()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 0 , p->restartPosition()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->patternCount()); @@ -176,7 +176,7 @@ private: CPPUNIT_ASSERT_EQUAL(0, p->bitrate()); CPPUNIT_ASSERT_EQUAL(0, p->sampleRate()); CPPUNIT_ASSERT_EQUAL(8, p->channels()); - CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->tableLength()); + CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->lengthInPatterns()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort)260, p->version()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 0, p->restartPosition()); CPPUNIT_ASSERT_EQUAL((TagLib::ushort) 1, p->patternCount()); |