utilitylibraries/libutils/tsrc/src/integration_test_scenario22.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/utilitylibraries/libutils/tsrc/src/integration_test_scenario22.cpp	Fri Apr 16 16:46:38 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/integration_test_scenario22.cpp	Mon May 03 14:06:43 2010 +0300
@@ -20,7 +20,7 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
 {
     __UHEAP_MARK;
     {
@@ -47,6 +47,12 @@
     wchar_t* myFinWchar = new wchar_t[21];
     int size = 20;
     retval[5] = Tptrc8ToWcharp(myTptr8,myFinWchar,size);
+    
+    for(int i=1; i<=5; i++)
+        {
+        if (retval[i]!= 0)
+                printf("Conversion failed for retval\n",retval[i]);
+        }
 
     if(!wcscmp(myWchar,myFinWchar))
     {
@@ -63,4 +69,5 @@
     }
     __UHEAP_MARKEND;
     testResultXml("integration_test_scenario22");
+    return 0;
 }