equal
deleted
inserted
replaced
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 |
23 |
24 void main() |
24 int main() |
25 { |
25 { |
26 int count = 2; |
26 //int count = 2; |
27 bool err = false; |
27 bool err = false; |
28 wstring myWstring(L"Hello"); |
28 wstring myWstring(L"Hello"); |
29 __UHEAP_MARK; |
29 __UHEAP_MARK; |
30 __UHEAP_FAILNEXT(count); |
30 __UHEAP_FAILNEXT(2); |
31 while(!err) |
31 while(!err) |
32 { |
32 { |
33 int retval =ESuccess; |
33 int retval =ESuccess; |
34 _LIT8(Kname,"hello"); |
34 _LIT8(Kname,"hello"); |
35 HBufC8* buff = HBufC8::NewL(10); |
35 HBufC8* buff = HBufC8::NewL(10); |
57 } |
57 } |
58 CleanupStack::PopAndDestroy(); |
58 CleanupStack::PopAndDestroy(); |
59 __UHEAP_MARKEND; |
59 __UHEAP_MARKEND; |
60 __UHEAP_RESET; |
60 __UHEAP_RESET; |
61 testResultXml("test_wstringtohbufc8_reliability"); |
61 testResultXml("test_wstringtohbufc8_reliability"); |
|
62 return 0; |
62 } |
63 } |