aboutsummaryrefslogtreecommitdiff
path: root/test/common/map.h
diff options
context:
space:
mode:
authorMax Horn2006-03-28 09:42:54 +0000
committerMax Horn2006-03-28 09:42:54 +0000
commit9f93e5bb81a54a98eb7957209662f152e2962679 (patch)
treeffd439f7aa7347bd7ba806c2131be458a7112ef1 /test/common/map.h
parent950c3451a2dbadffa6437e98a20eb3a4163216e2 (diff)
downloadscummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.gz
scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.bz2
scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.zip
Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
Diffstat (limited to 'test/common/map.h')
-rw-r--r--test/common/map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/common/map.h b/test/common/map.h
index c332f0931e..00e5f6c9f6 100644
--- a/test/common/map.h
+++ b/test/common/map.h
@@ -6,15 +6,15 @@
class MapTestSuite : public CxxTest::TestSuite
{
public:
- void test_isEmpty_clear( void )
+ void test_empty_clear( void )
{
Common::Map<int, int> map;
- TS_ASSERT( map.isEmpty() );
+ TS_ASSERT( map.empty() );
map[0] = 17;
map[1] = 33;
- TS_ASSERT( !map.isEmpty() );
+ TS_ASSERT( !map.empty() );
map.clear();
- TS_ASSERT( map.isEmpty() );
+ TS_ASSERT( map.empty() );
}
void test_contains( void )
{