utilitylibraries/libutils/tsrc/src/test_hbufc8tochar_negative1.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    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 int main()
    24 void main()
    25 {
    25 {
    26     __UHEAP_MARK;
    26     __UHEAP_MARK;
    27     int retval =ESuccess;
    27     int retval =ESuccess;
    28     char* mycharstring = new char[30];
    28     char* mycharstring = new char[30];
    29     _LIT8(KTxt, "");
    29     _LIT8(KTxt, "");
    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_hbufc8tochar_negative1");
    49     testResultXml("test_hbufc8tochar_negative1");
    50 	return 0;
       
    51 }
    50 }