telephonyserverplugins/simtsy/test/Te_SimPacket/Te_SimPacket.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 11 May 2010 17:18:08 +0300
branchRCL_3
changeset 10 4284d6390a82
parent 0 3553901f7fa8
permissions -rw-r--r--
Revision: 201019 Kit: 201019

//
// Copyright (c) 2009 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\Te_SimPacket_setup.script
//
LOAD_SUITE Te_SimPacket
//
START_TESTCASE TEL-SIMTSY-NA-7000
//!@SYMTestCaseID TEL-SIMTSY-NA-7000
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Default Context Parameters Test
//!@SYMTestPriority critical
//!@SYMTestActions Creates a GPRS context using default parameters
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsDefaultContextParamsTest
//
END_TESTCASE TEL-SIMTSY-NA-7000

START_TESTCASE TEL-SIMTSY-NA-7001
//!@SYMTestCaseID TEL-SIMTSY-NA-7001
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc QoS Test
//!@SYMTestPriority critical
//!@SYMTestActions Test QoS usaing various parameters
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket QoSTest
//
END_TESTCASE TEL-SIMTSY-NA-7001

START_TESTCASE TEL-SIMTSY-NA-7002
//!@SYMTestCaseID TEL-SIMTSY-NA-7002
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs UnSupported Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests all unsupported GPRS API calls to the TSY   
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsUnSupportedTest
//
END_TESTCASE TEL-SIMTSY-NA-7002

START_TESTCASE TEL-SIMTSY-NA-7003
//!@SYMTestCaseID TEL-SIMTSY-NA-7003
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Context Attach Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests the context attach and detach
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextAttachTest
//
END_TESTCASE TEL-SIMTSY-NA-7003

START_TESTCASE TEL-SIMTSY-NA-7004
//!@SYMTestCaseID TEL-SIMTSY-NA-7004
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Context Delete Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests the deletion of a context    
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextDeleteTest
//
END_TESTCASE TEL-SIMTSY-NA-7004

START_TESTCASE TEL-SIMTSY-NA-7005
//!@SYMTestCaseID TEL-SIMTSY-NA-7005
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs context loan com port
//!@SYMTestPriority critical
//!@SYMTestActions  Tests the loan of a com port
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextLoanComport
//
END_TESTCASE TEL-SIMTSY-NA-7005

START_TESTCASE TEL-SIMTSY-NA-7006
//!@SYMTestCaseID TEL-SIMTSY-NA-7006
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Context UnSupported Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests all the unsupported context API's in the TSY
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextUnSupportedTest
//
END_TESTCASE TEL-SIMTSY-NA-7006

START_TESTCASE TEL-SIMTSY-NA-7007
//!@SYMTestCaseID TEL-SIMTSY-NA-7007
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Cancel Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests the GPRS cancell API's  
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsCancelTest
//
END_TESTCASE TEL-SIMTSY-NA-7007

START_TESTCASE TEL-SIMTSY-NA-7008
//!@SYMTestCaseID TEL-SIMTSY-NA-7008
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc  Gprs Attach Test
//!@SYMTestPriority critical
//!@SYMTestActions  Gprs Attach Test   
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsAttachTest
//
END_TESTCASE TEL-SIMTSY-NA-7008

START_TESTCASE TEL-SIMTSY-NA-7009
//!@SYMTestCaseID TEL-SIMTSY-NA-7009
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Notification Test
//!@SYMTestPriority critical
//!@SYMTestActions Gprs context notification test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsNotificationTest
//
END_TESTCASE TEL-SIMTSY-NA-7009

START_TESTCASE TEL-SIMTSY-NA-7010
//!@SYMTestCaseID TEL-SIMTSY-NA-7010
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Ms Class Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests the Ms Class
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsMsClassTest
//
END_TESTCASE TEL-SIMTSY-NA-7010

START_TESTCASE TEL-SIMTSY-NA-7011
//!@SYMTestCaseID TEL-SIMTSY-NA-7011
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Context Config Test
//!@SYMTestPriority critical
//!@SYMTestActions Test Gprs context configuration  
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextConfigTest
//
END_TESTCASE TEL-SIMTSY-NA-7011

START_TESTCASE TEL-SIMTSY-NA-7012
//!@SYMTestCaseID TEL-SIMTSY-NA-7012
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Gprs Context Config Notifications Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests Gprs Context Configuration Notifications    
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextConfigNotificationsTest
//
END_TESTCASE TEL-SIMTSY-NA-7012

START_TESTCASE TEL-SIMTSY-NA-7013
//!@SYMTestCaseID TEL-SIMTSY-NA-7013
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Open Gprs Max Contexts Test
//!@SYMTestPriority critical
//!@SYMTestActions Tests opening the maximum number of gprs contexts 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket OpenGprsMaxContextsTest
//
END_TESTCASE TEL-SIMTSY-NA-7013

START_TESTCASE TEL-SIMTSY-NA-7014
//!@SYMTestCaseID TEL-SIMTSY-NA-7014
//!@SYMDEF DEF119516
//!@SYMTestCaseDesc Gprs Context Config Arbitrary Address Test
//!@SYMTestPriority critical
//!@SYMTestActions Test Gprs context configuration using an Arbitrary Address 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket GprsContextConfigArbitraryAddressTest
//
END_TESTCASE TEL-SIMTSY-NA-7014

START_TESTCASE TEL-SIMTSY-NA-7015
//!@SYMTestCaseID TEL-SIMTSY-NA-7015
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test OpenNewContext API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call OpenNewContext() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7015.exe 
LOAD_SUITE Te_SimPacketTest7015
RUN_TEST_STEP 30 Te_SimPacketTest7015 EtelPcktMbmsCap1
END_TESTCASE TEL-SIMTSY-NA-7015

START_TESTCASE TEL-SIMTSY-NA-7016 
//!@SYMTestCaseID TEL-SIMTSY-NA-7016
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test UpdateMbmsSessionList API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call UpdateMbmsSessionList() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7016.exe
LOAD_SUITE Te_SimPacketTest7016
RUN_TEST_STEP 30 Te_SimPacketTest7016 EtelPcktMbmsCap2
END_TESTCASE TEL-SIMTSY-NA-7016

START_TESTCASE TEL-SIMTSY-NA-7017
//!@SYMTestCaseID TEL-SIMTSY-NA-7017
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test GetMbmsNetworkServiceStatus API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call GetMbmsNetworkServiceStatus() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7017.exe 
LOAD_SUITE Te_SimPacketTest7017
RUN_TEST_STEP 30 Te_SimPacketTest7017 EtelPcktMbmsCap3
END_TESTCASE TEL-SIMTSY-NA-7017

START_TESTCASE TEL-SIMTSY-NA-7018
//!@SYMTestCaseID TEL-SIMTSY-NA-7018
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test NotfyMbmsNetworkServiceStatusChange API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call NotfyMbmsNetworkServiceStatusChange() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7018.exe 
LOAD_SUITE Te_SimPacketTest7018
RUN_TEST_STEP 30 Te_SimPacketTest7018 EtelPcktMbmsCap4
END_TESTCASE TEL-SIMTSY-NA-7018

START_TESTCASE TEL-SIMTSY-NA-7019
//!@SYMTestCaseID TEL-SIMTSY-NA-7019
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test NotifyMbmsServiceAvailabilityListChange API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call NotifyMbmsServiceAvailabilityListChange() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7019.exe 
LOAD_SUITE Te_SimPacketTest7019
RUN_TEST_STEP 30 Te_SimPacketTest7019 EtelPcktMbmsCap5
END_TESTCASE TEL-SIMTSY-NA-7019

START_TESTCASE TEL-SIMTSY-NA-7020
//!@SYMTestCaseID TEL-SIMTSY-NA-7020
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test UpdateMbmsMonitorServiceList API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call UpdateMbmsMonitorServiceList() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7020.exe 
LOAD_SUITE Te_SimPacketTest7020
RUN_TEST_STEP 30 Te_SimPacketTest7020 EtelPcktMbmsCap6
END_TESTCASE TEL-SIMTSY-NA-7020

START_TESTCASE TEL-SIMTSY-NA-7021
//!@SYMTestCaseID TEL-SIMTSY-NA-7021
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test EnumerateMbmsActiveServiceList API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call EnumerateMbmsActiveServiceList() with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7021.exe 
LOAD_SUITE Te_SimPacketTest7021
RUN_TEST_STEP 30 Te_SimPacketTest7021 EtelPcktMbmsCap7
END_TESTCASE TEL-SIMTSY-NA-7021

START_TESTCASE TEL-SIMTSY-NA-7022
//!@SYMTestCaseID TEL-SIMTSY-NA-7022
//!@SYMREQ REQ9170
//!@SYMTestCaseDesc Test EnumerateMbmsMonitorServiceList API with different capability
//!@SYMTestPriority High 
//!@SYMTestActions 
//!	(i) Call EnumerateMbmsMonitorServiceList () with different capability.
//!@SYMTestExpectedResults The API should mimic the perceived behaviour on an actual TSY. 
//!@SYMTestType CIT
RUN_PROGRAM -1 setcap.exe Te_SimPacket.exe  02400 -SID 10281806 Te_SimPacketTest7022.exe 
LOAD_SUITE Te_SimPacketTest7022
RUN_TEST_STEP 30 Te_SimPacketTest7022 EtelPcktMbmsCap8
END_TESTCASE TEL-SIMTSY-NA-7022


START_TESTCASE TEL-SIMTSY-NA-7023
//!@SYMTestCaseID TEL-SIMTSY-NA-7023
//!@SYMDEF DEF125535
//!@SYMTestCaseDesc Tests that multiple requests can cancel at the same time.
//!@SYMTestPriority High
//!@SYMTestActions Open two handles and post two notifications. Then cancel one and force the other one to cancel too.
//!@SYMTestExpectedResults Pass. ETEL should not panic
//!@SYMTestType CT
RUN_TEST_STEP 30 Te_SimPacket TestMultipleCompletionWithClosingContext
END_TESTCASE TEL-SIMTSY-NA-7023

LOAD_SUITE Te_SimPacket
START_TESTCASE TEL-SIMTSY-NA-7024
//!@SYMTestCaseID TEL-SIMTSY-NA-7024
//!@SYMPREQ PREQ1854
//!@SYMTestCaseDesc Tests RPacketService::GetDynamicCaps and RPacketService::NotifyDynamicCapsChange
//!@SYMTestPriority High
//!@SYMTestActions Opens packet service, gets the dynamic capabilities and requests change notifications, which it should receive.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//
RUN_TEST_STEP 30 Te_SimPacket TestDynamicCaps
//
END_TESTCASE TEL-SIMTSY-NA-7024