telephonyserver/etelpacketdata/Te_EtelPacket/Te_EtelPacket.script
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 // Te_etelpacket.script
       
    17 //
       
    18 PRINT example EtelPacket test
       
    19 PRINT 
       
    20 //
       
    21 LOAD_SUITE Te_EtelPacket -SharedData
       
    22 //
       
    23 //!@file
       
    24 START_TESTCASE TEL-ETEL-NA-3000
       
    25 //!@SYMTestCaseID TEL-ETEL-NA-3000
       
    26 //!@SYMREQ REQ0000
       
    27 //!@SYMTestCaseDesc Test RPacketService functionality  
       
    28 //!@SYMTestPriority High
       
    29 //!@SYMTestActions Tests RPacketService functionalities like: attaching to the 
       
    30 //!                packet network, detaches from the packet network, 
       
    31 //!                getting Gprs status, performing context activation, 
       
    32 //!                rejecting the network's request for a PDP context activation,
       
    33 //!                etc. 
       
    34 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    35 //!@SYMTestType CT
       
    36 RUN_TEST_STEP 100 Te_EtelPacket Service
       
    37 
       
    38 END_TESTCASE TEL-ETEL-NA-3000
       
    39 
       
    40 START_TESTCASE TEL-ETEL-NA-3001
       
    41 //!@SYMTestCaseID TEL-ETEL-NA-3001
       
    42 //!@SYMREQ REQ0000
       
    43 //!@SYMTestCaseDesc Test RPacketContext functionality
       
    44 //!@SYMTestPriority High
       
    45 //!@SYMTestActions Tests RPacketContext functions
       
    46 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    47 //!@SYMTestType CT 
       
    48 RUN_TEST_STEP 100 Te_EtelPacket Context
       
    49 
       
    50 END_TESTCASE TEL-ETEL-NA-3001
       
    51 
       
    52 START_TESTCASE TEL-ETEL-NA-3002
       
    53 //!@SYMTestCaseID TEL-ETEL-NA-3002
       
    54 //!@SYMREQ REQ0000
       
    55 //!@SYMTestCaseDesc Test QoS
       
    56 //!@SYMTestPriority High
       
    57 //!@SYMTestActions Gets QoS GPRS capabilities, sets QoS profile params, gets QoS
       
    58 //!                profile params
       
    59 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    60 //!@SYMTestType CT
       
    61 RUN_TEST_STEP 100 Te_EtelPacket QoS
       
    62 
       
    63 END_TESTCASE TEL-ETEL-NA-3002
       
    64 
       
    65 START_TESTCASE TEL-ETEL-NA-3003
       
    66 //!@SYMTestCaseID TEL-ETEL-NA-3003
       
    67 //!@SYMREQ REQ0000
       
    68 //!@SYMTestCaseDesc Test step Extended_Service 
       
    69 //!@SYMTestPriority High
       
    70 //!@SYMTestActions Tests new asynchronous Packet service (RPacketService) methodsc
       
    71 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    72 //!@SYMTestType CT 
       
    73 RUN_TEST_STEP 100 Te_EtelPacket Extended_Service
       
    74 
       
    75 END_TESTCASE TEL-ETEL-NA-3003
       
    76 
       
    77 START_TESTCASE TEL-ETEL-NA-3004
       
    78 //!@SYMTestCaseID TEL-ETEL-NA-3004
       
    79 //!@SYMREQ REQ0000
       
    80 //!@SYMTestCaseDesc Test step 3G.1 
       
    81 //!@SYMTestPriority High
       
    82 //!@SYMTestActions Calls the 3G Packet service (RPacketService) methods
       
    83 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    84 //!@SYMTestType CT 
       
    85 RUN_TEST_STEP 100 Te_EtelPacket 3GPacketService
       
    86  
       
    87 END_TESTCASE TEL-ETEL-NA-3004
       
    88 
       
    89 START_TESTCASE TEL-ETEL-NA-3005
       
    90 //!@SYMTestCaseID TEL-ETEL-NA-3005
       
    91 //!@SYMREQ REQ0000
       
    92 //!@SYMTestCaseDesc Test step 3G.2 
       
    93 //!@SYMTestPriority High
       
    94 //!@SYMTestActions Calls the 3G Packet Context (RPacketContext) methods
       
    95 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    96 //!@SYMTestType CT 
       
    97 RUN_TEST_STEP 100 Te_EtelPacket 3GPacketContext
       
    98 
       
    99 END_TESTCASE TEL-ETEL-NA-3005
       
   100 
       
   101 START_TESTCASE TEL-ETEL-NA-3006
       
   102 //!@SYMTestCaseID TEL-ETEL-NA-3006
       
   103 //!@SYMREQ REQ0000
       
   104 //!@SYMTestCaseDesc Test step 3G.3
       
   105 //!@SYMTestPriority High
       
   106 //!@SYMTestActions Calls the Packet Service QoS methods (RPacketQoS) using the 
       
   107 //!                release 99/Release 4 QoS structures and classes.
       
   108 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   109 //!@SYMTestType CT  
       
   110 RUN_TEST_STEP 100 Te_EtelPacket 3GPacketQoS
       
   111 
       
   112 END_TESTCASE TEL-ETEL-NA-3006
       
   113 
       
   114 START_TESTCASE TEL-ETEL-NA-3007
       
   115 //!@SYMTestCaseID TEL-ETEL-NA-3007
       
   116 //!@SYMREQ REQ0000
       
   117 //!@SYMTestCaseDesc Test step Multiple_Clients 
       
   118 //!@SYMTestPriority High
       
   119 //!@SYMTestActions Tests simultaneous use of the API by Multiple clients
       
   120 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   121 //!@SYMTestType CT  	
       
   122 RUN_TEST_STEP 100 Te_EtelPacket Multiple_Clients
       
   123 
       
   124 END_TESTCASE TEL-ETEL-NA-3007
       
   125 
       
   126 START_TESTCASE TEL-ETEL-NA-3008
       
   127 //!@SYMTestCaseID TEL-ETEL-NA-3008
       
   128 //!@SYMREQ REQ0000
       
   129 //!@SYMTestCaseDesc Test step Rel99 
       
   130 //!@SYMTestPriority High
       
   131 //!@SYMTestActions Calls the 3G Packet service (RPacketService) methods
       
   132 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   133 //!@SYMTestType CT  
       
   134 RUN_TEST_STEP 100 Te_EtelPacket Release_99_Service
       
   135 
       
   136 END_TESTCASE TEL-ETEL-NA-3008
       
   137 
       
   138 START_TESTCASE TEL-ETEL-NA-3009
       
   139 //!@SYMTestCaseID TEL-ETEL-NA-3009
       
   140 //!@SYMREQ REQ0000
       
   141 //!@SYMTestCaseDesc Test step Extended_Service 
       
   142 //!@SYMTestPriority High
       
   143 //!@SYMTestActions Tests new DNS server and protocol configuration related data
       
   144 //!                setting
       
   145 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   146 //!@SYMTestType CT 
       
   147 RUN_TEST_STEP 100 Te_EtelPacket Authentication_And_DNS_Server_Names
       
   148 
       
   149 END_TESTCASE TEL-ETEL-NA-3009
       
   150 
       
   151 START_TESTCASE TEL-ETEL-NA-3010
       
   152 //!@SYMTestCaseID TEL-ETEL-NA-3010
       
   153 //!@SYMREQ REQ0000
       
   154 //!@SYMTestCaseDesc Test PCO_IE
       
   155 //!@SYMTestPriority High
       
   156 //!@SYMTestActions Tests PCO_IE
       
   157 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   158 //!@SYMTestType CT 
       
   159 RUN_TEST_STEP 100 Te_EtelPacket PCO_IE
       
   160 
       
   161 END_TESTCASE TEL-ETEL-NA-3010
       
   162 
       
   163 START_TESTCASE TEL-ETEL-NA-3011
       
   164 //!@SYMTestCaseID TEL-ETEL-NA-3011
       
   165 //!@SYMREQ DEF056553
       
   166 //!@SYMTestCaseDesc Test step Rel5 
       
   167 //!@SYMTestPriority High
       
   168 //!@SYMTestActions Tests API support for header/data compression in SNDCP & PDCP
       
   169 //!                as specified in 3GPP TS  44.065 (SNDCP) and 3GPP TS 25.323 
       
   170 //!                (PDCP)
       
   171 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   172 //!@SYMTestType CT  
       
   173 RUN_TEST_STEP 100 Te_EtelPacket Release_5_Service
       
   174 // 
       
   175 //
       
   176 END_TESTCASE TEL-ETEL-NA-3011
       
   177 
       
   178 START_TESTCASE                 TEL-ETELPCKT-3012
       
   179 //! @SYMTestCaseID               TEL-ETELPCKT-3012
       
   180 //! @SYMTestCaseDesc             The test gets handles to an existing context using RPacketContext::OpenExistingContext.
       
   181 //! @SYMDEF                      INC097511
       
   182 //! @SYMAPI                      RPacketContext
       
   183 //! @SYMTestPriority             High
       
   184 //! @SYMTestActions              Mark the server side heap. Open a context. Get another 100000 handles to this same context. Close the context. Check the heap.
       
   185 //! @SYMTestExpectedResults      The server side should only ever create one object of type to represent the context. All other calls should use this object. The server side heap should be at the same level after close is called on the context.
       
   186 //! @SYMTestType                 CT
       
   187 //! @SYMCreationDate             15/12/2006
       
   188 //! @SYMTestStatus               1. Under Design
       
   189 //! @SYMAuthor                   danieldu
       
   190 RUN_TEST_STEP 100 Te_EtelPacket ConnectEtelLoadTSY z:\testdata\configs\te_etelpacket.ini  EtelTSY
       
   191 RUN_TEST_STEP 100 Te_EtelPacket OpenPhone z:\testdata\configs\te_etelpacket.ini  phone
       
   192 RUN_TEST_STEP 100 Te_EtelPacket OpenPacketService
       
   193 RUN_TEST_STEP 100 Te_EtelPacket OpenContext z:\testdata\configs\te_etelpacket.ini  newContext
       
   194 
       
   195 START_REPEAT z:\testdata\configs\te_etelpacket.ini  NumberOfRepeats count
       
   196 RUN_TEST_STEP 100 Te_EtelPacket OpenContext z:\testdata\configs\te_etelpacket.ini  existingContext
       
   197 END_REPEAT
       
   198 
       
   199 RUN_TEST_STEP 100 Te_EtelPacket CloseContext
       
   200 RUN_TEST_STEP 100 Te_EtelPacket ClosePhone 
       
   201 RUN_TEST_STEP 100 Te_EtelPacket ClosePacketService
       
   202 RUN_TEST_STEP 100 Te_EtelPacket DisconnectEtelUnloadTSY z:\testdata\configs\te_etelpacket.ini  EtelTSY
       
   203 END_TESTCASE                   TEL-ETELPCKT-3012
       
   204 
       
   205 //MBMS TEST CASES
       
   206 
       
   207 START_TESTCASE TEL-ETELPCKT-3013
       
   208 //!@SYMTestCaseID TEL-ETELPCKT-3013
       
   209 //!@SYMTestCaseDesc 		Test MBMS support by the phone and by the current cell
       
   210 //!@SYMTestPriority 		High
       
   211 //!@SYMTestActions 		Create a packet service and call the NotifyMbmsNetworkServiceStatusChange and 
       
   212 //!				GetMbmsNetworkServiceStatus APIs to check the MBMS support. 
       
   213 //!				Also request for GMMAttach in GetMbmsNetworkServiceStatusChange.
       
   214 //!@SYMTestExpectedResults 	Pass, if any APIs fail the step will leave
       
   215 //!@SYMTestType 		CT 
       
   216 //! @SYMCreationDate		16/04/2008
       
   217 //! @SYMAuthor                 	Syed Hamed
       
   218 RUN_TEST_STEP 100 Te_EtelPacket MBMS_SUPPORT
       
   219 END_TESTCASE TEL-ETELPCKT-3013
       
   220 
       
   221 START_TESTCASE TEL-ETELPCKT-3014
       
   222 //!@SYMTestCaseID TEL-ETELPCKT-3014
       
   223 //!@SYMTestCaseDesc 		Monitor MBMS service availability.
       
   224 //!@SYMTestPriority 		High
       
   225 //!@SYMTestActions 		Register MBMS services using UpdateMbmsServiceAvailabilityList with TSY. Later perform 
       
   226 //!				Remove/Removeall operations on the list.
       
   227 //!				Also test once, deleting a single invalid entry and a set of entries containing valid and 
       
   228 //!				invalid entries in single operation.
       
   229 //!@SYMTestExpectedResults 	Pass, if any APIs fail the step will leave
       
   230 //!@SYMTestType 		CT  
       
   231 //! @SYMCreationDate		16/04/2008
       
   232 //! @SYMAuthor                 	Syed Hamed
       
   233 RUN_TEST_STEP 100 Te_EtelPacket MBMS_SERVICE
       
   234 END_TESTCASE TEL-ETELPCKT-3014
       
   235 
       
   236 START_TESTCASE TEL-ETELPCKT-3015
       
   237 //!@SYMTestCaseID TEL-ETELPCKT-3015
       
   238 //!@SYMTestCaseDesc 		MBMS service activation and reception
       
   239 //!@SYMTestPriority 		High
       
   240 //!@SYMTestActions 		Instantiate RPacketMbmsContext; configure and initialise the context,
       
   241 //!				activate, deactivate and close the context.
       
   242 //!				Fetch the current and maximum number of active services.
       
   243 //!				Test the session update with add/removeall operations on the active list.
       
   244 //!				Instantiate RPacketMbmsContext; configure and initialise the context and activate.
       
   245 //!				Add session and later fetch the list of sessions of a service.
       
   246 //!@SYMTestExpectedResults 	Pass, if any APIs fail the step will leave
       
   247 //!@SYMTestType 		CT  
       
   248 //! @SYMCreationDate		16/04/2008
       
   249 //! @SYMAuthor                 	Syed Hamed
       
   250 RUN_TEST_STEP 300 Te_EtelPacket MBMS_CONTEXT
       
   251 END_TESTCASE TEL-ETELPCKT-3015
       
   252 
       
   253 START_TESTCASE TEL-ETEL-NA-3016
       
   254 //!@SYMTestCaseID TEL-ETEL-NA-3016
       
   255 //!@SYMPREQ 1854
       
   256 //!@SYMTestCaseDesc 		Context connection information
       
   257 //!@SYMTestPriority 		High
       
   258 //!@SYMTestActions 		Call GetConnectionInfo using different RPacketContext::TConnectionInfoVXX 
       
   259 //!				parameter class versions. Test also canceling of GetConnectionInfo request.
       
   260 //!				Call NotifyConnectionInfoChange using different RPacketContext::TConnectionInfoVXX
       
   261 //!				parameter class versions. Test also canceling of NotifyConnectionInfoChange request.
       
   262 //!@SYMTestExpectedResults 	Pass, if any APIs fail the step will leave
       
   263 //!@SYMTestType 		CT  
       
   264 //! @SYMCreationDate		15/07/2008
       
   265 //! @SYMAuthor                 	Sami Kukkonen
       
   266 RUN_TEST_STEP 300 Te_EtelPacket Context_Connection_Info
       
   267 END_TESTCASE TEL-ETEL-NA-3016