commsconfig/commsdatabaseshim/TE_commdb/te_connpref/inc/TE_ConnPrefStep.h
changeset 72 ae47d0499bee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commsconfig/commsdatabaseshim/TE_commdb/te_connpref/inc/TE_ConnPrefStep.h	Mon Sep 06 13:49:23 2010 +0100
@@ -0,0 +1,72 @@
+//
+// Copyright (c) 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 TS_ConnPrefStep.cpp.h
+ *
+ * This defines the CTE_ConnPrefStep class which is the base class for all 
+ * the ConnPrefStep test step classes
+ *
+ */
+ 
+#if (!defined __TS_CONNPREFSTEP_H__)
+#define __TS_CONNPREFSTEP_H__
+
+#include <e32std.h>
+#include <cdbstore.h>
+
+#include "TE_ConnPrefServer.h"
+
+// Connection Configuration Lits
+_LIT(KNameDefault, "default");
+
+// Test step names
+_LIT(KConstructAndVersion,  "ConstructAndVersion"); 
+_LIT(KSetAndGetConnPrefs,  "SetAndGetConnPrefs"); 
+_LIT(KComparePrefs,  "ComparePrefs");  
+_LIT(KAssignAndCopyConstruct ,  "AssignAndCopyConstruct"); 
+_LIT(KExtensionIdAndCast ,  "ExtensionIdAndCast"); 
+_LIT(KMultiConnPref ,  "MultiConnPref");
+_LIT(KMultiConnPrefVersion,  "MultiConnPrefVersion");
+_LIT(KMultiConnectionAttempts,  "MultiConnectionAttempts");
+
+//Error string.
+_LIT(KEGeneric, "Test left!"); 
+			
+
+class CTE_ConnPrefServer;
+
+/* CTE_ConnPrefStep class declaration
+ * Provides the base class for all ConnPref test steps
+ *
+ */
+class CTE_ConnPrefStep : public CTestStep
+	{
+public:
+	CTE_ConnPrefStep();
+	virtual ~CTE_ConnPrefStep();
+	enum TVerdict Test(TInt aResult);
+
+	void ExpLogExtra(const TText8* aFile, TInt aLine, TInt aSeverity,
+		TRefByValue<const TDesC> aFmt,...);
+	
+	
+	CTE_ConnPrefServer* iOwnerSuite;	///< Pointer to suite which owns this test step
+	
+	};
+
+#endif /* __TS_CONNPREFSTEP_H__ */