smsprotocols/smsstack/wapprot/test/TE_WAPTHDR/TE_testwapthdr.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 14 7ef16719d8cb
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
    17 
    17 
    18 #include "TE_testwapthdr.h"
    18 #include "TE_testwapthdr.h"
    19 
    19 
    20 #include "TE_wapthdrbase.h"
    20 #include "TE_wapthdrbase.h"
    21 #include "smsstackutils.h"
    21 #include "smsstackutils.h"
       
    22 
       
    23 #include "OstTraceDefinitions.h"
       
    24 #ifdef OST_TRACE_COMPILER_IN_USE
       
    25 #include "TE_testwapthdrTraces.h"
       
    26 #endif
    22 
    27 
    23 const TInt KSmsLogBufferSize = 1280;
    28 const TInt KSmsLogBufferSize = 1280;
    24 
    29 
    25 TVerdict CTestParseWapTextMessage::doTestStepL()
    30 TVerdict CTestParseWapTextMessage::doTestStepL()
    26 /*
    31 /*
   201 	buf.Fill('A');
   206 	buf.Fill('A');
   202 
   207 
   203 	// Send a buffer too long for the logger to handle, therefore causing an overflow.
   208 	// Send a buffer too long for the logger to handle, therefore causing an overflow.
   204 	// Function will panic if overflow handler is not implemented correctly.
   209 	// Function will panic if overflow handler is not implemented correctly.
   205 	INFO_PRINTF1(_L("Testing LOGSMSIF2..."));
   210 	INFO_PRINTF1(_L("Testing LOGSMSIF2..."));
   206 	LOGSMSIF2("%S",&buf);
   211 	OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTESTLOGGEROVERFLOW_DOTESTSTEPL_1, "%s",buf);
   207 
   212 
   208 	return TestStepResult();
   213 	return TestStepResult();
   209 	}
   214 	}
   210 
   215