--- a/smsprotocols/smsstack/wapprot/test/TE_WAPTHDR/TE_testwapthdr.cpp Thu Aug 19 11:03:36 2010 +0300
+++ b/smsprotocols/smsstack/wapprot/test/TE_WAPTHDR/TE_testwapthdr.cpp Tue Aug 31 16:23:08 2010 +0300
@@ -20,6 +20,11 @@
#include "TE_wapthdrbase.h"
#include "smsstackutils.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "TE_testwapthdrTraces.h"
+#endif
+
const TInt KSmsLogBufferSize = 1280;
TVerdict CTestParseWapTextMessage::doTestStepL()
@@ -203,7 +208,7 @@
// Send a buffer too long for the logger to handle, therefore causing an overflow.
// Function will panic if overflow handler is not implemented correctly.
INFO_PRINTF1(_L("Testing LOGSMSIF2..."));
- LOGSMSIF2("%S",&buf);
+ OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTESTLOGGEROVERFLOW_DOTESTSTEPL_1, "%s",buf);
return TestStepResult();
}