utilitylibraries/libutils/tsrc/src/test_chartohubfc16_positive.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    18 #include<e32std.h>
    18 #include<e32std.h>
    19 #include <e32base.h>
    19 #include <e32base.h>
    20 #include "libutils.h"
    20 #include "libutils.h"
    21 #include"std_log_result.h"
    21 #include"std_log_result.h"
    22 #define LOG_FILENAME_LINE __FILE__, __LINE__
    22 #define LOG_FILENAME_LINE __FILE__, __LINE__
    23 int main()
    23 void main()
    24 {
    24 {
    25     __UHEAP_MARK;
    25     __UHEAP_MARK;
    26     int retval =ESuccess;
    26     int retval =ESuccess;
    27     char* mycharstring = "Hello char String";
    27     char* mycharstring = "Hello char String";
    28     HBufC16 *buf = HBufC16::NewMaxL(20);
    28     HBufC16 *buf = HBufC16::NewMaxL(20);
    44     printf("chartohbufc16 Failed");
    44     printf("chartohbufc16 Failed");
    45     }      
    45     }      
    46     CleanupStack::PopAndDestroy(1);
    46     CleanupStack::PopAndDestroy(1);
    47     __UHEAP_MARKEND;
    47     __UHEAP_MARKEND;
    48     testResultXml("test_chartohbufc16_positive");
    48     testResultXml("test_chartohbufc16_positive");
    49 	return 0;
       
    50 }
    49 }