From d083e02215c9ef2309f436284c750c78005df6c7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 Dec 2009 23:00:55 +0000 Subject: Rename Common::Stream::readLine_NEW to readLine svn-id: r46779 --- test/common/stream.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/common/stream.h b/test/common/stream.h index 553bbe6c66..8f989009cd 100644 --- a/test/common/stream.h +++ b/test/common/stream.h @@ -10,18 +10,18 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite { char buffer[100]; - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "ab\n")); - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "\n")); - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "c\n")); TS_ASSERT(!ms.eos()); - TS_ASSERT_EQUALS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_EQUALS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT(ms.eos()); } @@ -32,13 +32,13 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite { char buffer[100]; - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "ab\n")); - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "\n")); - TS_ASSERT_DIFFERS((char *)0, ms.readLine_NEW(buffer, sizeof(buffer))); + TS_ASSERT_DIFFERS((char *)0, ms.readLine(buffer, sizeof(buffer))); TS_ASSERT_EQUALS(0, strcmp(buffer, "c")); TS_ASSERT(ms.eos()); -- cgit v1.2.3