utilitylibraries/libutils/tsrc/src/test_chartohbufc16_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 	char* mycharstring = "Hello";
    33 	char* mycharstring = "Hello";
    34 	_LIT16(KTxt,"dcdfdddcdcdc");
    34 	_LIT16(KTxt,"dcdfdddcdcdc");
    59 	CleanupStack::PopAndDestroy();
    59 	CleanupStack::PopAndDestroy();
    60 
    60 
    61 	__UHEAP_MARKEND;
    61 	__UHEAP_MARKEND;
    62 	__UHEAP_RESET;
    62 	__UHEAP_RESET;
    63     testResultXml("test_chartohbufc16_reliability");
    63     testResultXml("test_chartohbufc16_reliability");
       
    64 	return 0;
    64 }
    65 }