[Scummvm-cvs-logs] CVS: scummvm/test/common array.h,1.3,1.4 list.h,1.3,1.4 map.h,1.2,1.3 str.h,1.3,1.4
Eugene Sandulenko
sev at users.sourceforge.net
Sat Jul 30 14:12:50 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.86,1.87 rscfile.cpp,1.28,1.29 rscfile.h,1.13,1.14 sndres.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.h,1.39,1.40 d_sound.cpp,1.152,1.153 menu.cpp,1.35,1.36 render.cpp,1.77,1.78 sprite.cpp,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/test/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9428/test/common
Modified Files:
array.h list.h map.h str.h
Log Message:
Remove trailing whitespaces.
Index: array.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/test/common/array.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- array.h 24 Jun 2005 15:23:51 -0000 1.3
+++ array.h 30 Jul 2005 21:11:48 -0000 1.4
@@ -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 @@
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 @@
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 );
Index: list.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/test/common/list.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- list.h 24 Jun 2005 15:23:51 -0000 1.3
+++ list.h 30 Jul 2005 21:11:48 -0000 1.4
@@ -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 @@
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 @@
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 );
Index: map.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/test/common/map.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- map.h 24 Jun 2005 15:23:51 -0000 1.2
+++ map.h 30 Jul 2005 21:11:48 -0000 1.3
@@ -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 @@
mapB[1] = -1;
mapB[4] = 96;
-
+
mapA.merge(mapB);
TS_ASSERT( mapA.contains(1) );
Index: str.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/test/common/str.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- str.h 24 Jun 2005 15:23:51 -0000 1.3
+++ str.h 30 Jul 2005 21:11:48 -0000 1.4
@@ -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 )
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.86,1.87 rscfile.cpp,1.28,1.29 rscfile.h,1.13,1.14 sndres.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.h,1.39,1.40 d_sound.cpp,1.152,1.153 menu.cpp,1.35,1.36 render.cpp,1.77,1.78 sprite.cpp,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list