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 string str("Hello World"); |
26 string str("Hello World"); |
27 __UHEAP_MARK; |
27 __UHEAP_MARK; |
28 HBufC8 *buf = HBufC8::NewMaxL(12); |
28 HBufC8 *buf = HBufC8::NewMaxL(12); |
29 CleanupStack::PushL(buf); |
29 CleanupStack::PushL(buf); |
40 printf("stringtohbufc8 Failed"); |
40 printf("stringtohbufc8 Failed"); |
41 } |
41 } |
42 CleanupStack::PopAndDestroy(1); |
42 CleanupStack::PopAndDestroy(1); |
43 __UHEAP_MARKEND; |
43 __UHEAP_MARKEND; |
44 testResultXml("test_stringtohbufc8_positive"); |
44 testResultXml("test_stringtohbufc8_positive"); |
|
45 return 0; |
45 } |
46 } |