utilitylibraries/libutils/tsrc/src/test_wchartohbufc8_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 = 2;
    26 	//int count = 2;
    27 	bool err = false;
    27 	bool err = false;
    28 	__UHEAP_MARK;
    28 	__UHEAP_MARK;
    29 	__UHEAP_FAILNEXT(count);
    29 	__UHEAP_FAILNEXT(2);
    30 	while(!err)
    30 	while(!err)
    31 	{
    31 	{
    32 	int retval =ESuccess;
    32 	int retval =ESuccess;
    33 	wchar_t* mywcharstring = L"Hello";
    33 	wchar_t* mywcharstring = L"Hello";
    34 	_LIT8(Kname,"hellohello");
    34 	_LIT8(Kname,"hellohello");
    57 	}
    57 	}
    58 	CleanupStack::PopAndDestroy();
    58 	CleanupStack::PopAndDestroy();
    59 	__UHEAP_MARKEND;
    59 	__UHEAP_MARKEND;
    60 	__UHEAP_RESET;
    60 	__UHEAP_RESET;
    61     testResultXml("test_wchartohbufc8_reliability");
    61     testResultXml("test_wchartohbufc8_reliability");
       
    62 	
       
    63 	return 0;
    62 }
    64 }