utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
--- a/utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.cpp	Tue Aug 31 16:54:36 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.cpp	Wed Sep 01 12:36:54 2010 +0100
@@ -20,13 +20,13 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-int main()
+void main()
 {
     wstring des((const wchar_t*)"hellohello") ;
     __UHEAP_MARK; 
     TPtr8  src((unsigned char *)"My wide string",14, 30);
     int retval=ESuccess;
-    //int size=30;
+    int size=30;
     retval= Tptr8ToWstring(src,des);
 
     if(retval ==ESuccess && wcscmp(L"My wide string",des.c_str()) == 0 )
@@ -40,6 +40,4 @@
     }	
     __UHEAP_MARKEND;
     testResultXml("test_tptr8towstring_content_check");
-	
-	return 0;
 }