diff options
author | Tony Puccinelli | 2010-08-10 23:21:08 +0000 |
---|---|---|
committer | Tony Puccinelli | 2010-08-10 23:21:08 +0000 |
commit | 682807f0e916b189c69b60765418ee1ccc327cbf (patch) | |
tree | e8b220b934f6b14d4dac290181fce0c1b209579a /test | |
parent | 83f1531cb8fa5ba43c246143ecdde2cb1d140a8e (diff) | |
parent | fffec23a02cc88ed8daba0a3b50007b7e220c075 (diff) | |
download | scummvm-rg350-682807f0e916b189c69b60765418ee1ccc327cbf.tar.gz scummvm-rg350-682807f0e916b189c69b60765418ee1ccc327cbf.tar.bz2 scummvm-rg350-682807f0e916b189c69b60765418ee1ccc327cbf.zip |
merged trunk into branch, reverted Cruise Singleton changes
svn-id: r51961
Diffstat (limited to 'test')
-rw-r--r-- | test/common/tokenizer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/common/tokenizer.h b/test/common/tokenizer.h index 3420b562aa..9c14875b81 100644 --- a/test/common/tokenizer.h +++ b/test/common/tokenizer.h @@ -5,7 +5,7 @@ class TokenizerTestSuite : public CxxTest::TestSuite { public: void test_nextToken() { - + // test normal behavior Common::StringTokenizer strTokenizer("Now, this is a test!", " ,!"); Common::String tokenArray[] = {"Now", "this", "is", "a", "test"}; @@ -17,7 +17,7 @@ public: TS_ASSERT(strTokenizer.empty()); // Test edge cases: - + // empty string Common::StringTokenizer s1(""); TS_ASSERT_EQUALS("", s1.nextToken()); @@ -37,7 +37,7 @@ public: TS_ASSERT_EQUALS("af", s4.nextToken()); } - void test_resetAndEmpty() { + void test_resetAndEmpty() { Common::StringTokenizer strTokenizer("Just, another test!", " ,!"); // test reset() @@ -48,10 +48,10 @@ public: TS_ASSERT_EQUALS(token2, "Just"); // test empty() - TS_ASSERT(!strTokenizer.empty()); + TS_ASSERT(!strTokenizer.empty()); strTokenizer.nextToken(); //another strTokenizer.nextToken(); //test - TS_ASSERT(strTokenizer.empty()); + TS_ASSERT(strTokenizer.empty()); } }; |