cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestepbase.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
child 21 4814c5a49428
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 //  TestTelephonyPktTestStepBase.h
       
     2 //  Copyright (c) Symbian Software Ltd 2008. All rights reserved.
       
     3 //
       
     4 //  Implementation of the Class CTestTelephonyPktTestStepBase
       
     5 
       
     6 #ifndef TESTLTSYPHONESTEPBASE_H_
       
     7 #define TESTLTSYPHONESTEPBASE_H_
       
     8 
       
     9 
       
    10 #include <e32base.h>
       
    11 #include <es_sock.h>
       
    12 #include <es_enum.h>
       
    13 
       
    14 // user include
       
    15 #include "te_integration_stltsysuitestepbase.h"
       
    16 #include "TestLtsyModel.h"
       
    17 
       
    18 const TInt	KOneSecond = 1000000;
       
    19 
       
    20 /**
       
    21  * This is the test step base class of phone test 
       
    22  * category which provides methods
       
    23  */
       
    24 class CTestLtsyPhoneStepBase : public CTe_integration_stltsySuiteStepBase
       
    25 /**
       
    26  * @internalAll
       
    27  * @test
       
    28  */
       
    29 	{
       
    30 public:
       
    31 	virtual TVerdict doTestStepPreambleL();
       
    32 	virtual TVerdict doTestStepPostambleL();
       
    33 	
       
    34 protected:
       
    35 	CTestLtsyPhoneStepBase(CTestLtsyModel& aModel);
       
    36 	virtual ~CTestLtsyPhoneStepBase();
       
    37 	
       
    38 	RMobilePhone& SharedPhone();
       
    39 	
       
    40 	void TestOpenPhoneL();
       
    41 	void TestClosePhone();
       
    42 	void GetFdnStatus();
       
    43 	void GetNetworkRegistrationStatus();
       
    44 	void GetPhoneId();
       
    45 	void GetDetectedNetworksL();
       
    46 	void GetDetectedNetworksCancelL(); //NO
       
    47 	void SetNetworkSelectionSetting();
       
    48 	void SelectNetwork();
       
    49 	void SetAndSelectNetwork(); //NO
       
    50 	
       
    51 	void GetBatteryInfo();
       
    52 	void GetBatteryCaps();
       
    53 	void NotifyBatteryInfoChange();
       
    54 	void GetBatteryStrengthCancel();
       
    55 	
       
    56 	void GetSignalStrength();
       
    57 	void GetSignalCaps();
       
    58 	void NotifySignalStrengthChange();
       
    59 	void GetSignalStrengthCancel();
       
    60 	
       
    61 	void GetHomeNetwork();
       
    62 	void GetServiceProviderName();//NO
       
    63 
       
    64 	
       
    65 	void GetCurrentNetworkInfo();
       
    66 //	void GetNetworkMode();
       
    67 	void GetNitzInfo();//no
       
    68 	
       
    69 //	void GetCurrentSystemNetworkModes();  //RMmCustomAPI
       
    70 //	void GetNetworkProviderName(); //RMmCustomAPI
       
    71 //	void GetOperatorName();  //RMmCustomAPI
       
    72 	void RegisterCellInfoChangeNotification();
       
    73 	void GetCellInfo();
       
    74 //	void GetPhoneCellInfo(); //RMmCustomAPI
       
    75 	
       
    76 	
       
    77 protected:
       
    78 	CTestLtsyModel& iModel;
       
    79 	RMobilePhone& iSharedPhone;
       
    80 	
       
    81 private:
       
    82 
       
    83 	};
       
    84 
       
    85 #endif // TESTLTSYPHONESTEPBASE_H_