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 int retval =ESuccess; |
26 int retval =ESuccess; |
27 wstring W(L"Hello World"); |
27 wstring W(L"Hello World"); |
28 __UHEAP_MARK; |
28 __UHEAP_MARK; |
29 HBufC8 *buf = HBufC8::NewMaxL(8); |
29 HBufC8 *buf = HBufC8::NewMaxL(8); |
40 printf("wstringtotptr8 Failed"); |
40 printf("wstringtotptr8 Failed"); |
41 } |
41 } |
42 CleanupStack::PopAndDestroy(1); |
42 CleanupStack::PopAndDestroy(1); |
43 __UHEAP_MARKEND; |
43 __UHEAP_MARKEND; |
44 testResultXml("test_wstringtohbufc8_negative1"); |
44 testResultXml("test_wstringtohbufc8_negative1"); |
|
45 return 0; |
45 } |
46 } |