traceservices/tracefw/ost_trace_api/unit_test/te_ost/inc/te_check_record_content_step.h
changeset 0 08ec8eefde2f
child 23 26645d81f48d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/traceservices/tracefw/ost_trace_api/unit_test/te_ost/inc/te_check_record_content_step.h	Fri Jan 22 11:06:30 2010 +0200
@@ -0,0 +1,51 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+/**
+ @file te_check_record_content_step.h
+ @internalTechnology
+*/
+
+#ifndef TE_CHECK_RECORD_CONTENT_STEP_H_
+#define TE_CHECK_RECORD_CONTENT_STEP_H_
+#include <TestExecuteStepBase.h>
+#include "te_suite_step_base.h"
+#include "te_parser.h"
+
+
+class CCheckRecordContentStep : public CTe_UTraceSuiteStepBase
+	{
+public:
+	CCheckRecordContentStep();
+	~CCheckRecordContentStep();
+	virtual TVerdict doTestStepPreambleL();
+	virtual TVerdict doTestStepL();
+//	virtual TVerdict doTestStepPostambleL();
+private:
+	TInt CompareTraces();
+	TInt WriteTraces();
+	TInt ReadTraces();
+	TTraceConfigs* CreateTrace(TTraceApiUsed aApi);
+	TTraceParser	iParser;
+	
+	RPointerArray<TTraceConfigs> iLoggedTraces;
+	RPointerArray<TTraceConfigs> iSentTraces;
+	};
+
+_LIT(KCheckRecordContentStep,"CCheckRecordContentStep");
+
+#endif /*TE_CHECK_RECORD_CONTENT_STEP_H_*/