cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestepbase.h
changeset 49 f50f4094acd7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestepbase.h	Tue Jul 06 15:36:38 2010 +0300
@@ -0,0 +1,85 @@
+//  TestTelephonyPktTestStepBase.h
+//  Copyright (c) Symbian Software Ltd 2008. All rights reserved.
+//
+//  Implementation of the Class CTestTelephonyPktTestStepBase
+
+#ifndef TESTLTSYPHONESTEPBASE_H_
+#define TESTLTSYPHONESTEPBASE_H_
+
+
+#include <e32base.h>
+#include <es_sock.h>
+#include <es_enum.h>
+
+// user include
+#include "te_integration_stltsysuitestepbase.h"
+#include "TestLtsyModel.h"
+
+const TInt	KOneSecond = 1000000;
+
+/**
+ * This is the test step base class of phone test 
+ * category which provides methods
+ */
+class CTestLtsyPhoneStepBase : public CTe_integration_stltsySuiteStepBase
+/**
+ * @internalAll
+ * @test
+ */
+	{
+public:
+	virtual TVerdict doTestStepPreambleL();
+	virtual TVerdict doTestStepPostambleL();
+	
+protected:
+	CTestLtsyPhoneStepBase(CTestLtsyModel& aModel);
+	virtual ~CTestLtsyPhoneStepBase();
+	
+	RMobilePhone& SharedPhone();
+	
+	void TestOpenPhoneL();
+	void TestClosePhone();
+	void GetFdnStatus();
+	void GetNetworkRegistrationStatus();
+	void GetPhoneId();
+	void GetDetectedNetworksL();
+	void GetDetectedNetworksCancelL(); //NO
+	void SetNetworkSelectionSetting();
+	void SelectNetwork();
+	void SetAndSelectNetwork(); //NO
+	
+	void GetBatteryInfo();
+	void GetBatteryCaps();
+	void NotifyBatteryInfoChange();
+	void GetBatteryStrengthCancel();
+	
+	void GetSignalStrength();
+	void GetSignalCaps();
+	void NotifySignalStrengthChange();
+	void GetSignalStrengthCancel();
+	
+	void GetHomeNetwork();
+	void GetServiceProviderName();//NO
+
+	
+	void GetCurrentNetworkInfo();
+//	void GetNetworkMode();
+	void GetNitzInfo();//no
+	
+//	void GetCurrentSystemNetworkModes();  //RMmCustomAPI
+//	void GetNetworkProviderName(); //RMmCustomAPI
+//	void GetOperatorName();  //RMmCustomAPI
+	void RegisterCellInfoChangeNotification();
+	void GetCellInfo();
+//	void GetPhoneCellInfo(); //RMmCustomAPI
+	
+	
+protected:
+	CTestLtsyModel& iModel;
+	RMobilePhone& iSharedPhone;
+	
+private:
+
+	};
+
+#endif // TESTLTSYPHONESTEPBASE_H_