utilitylibraries/libutils/tsrc/src/test_wchartotbuf8_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     __UHEAP_MARK;
    24     __UHEAP_MARK;
    25     int retval =ESuccess;
    25     int retval =ESuccess;
    26     wchar_t* mystr = L"hello";
    26     wchar_t* mystr = L"hello";
    27     TBuf8 <45> f;
    27     TBuf8 <45> f;
    47     }
    47     }
    48     delete[] temp;
    48     delete[] temp;
    49     temp = NULL;
    49     temp = NULL;
    50     __UHEAP_MARKEND;
    50     __UHEAP_MARKEND;
    51     testResultXml("test_WcharToTbuf8_positive");
    51     testResultXml("test_WcharToTbuf8_positive");
       
    52 	return 0;
    52 }
    53 }