utilitylibraries/libutils/tsrc/src/test_wstringtorbuf16_positive.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 71 28ccaba883f4
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     wstring str(L"Hello World");
    26     wstring str(L"Hello World");
    27     __UHEAP_MARK;
    27     __UHEAP_MARK;
    28     RBuf16 buf;
    28     RBuf16 buf;
    29     buf.CleanupClosePushL();
    29     buf.CleanupClosePushL();
    40     printf("wstringtorbuf16 Failed");
    40     printf("wstringtorbuf16 Failed");
    41     }	
    41     }	
    42     CleanupStack::PopAndDestroy(1);
    42     CleanupStack::PopAndDestroy(1);
    43     __UHEAP_MARKEND;
    43     __UHEAP_MARKEND;
    44     testResultXml("test_wstringtorbuf16_positive");
    44     testResultXml("test_wstringtorbuf16_positive");
       
    45 	return 0;
    45 }
    46 }