telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_phonepower_individual.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:23:08 +0300
branchRCL_3
changeset 19 630d2f34d719
parent 0 3553901f7fa8
child 20 07a122eea281
permissions -rw-r--r--
Revision: 201035 Kit: 201035

//
// 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