utilitylibraries/libutils/tsrc/src/test_tbufc8tostring_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 = 2;
    25 	//int count = 2;
    26 	bool err = false;
    26 	bool err = false;
    27 	__UHEAP_MARK;
    27 	__UHEAP_MARK;
    28 	__UHEAP_FAILNEXT(count);
    28 	__UHEAP_FAILNEXT(2);
    29 	{
    29 	{
    30 	string myString;
    30 	string myString;
    31 	while(!err)
    31 	while(!err)
    32 	{
    32 	{
    33 	int retval =ESuccess;
    33 	int retval =ESuccess;
    53 }
    53 }
    54 	__UHEAP_MARKEND;
    54 	__UHEAP_MARKEND;
    55 	__UHEAP_RESET;
    55 	__UHEAP_RESET;
    56 
    56 
    57     testResultXml("test_tbufc8tostring_reliability");
    57     testResultXml("test_tbufc8tostring_reliability");
       
    58 	return 0;
    58 }
    59 }