From ddb4f209b5092c19d497080d00ce989aa63a6dcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Thu, 10 Feb 2005 18:16:15 +0000 Subject: [PATCH] * one more --- org.glite.lb.common/test/il_msg_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/test/il_msg_test.cpp b/org.glite.lb.common/test/il_msg_test.cpp index c8452f4..6748bdb 100644 --- a/org.glite.lb.common/test/il_msg_test.cpp +++ b/org.glite.lb.common/test/il_msg_test.cpp @@ -45,6 +45,9 @@ public: } void testEncodeReply() { + CPPUNIT_ASSERT_EQUAL(len_rep, 31); + CPPUNIT_ASSERT(buffer_rep != NULL); + CPPUNIT_ASSERT(!strncmp(buffer_rep, rep, len_rep)); } void testDecodeReply() { @@ -85,7 +88,7 @@ private: }; const char *IlMsgTest::msg = " 9\n6 zprava\n"; -const char *IlMsgTest::rep = ""; +const char *IlMsgTest::rep = " 14\n10\n20\n5 chyba\n"; int IlMsgTest::pos; CPPUNIT_TEST_SUITE_REGISTRATION( IlMsgTest ); -- 1.8.2.3