utilitylibraries/libutils/tsrc/src/test_tbuf8tostring_positive1.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
--- a/utilitylibraries/libutils/tsrc/src/test_tbuf8tostring_positive1.cpp	Tue Aug 31 16:54:36 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_tbuf8tostring_positive1.cpp	Wed Sep 01 12:36:54 2010 +0100
@@ -20,17 +20,14 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-int main()
+void main()
 {
     int retval =ESuccess;
     string s;
     __UHEAP_MARK;
     TBuf8 <12>  buf((const unsigned char *)"Hello");
     retval = Tbuf8ToString(buf, s);
-    if (retval == ESuccess)
-        {
-        printf("TBuf8 to string conversion successful\n");
-        }
+
     if (!strcmp(s.c_str(), "Hello"))
     {
     printf("tbuf8tostring Passed");
@@ -42,5 +39,4 @@
     }  	
     __UHEAP_MARKEND;
     testResultXml("test_tbuf8tostring_positive1");
-	return 0;
 }