utilitylibraries/libutils/tsrc/src/test_chartohubfc8_negative1.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    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 }