equal
deleted
inserted
replaced
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 } |