utilitylibraries/libutils/tsrc/src/test_rbuf8tostring_positive1.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
--- a/utilitylibraries/libutils/tsrc/src/test_rbuf8tostring_positive1.cpp	Tue Aug 31 16:54:36 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_rbuf8tostring_positive1.cpp	Wed Sep 01 12:36:54 2010 +0100
@@ -21,7 +21,7 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-int main()
+void main()
 {
     int retval =ESuccess;
     string s;
@@ -31,8 +31,6 @@
     buf.Copy((TUint8 *)"Hello", 5);
     buf.CleanupClosePushL();
     retval = Rbuf8ToString(buf, s);
-    if(retval == 0)
-    printf("The value of retval is ESuccess\n");
 
     if (!strcmp(s.c_str(), "Hello"))
     {
@@ -46,5 +44,4 @@
     CleanupStack::PopAndDestroy(1);
     __UHEAP_MARKEND;
     testResultXml("test_rbuf8tostring_positive1");
-	return 0;
 }