utilitylibraries/libutils/tsrc/src/test_hbufc16towchar_positive.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
54:4332f0f7be53 56:acd3cd4aaceb
    19 #include<e32std.h>
    19 #include<e32std.h>
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 #include "libutils.h"
    21 #include "libutils.h"
    22 #include"std_log_result.h"
    22 #include"std_log_result.h"
    23 #define LOG_FILENAME_LINE __FILE__, __LINE__
    23 #define LOG_FILENAME_LINE __FILE__, __LINE__
    24 void main()
    24 int main()
    25 {
    25 {
    26     __UHEAP_MARK;
    26     __UHEAP_MARK;
    27     int retval =ESuccess;
    27     int retval =ESuccess;
    28     wchar_t* mycharstring = new wchar_t[30];
    28     wchar_t* mycharstring = new wchar_t[30];
    29     _LIT16(KTxt, "HelloHello");
    29     _LIT16(KTxt, "HelloHello");
    45     CleanupStack::PopAndDestroy(1);
    45     CleanupStack::PopAndDestroy(1);
    46     delete []mycharstring;
    46     delete []mycharstring;
    47     mycharstring = NULL; 
    47     mycharstring = NULL; 
    48     __UHEAP_MARKEND;
    48     __UHEAP_MARKEND;
    49     testResultXml("test_hbufc16towchar_positive");
    49     testResultXml("test_hbufc16towchar_positive");
       
    50 	return 0;
    50 }
    51 }