utilitylibraries/libutils/tsrc/src/test_wchartotbuf8_positive.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    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 int main()
    22 void 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;
       
    53 }
    52 }