scummvm/test/common
Max Horn ae16d496b9 COMMON: HashMap::getVal now allows specifying a default value.
A new variant of HashMap::getVal with a second 'default value' parameter
has been added. This helps avoid many contains() + getVal() combos
(which incur double lookup penalty), and is much lighter than using
find() (which has to create an iterator).

svn-id: r43983
2009-09-06 12:59:07 +00:00
..
array.h Fixed a bug in Common::Array (including a unit test for it), and changed the way the internal storage growth over time. 2009-05-26 11:28:38 +00:00
bufferedreadstream.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
bufferedseekablereadstream.h - Formatting 2009-05-19 12:39:53 +00:00
fixedstack.h Made Common::Stack return refs, thus ensuring that it matches exactly the behavior of FixedStack; added unit tests 2009-01-21 02:23:09 +00:00
func.h Whoa! Removing trailing spaces. 2009-01-01 15:06:43 +00:00
hashmap.h COMMON: HashMap::getVal now allows specifying a default value. 2009-09-06 12:59:07 +00:00
list.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
memoryreadstream.h TESTS: Code formatting; also changed some TS_ASSERT to TS_ASSERT_EQUALS 2009-04-20 19:26:50 +00:00
pack.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
ptr.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
queue.h COMMON: Made sure Common::List and Common::array each have all front/back/push_back/push_front, as have their STL counterparts 2009-04-27 14:23:20 +00:00
rect.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
seekablesubreadstream.h - Formatting 2009-05-19 12:39:53 +00:00
serializer.h Renamed Common::Serializer::syncMagic to matchBytes, and added version paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed) 2009-05-26 11:31:45 +00:00
stack.h Made Common::Stack return refs, thus ensuring that it matches exactly the behavior of FixedStack; added unit tests 2009-01-21 02:23:09 +00:00
str.h Add Common::String::printf to format a string 2009-07-25 10:25:57 +00:00
stream.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00
subreadstream.h Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline 2009-05-19 11:22:49 +00:00