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 _LIT16(Kname,"tbuf16tochar"); |
25 _LIT16(Kname,"tbuf16tochar"); |
26 int count = 2; |
26 //int count = 2; |
27 bool err = false; |
27 bool err = false; |
28 __UHEAP_MARK; |
28 __UHEAP_MARK; |
29 __UHEAP_FAILNEXT(count); |
29 __UHEAP_FAILNEXT(2); |
30 while(!err) |
30 while(!err) |
31 { |
31 { |
32 int retval =ESuccess; |
32 int retval =ESuccess; |
33 char* myChar = new char[40]; |
33 char* myChar = new char[40]; |
34 int size =40; |
34 int size =40; |
53 } |
53 } |
54 __UHEAP_MARKEND; |
54 __UHEAP_MARKEND; |
55 __UHEAP_RESET; |
55 __UHEAP_RESET; |
56 |
56 |
57 testResultXml("test_tlit16tochar_reliability"); |
57 testResultXml("test_tlit16tochar_reliability"); |
|
58 return 0; |
58 } |
59 } |