utilitylibraries/libutils/tsrc/src/test_tlit8towstring_positive.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    17 #include <stdio.h>
    17 #include <stdio.h>
    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 void main()
    22 int main()
    23 {
    23 {
    24     __UHEAP_MARK;
    24     __UHEAP_MARK;
    25     {
    25     {
    26     _LIT8(Kname,"tlit8tochar");
    26     _LIT8(Kname,"tlit8tochar");
    27     TBuf8 <20>src;
    27     TBuf8 <20>src;
    28     src.Copy(Kname);
    28     src.Copy(Kname);
    29     wstring str;
    29     wstring str;
    30     int size=10;
    30     //int size=10;
    31     int retval =ESuccess;
    31     int retval =ESuccess;
    32 //    int i=0;
    32 //    int i=0;
    33 //    while (i<=1000)
    33 //    while (i<=1000)
    34 //    {
    34 //    {
    35     retval= Tlitc8ToWstring(src,str);
    35     retval= Tlitc8ToWstring(src,str);
    47     printf(" Testtlit8towstring FAILURE\n");
    47     printf(" Testtlit8towstring FAILURE\n");
    48     }
    48     }
    49     }
    49     }
    50     __UHEAP_MARKEND;
    50     __UHEAP_MARKEND;
    51     testResultXml("Test_tlit8towstring_positive");
    51     testResultXml("Test_tlit8towstring_positive");
       
    52 	return 0;
    52 }
    53 }