diff options
author | Max Horn | 2010-01-06 15:56:04 +0000 |
---|---|---|
committer | Max Horn | 2010-01-06 15:56:04 +0000 |
commit | dd76e2bda0e33ad78c8c7dd8c998c6e51c8a04ca (patch) | |
tree | b88749e1df71ca22d4ce7b66a2d64a296fbb2cd7 /test/sound | |
parent | 297a95557946555e5cc51279abafc0dc362af5f7 (diff) | |
download | scummvm-rg350-dd76e2bda0e33ad78c8c7dd8c998c6e51c8a04ca.tar.gz scummvm-rg350-dd76e2bda0e33ad78c8c7dd8c998c6e51c8a04ca.tar.bz2 scummvm-rg350-dd76e2bda0e33ad78c8c7dd8c998c6e51c8a04ca.zip |
Rename some Timestamp methods: getNumberOfFrames -> numberOfFrames and getFramerate -> framerate
svn-id: r47083
Diffstat (limited to 'test/sound')
-rw-r--r-- | test/sound/timestamp.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sound/timestamp.h b/test/sound/timestamp.h index 39d095aa35..6fc83480b4 100644 --- a/test/sound/timestamp.h +++ b/test/sound/timestamp.h @@ -143,10 +143,10 @@ class TimestampTestSuite : public CxxTest::TestSuite const Audio::Timestamp c = Audio::Timestamp(500, 100); const Audio::Timestamp d = Audio::Timestamp(500, 44100); - TS_ASSERT_EQUALS(a.getFramerate(), 1000); - TS_ASSERT_EQUALS(b.getFramerate(), 67); - TS_ASSERT_EQUALS(c.getFramerate(), 100); - TS_ASSERT_EQUALS(d.getFramerate(), 44100); + TS_ASSERT_EQUALS(a.framerate(), 1000); + TS_ASSERT_EQUALS(b.framerate(), 67); + TS_ASSERT_EQUALS(c.framerate(), 100); + TS_ASSERT_EQUALS(d.framerate(), 44100); } void test_direct_query() { @@ -156,14 +156,14 @@ class TimestampTestSuite : public CxxTest::TestSuite TS_ASSERT_EQUALS(a.secs(), (uint32)0); TS_ASSERT_EQUALS(a.msecs(), (uint32)0); - TS_ASSERT_EQUALS(a.getNumberOfFrames(), 0); + TS_ASSERT_EQUALS(a.numberOfFrames(), 0); TS_ASSERT_EQUALS(b.secs(), (uint32)0); TS_ASSERT_EQUALS(b.msecs(), (uint32)500); - TS_ASSERT_EQUALS(b.getNumberOfFrames(), 11025); + TS_ASSERT_EQUALS(b.numberOfFrames(), 11025); TS_ASSERT_EQUALS(c.secs(), (uint32)1); TS_ASSERT_EQUALS(c.msecs(), (uint32)1500); - TS_ASSERT_EQUALS(c.getNumberOfFrames(), 11025); + TS_ASSERT_EQUALS(c.numberOfFrames(), 11025); } }; |