git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71054e0
)
* one more
author
Michal Voců
<michal@ruk.cuni.cz>
Thu, 10 Feb 2005 18:16:15 +0000
(18:16 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Thu, 10 Feb 2005 18:16:15 +0000
(18:16 +0000)
org.glite.lb.common/test/il_msg_test.cpp
patch
|
blob
|
blame
|
history
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
(file)
--- 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 );