aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-01 15:06:43 +0000
committerEugene Sandulenko2009-01-01 15:06:43 +0000
commit696897b0583ad52ebc6f7666525277847619a8ce (patch)
tree5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /test/common
parent05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff)
downloadscummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'test/common')
-rw-r--r--test/common/func.h2
-rw-r--r--test/common/hashmap.h2
-rw-r--r--test/common/ptr.h4
-rw-r--r--test/common/queue.h4
-rw-r--r--test/common/stream.h8
5 files changed, 10 insertions, 10 deletions
diff --git a/test/common/func.h b/test/common/func.h
index bf9b2ddff9..607122505c 100644
--- a/test/common/func.h
+++ b/test/common/func.h
@@ -47,7 +47,7 @@ class FuncTestSuite : public CxxTest::TestSuite
myFoos[i] = new Foo;
int counter = 0;
-
+
Common::for_each(myFoos, myFoos+4, Common::bind2nd(Common::mem_fun(&Foo::fooAdd), counter));
TS_ASSERT_EQUALS(counter, 4);
diff --git a/test/common/hashmap.h b/test/common/hashmap.h
index acde1da028..8e31f38676 100644
--- a/test/common/hashmap.h
+++ b/test/common/hashmap.h
@@ -95,7 +95,7 @@ class HashMapTestSuite : public CxxTest::TestSuite
container.clear();
TS_ASSERT( container.begin() == container.end() );
}
-
+
void test_hash_map_copy(void) {
Common::HashMap<int, int> map1, container2;
map1[323] = 32;
diff --git a/test/common/ptr.h b/test/common/ptr.h
index 986330057c..3071c3c0ca 100644
--- a/test/common/ptr.h
+++ b/test/common/ptr.h
@@ -43,7 +43,7 @@ class PtrTestSuite : public CxxTest::TestSuite
void test_deleter() {
Deleter<int> myDeleter;
myDeleter.test = new bool(false);
-
+
{
Common::SharedPtr<int> p(new int(1), myDeleter);
}
@@ -55,7 +55,7 @@ class PtrTestSuite : public CxxTest::TestSuite
void test_compare() {
Common::SharedPtr<int> p1(new int(1));
Common::SharedPtr<int> p2;
-
+
TS_ASSERT(p1);
TS_ASSERT(!p2);
diff --git a/test/common/queue.h b/test/common/queue.h
index 7eedec9a5d..e3c0cb0a19 100644
--- a/test/common/queue.h
+++ b/test/common/queue.h
@@ -34,7 +34,7 @@ public:
void test_front_back_pop() {
Common::Queue<int> queue;
-
+
queue.push( 42);
queue.push(-23);
@@ -49,7 +49,7 @@ public:
queue.pop();
TS_ASSERT_EQUALS(queue.front(), 42);
}
-
+
void test_assign() {
Common::Queue<int> q1, q2;
diff --git a/test/common/stream.h b/test/common/stream.h
index a605d34a2c..4d332b8925 100644
--- a/test/common/stream.h
+++ b/test/common/stream.h
@@ -7,9 +7,9 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite {
void test_readline(void) {
byte contents[] = { 'a', 'b', '\n', '\n', 'c', '\n' };
Common::MemoryReadStream ms(contents, sizeof(contents));
-
+
char buffer[100];
-
+
TS_ASSERT(0 != ms.readLine_NEW(buffer, sizeof(buffer)));
TS_ASSERT(0 == strcmp(buffer, "ab\n"));
@@ -29,9 +29,9 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite {
void test_readline2(void) {
byte contents[] = { 'a', 'b', '\n', '\n', 'c' };
Common::MemoryReadStream ms(contents, sizeof(contents));
-
+
char buffer[100];
-
+
TS_ASSERT(0 != ms.readLine_NEW(buffer, sizeof(buffer)));
TS_ASSERT(0 == strcmp(buffer, "ab\n"));