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 int main() |
23 void main() |
24 { |
24 { |
25 //int count = 2; |
25 int count = 2; |
26 bool err = false; |
26 bool err = false; |
27 __UHEAP_MARK; |
27 __UHEAP_MARK; |
28 __UHEAP_FAILNEXT(2); |
28 __UHEAP_FAILNEXT(count); |
29 while(!err) |
29 while(!err) |
30 { |
30 { |
31 int retval =ESuccess; |
31 int retval =ESuccess; |
32 char* myChar = new char[30]; |
32 char* myChar = new char[30]; |
33 _LIT16(KTxt, "hellohello"); |
33 _LIT16(KTxt, "hellohello"); |
54 } |
54 } |
55 __UHEAP_MARKEND; |
55 __UHEAP_MARKEND; |
56 __UHEAP_RESET; |
56 __UHEAP_RESET; |
57 |
57 |
58 testResultXml("test_tptrc16tochar_reliability"); |
58 testResultXml("test_tptrc16tochar_reliability"); |
59 |
|
60 return 0; |
|
61 } |
59 } |