resourcemgmt/hwresourcesmgr/test/te_hwrm/hwrmtestbase.h
changeset 70 653a8b91b95e
parent 52 d6b9e89d80a3
--- a/resourcemgmt/hwresourcesmgr/test/te_hwrm/hwrmtestbase.h	Fri Sep 10 19:45:56 2010 +0300
+++ b/resourcemgmt/hwresourcesmgr/test/te_hwrm/hwrmtestbase.h	Thu Sep 23 10:05:41 2010 +0300
@@ -167,9 +167,10 @@
 	
 	void ExpectBatteryLevelNotificationL(EPSHWRMBatteryLevel aBatteryLevel);
 	void ExpectBatteryStatusNotificationL(EPSHWRMBatteryStatus aStatus);
+	void ExpectExtendedBatteryStatusNotificationL(EPSHWRMBatteryStatus aStatus);
 	void ExpectedChargingStatusNotificationsL(EPSHWRMChargingStatus aStatus);
-	
-	void ExpectBatteryPowerMeasurementsErrorL(TInt aErrorCode);
+	void ExpectedExtendedChargingStatusNotificationsL(EPSHWRMChargingStatus aStatus);
+	void ExpectBatteryPowerMeasurementsErrorL(TInt aErrorCode);	
 	
 	// TO DO: temp solution, need to add counters
 	void CheckPluginInsensitivity();
@@ -185,7 +186,9 @@
 	void CleanupPropertyObservers();
 	void BatteryLevelChanged(TInt aBatteryLevel);
 	void BatteryStatusChanged(TInt aBatteryStatus);
+	void ExtendedBatteryStatusChanged(TInt aBatteryStatus);
 	void ChargingStatusChanged(TInt aChargingStatus);
+	void ExtendedChargingStatusChanged(TInt aChargingStatus);
 	
 	const TDesC& MapVibraModeState(CHWRMVibra::TVibraModeState aState);
 	const TDesC& MapVibraModeStatus(CHWRMVibra::TVibraStatus aStatus);
@@ -251,7 +254,9 @@
     RArray<CHWRMVibra::TVibraFeedbackModeState>	iExpectedVibraFeedbackModeNotifications;
 	RArray<EPSHWRMBatteryLevel> iExpectedBatteryLevelNotifications;
 	RArray<EPSHWRMBatteryStatus> iExpectedBatteryStatusNotifications;
+	RArray<EPSHWRMBatteryStatus> iExpectedExtendedBatteryStatusNotifications;
 	RArray<EPSHWRMChargingStatus> iExpectedChargingStatusNotifications;
+	RArray<EPSHWRMChargingStatus> iExpectedExtendedChargingStatusNotifications;
 	RArray<TInt> iExpectedBatteryPowerMeasurementsError;
 #ifdef SYMBIAN_HWRM_EXTPOWERINFO
 	RArray<TInt> iExpectedBatteryChargingTimeMeasurementsError;
@@ -316,7 +321,9 @@
 	// P&S property observers
 	CPsPropertyObserver* iBatteryLevelObserver;
 	CPsPropertyObserver* iBatteryStatusObserver;
+	CPsPropertyObserver* iExtendedBatteryStatusObserver;
 	CPsPropertyObserver* iChargingStatusObserver;
+	CPsPropertyObserver* iExtendedChargingStatusObserver;
 	
 	TBool iTearingDown;
 	TBool iIgnoreStatusNotifications;