[Scummvm-cvs-logs] SF.net SVN: scummvm:[48008] scummvm/trunk/test/sound/raw.h

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Feb 8 22:25:10 CET 2010


Revision: 48008
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48008&view=rev
Author:   lordhoto
Date:     2010-02-08 21:25:10 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
Make the "seek after the end of the stream" test case a bit "harder".

Modified Paths:
--------------
    scummvm/trunk/test/sound/raw.h

Modified: scummvm/trunk/test/sound/raw.h
===================================================================
--- scummvm/trunk/test/sound/raw.h	2010-02-08 21:24:47 UTC (rev 48007)
+++ scummvm/trunk/test/sound/raw.h	2010-02-08 21:25:10 UTC (rev 48008)
@@ -237,7 +237,7 @@
 		TS_ASSERT_EQUALS(s->endOfData(), true);
 
 		// Try to seek after the end of the stream
-		TS_ASSERT_EQUALS(s->seek(Audio::Timestamp(time * 1000, 1, 100000)), false);
+		TS_ASSERT_EQUALS(s->seek(Audio::Timestamp(time, 1, 100000)), false);
 		TS_ASSERT_EQUALS(s->endOfData(), true);
 
 		// Try to seek exactly at the end of the stream


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list