utilitylibraries/libutils/tsrc/src/test_chartotbuf16_reliability.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    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 
    22 
    23 void main()
    23 int main()
    24 {
    24 {
    25 	int count = 1;
    25 	//int count = 1;
    26 	bool err = false;
    26 	bool err = false;
    27 	__UHEAP_MARK;
    27 	__UHEAP_MARK;
    28 	__UHEAP_FAILNEXT(count);
    28 	__UHEAP_FAILNEXT(1);
    29 	while(!err)
    29 	while(!err)
    30 	{
    30 	{
    31 	int retval =ESuccess;
    31 	int retval =ESuccess;
    32 	char* mycharstring = "Hello Char String";
    32 	char* mycharstring = "Hello Char String";
    33 	TBuf16 <25> myTbuf;
    33 	TBuf16 <25> myTbuf;
    52     }      
    52     }      
    53 	}
    53 	}
    54 	__UHEAP_MARKEND;
    54 	__UHEAP_MARKEND;
    55 	__UHEAP_RESET;
    55 	__UHEAP_RESET;
    56     testResultXml("test_chartotbuf16_reliability");
    56     testResultXml("test_chartotbuf16_reliability");
       
    57 	return 0;
    57 }
    58 }