equal
deleted
inserted
replaced
18 #include<e32std.h> |
18 #include<e32std.h> |
19 #include "libutils.h" |
19 #include "libutils.h" |
20 #include"std_log_result.h" |
20 #include"std_log_result.h" |
21 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
21 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
22 |
22 |
23 void main() |
23 int main() |
24 { |
24 { |
25 int count = 1; |
25 //int count = 1; |
26 bool err = false; |
26 bool err = false; |
27 wstring myWstring(L"Hello"); |
27 wstring myWstring(L"Hello"); |
28 __UHEAP_MARK; |
28 __UHEAP_MARK; |
29 __UHEAP_FAILNEXT(count); |
29 __UHEAP_FAILNEXT(1); |
30 while(!err) |
30 while(!err) |
31 { |
31 { |
32 int retval =ESuccess; |
32 int retval =ESuccess; |
33 TBuf8<20> myTbuf; |
33 TBuf8<20> myTbuf; |
34 |
34 |
52 } |
52 } |
53 } |
53 } |
54 __UHEAP_MARKEND; |
54 __UHEAP_MARKEND; |
55 __UHEAP_RESET; |
55 __UHEAP_RESET; |
56 testResultXml("test_wstringtotbuf8_reliability"); |
56 testResultXml("test_wstringtotbuf8_reliability"); |
|
57 return 0; |
57 } |
58 } |