telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_phonepower_individual.script
//
// Copyright (c) 2009-2010 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:
//
//
RUN_SCRIPT z:\TestData\Scripts\mockltsy_copy_ini_file.script
LOAD_SUITE te_ctsy_component
START_TESTCASE BA-CTSY-PP-MGBC-0001
//!@SYMTestCaseID BA-CTSY-PP-MGBC-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::GetBatteryCaps
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobilePhone::GetBatteryCaps
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestGetBatteryCaps0001L
END_TESTCASE BA-CTSY-PP-MGBC-0001
START_TESTCASE BA-CTSY-PP-MGBI-0001
//!@SYMTestCaseID BA-CTSY-PP-MGBI-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::GetBatteryInfo
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobilePhone::GetBatteryInfo
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestGetBatteryInfo0001L
END_TESTCASE BA-CTSY-PP-MGBI-0001
START_TESTCASE BA-CTSY-PP-MGBI-0004
//!@SYMTestCaseID BA-CTSY-PP-MGBI-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobilePhone::GetBatteryInfo
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobilePhone::GetBatteryInfo
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestGetBatteryInfo0004L
END_TESTCASE BA-CTSY-PP-MGBI-0004
START_TESTCASE BA-CTSY-PP-MNBIC-0001
//!@SYMTestCaseID BA-CTSY-PP-MNBIC-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestNotifyBatteryInfoChange0001L
END_TESTCASE BA-CTSY-PP-MNBIC-0001
START_TESTCASE BA-CTSY-PP-MNBIC-0002
//!@SYMTestCaseID BA-CTSY-PP-MNBIC-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestNotifyBatteryInfoChange0002L
END_TESTCASE BA-CTSY-PP-MNBIC-0002
START_TESTCASE BA-CTSY-PP-MNBIC-0004
//!@SYMTestCaseID BA-CTSY-PP-MNBIC-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobilePhone::NotifyBatteryInfoChange
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyPhonePowerFU.TestNotifyBatteryInfoChange0004L
END_TESTCASE BA-CTSY-PP-MNBIC-0004
RUN_SCRIPT z:\TestData\Scripts\mockltsy_remove_ini_file.script