utilitylibraries/libutils/tsrc/src/test_hbufc8towstring_reliability.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    19 #include <e32base.h>
    19 #include <e32base.h>
    20 #include "libutils.h"
    20 #include "libutils.h"
    21 #include"std_log_result.h"
    21 #include"std_log_result.h"
    22 #define LOG_FILENAME_LINE __FILE__, __LINE__
    22 #define LOG_FILENAME_LINE __FILE__, __LINE__
    23 
    23 
    24 int main()
    24 void main()
    25 {
    25 {
    26 	//int count = 3;
    26 	int count = 3;
    27 	bool err = false;
    27 	bool err = false;
    28 	__UHEAP_MARK;
    28 	__UHEAP_MARK;
    29 	__UHEAP_FAILNEXT(3);
    29 	__UHEAP_FAILNEXT(count);
    30 	{
    30 	{
    31 	wstring myString;
    31 	wstring myString;
    32 	while(!err)
    32 	while(!err)
    33 	{
    33 	{
    34 	int retval =ESuccess;
    34 	int retval =ESuccess;
    56 }
    56 }
    57 	__UHEAP_MARKEND;
    57 	__UHEAP_MARKEND;
    58 	__UHEAP_RESET;
    58 	__UHEAP_RESET;
    59 
    59 
    60     testResultXml("test_hbufc8towstring_reliability");
    60     testResultXml("test_hbufc8towstring_reliability");
    61 	return 0;
       
    62 }
    61 }