utilitylibraries/libutils/tsrc/src/test_wstringtotbuf8_positive.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    17 #include <stdio.h>
    17 #include <stdio.h>
    18 #include<e32std.h>
    18 #include<e32std.h>
    19 #include "libutils.h"
    19 #include "libutils.h"
    20 #include"std_log_result.h"
    20 #include"std_log_result.h"
    21 #define LOG_FILENAME_LINE __FILE__, __LINE__
    21 #define LOG_FILENAME_LINE __FILE__, __LINE__
    22 void main()
    22 int main()
    23 {
    23 {
    24     int retval =ESuccess;
    24     int retval =ESuccess;
    25     __UHEAP_MARK;
    25     __UHEAP_MARK;
    26     {
    26     {
    27     wstring W(L"Hello World");
    27     wstring W(L"Hello World");
    44     printf("wchartotbuf8 Failed");
    44     printf("wchartotbuf8 Failed");
    45     }     
    45     }     
    46     }     
    46     }     
    47     __UHEAP_MARKEND;
    47     __UHEAP_MARKEND;
    48     testResultXml("test_wstringtotbuf8_positive");
    48     testResultXml("test_wstringtotbuf8_positive");
       
    49 	return 0;
    49 }
    50 }