utilitylibraries/libutils/tsrc/src/test_hbufc16towstring_reliability.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    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 void main()
    24 int 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(count);
    29 	__UHEAP_FAILNEXT(3);
    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_hbufc16towstring_reliability");
    60     testResultXml("test_hbufc16towstring_reliability");
       
    61 	return 0;
    61 }
    62 }