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 __UHEAP_MARK; |
26 __UHEAP_MARK; |
27 int retval =ESuccess; |
27 int retval =ESuccess; |
28 char* mycharstring = "Hello char String"; |
28 char* mycharstring = "Hello char String"; |
29 HBufC8 *buf = HBufC8::NewMaxL(0); |
29 HBufC8 *buf = HBufC8::NewMaxL(0); |
40 printf("chartohbufc8 Failed"); |
40 printf("chartohbufc8 Failed"); |
41 } |
41 } |
42 CleanupStack::PopAndDestroy(1); |
42 CleanupStack::PopAndDestroy(1); |
43 __UHEAP_MARKEND; |
43 __UHEAP_MARKEND; |
44 testResultXml("test_chartohbufc8_negative1"); |
44 testResultXml("test_chartohbufc8_negative1"); |
|
45 return 0; |
45 } |
46 } |