aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorEugene Sandulenko2005-07-30 21:11:48 +0000
committerEugene Sandulenko2005-07-30 21:11:48 +0000
commit6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch)
treec44c4e61f18ddd537f7082cb48869cf33d422fbd /test/common
parent86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff)
downloadscummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'test/common')
-rw-r--r--test/common/array.h8
-rw-r--r--test/common/list.h12
-rw-r--r--test/common/map.h4
-rw-r--r--test/common/str.h2
4 files changed, 13 insertions, 13 deletions
diff --git a/test/common/array.h b/test/common/array.h
index 1f24dfd6b6..65f5bff490 100644
--- a/test/common/array.h
+++ b/test/common/array.h
@@ -3,7 +3,7 @@
#include "common/stdafx.h"
#include "common/array.h"
-class ArrayTestSuite : public CxxTest::TestSuite
+class ArrayTestSuite : public CxxTest::TestSuite
{
public:
void test_isEmpty_clear( void )
@@ -26,10 +26,10 @@ class ArrayTestSuite : public CxxTest::TestSuite
array.push_back(17);
array.push_back(33);
array.push_back(-11);
-
+
// Iterate over the array and verify that we encounter the elements in
// the order we expect them to be.
-
+
iter = array.begin();
TS_ASSERT( *iter == 17 );
@@ -54,7 +54,7 @@ class ArrayTestSuite : public CxxTest::TestSuite
array.push_back(17);
array.push_back(33);
array.push_back(-11);
-
+
TS_ASSERT( array[0] == 17 );
TS_ASSERT( array[1] == 33 );
TS_ASSERT( array[2] == -11 );
diff --git a/test/common/list.h b/test/common/list.h
index 512a4d947e..3026b204c5 100644
--- a/test/common/list.h
+++ b/test/common/list.h
@@ -3,7 +3,7 @@
#include "common/stdafx.h"
#include "common/list.h"
-class ListTestSuite : public CxxTest::TestSuite
+class ListTestSuite : public CxxTest::TestSuite
{
public:
void test_isEmpty_clear( void )
@@ -26,10 +26,10 @@ class ListTestSuite : public CxxTest::TestSuite
list.push_back(17);
list.push_back(33);
list.push_back(-11);
-
+
// Iterate over the list and verify that we encounter the elements in
// the order we expect them to be.
-
+
iter = list.begin();
TS_ASSERT( *iter == 17 );
@@ -56,16 +56,16 @@ class ListTestSuite : public CxxTest::TestSuite
list.push_back(17);
list.push_back(33);
list.push_back(-11);
-
+
// Iterate to after the second element
iter = list.begin();
++iter;
++iter;
-
+
// Now insert some values here
list.insert(iter, 42);
list.insert(iter, 43);
-
+
iter = list.begin();
TS_ASSERT( *iter == 17 );
diff --git a/test/common/map.h b/test/common/map.h
index 3c738f2653..c332f0931e 100644
--- a/test/common/map.h
+++ b/test/common/map.h
@@ -3,7 +3,7 @@
#include "common/stdafx.h"
#include "common/map.h"
-class MapTestSuite : public CxxTest::TestSuite
+class MapTestSuite : public CxxTest::TestSuite
{
public:
void test_isEmpty_clear( void )
@@ -49,7 +49,7 @@ class MapTestSuite : public CxxTest::TestSuite
mapB[1] = -1;
mapB[4] = 96;
-
+
mapA.merge(mapB);
TS_ASSERT( mapA.contains(1) );
diff --git a/test/common/str.h b/test/common/str.h
index 58b890d800..66d891295e 100644
--- a/test/common/str.h
+++ b/test/common/str.h
@@ -3,7 +3,7 @@
#include "common/stdafx.h"
#include "common/str.h"
-class StringTestSuite : public CxxTest::TestSuite
+class StringTestSuite : public CxxTest::TestSuite
{
public:
void test_isEmpty_clear( void )