24
|
1 |
// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Secondary PDP-context stress test 1.
|
|
15 |
//
|
|
16 |
|
|
17 |
|
|
18 |
//! @file te_pdpstresstest1.script
|
|
19 |
|
|
20 |
LOAD_SUITE TE_SpudNetworkSide
|
|
21 |
|
|
22 |
START_REPEAT z:\testdata\configs\te_pdpstresstestsparam.ini Repeat RepeatParam
|
|
23 |
|
|
24 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
25 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0101
|
|
26 |
//! @SYMTestCaseDesc Sanity check: successfully activate Primary context.
|
|
27 |
//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
|
|
28 |
//! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context.
|
|
29 |
//! @SYMTestExpectedResults Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone.
|
|
30 |
//! @SYMTestPriority Critical
|
|
31 |
//! @SYMTestStatus Implemented
|
|
32 |
//! @SYMTestType CIT
|
|
33 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationOk1
|
|
34 |
DELAY 1000
|
|
35 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
36 |
|
|
37 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0102
|
|
38 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0102
|
|
39 |
//! @SYMTestCaseDesc Network deletes Activated Primary.
|
|
40 |
//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
|
|
41 |
//! @SYMTestActions Activate the primary context only by explicitly starting Spud. After a pause, SIM.TSY deletes the primary context.
|
|
42 |
//! @SYMTestExpectedResults Spud is started successfully - the RConnection is started with KErrNone. KLinkLayerClosed / KErrDisconnected notification is received by the test app.
|
|
43 |
//! @SYMTestPriority Critical
|
|
44 |
//! @SYMTestStatus Implemented
|
|
45 |
//! @SYMTestType CIT
|
|
46 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimaryEvent z:\testdata\configs\te_spudNetworkSide.ini PrimaryQoSEventDelete1
|
|
47 |
DELAY 1000
|
|
48 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0102
|
|
49 |
|
|
50 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
51 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0101
|
|
52 |
//! @SYMTestCaseDesc Sanity check: successfully activate Primary context.
|
|
53 |
//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
|
|
54 |
//! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context.
|
|
55 |
//! @SYMTestExpectedResults Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone.
|
|
56 |
//! @SYMTestPriority Critical
|
|
57 |
//! @SYMTestStatus Implemented
|
|
58 |
//! @SYMTestType CIT
|
|
59 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationOk1
|
|
60 |
DELAY 1000
|
|
61 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
62 |
|
|
63 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0103
|
|
64 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0103
|
|
65 |
//! @SYMTestCaseDesc Triggers the Primary PDP Context deletion before the lower NIF is up.
|
|
66 |
//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
|
|
67 |
//! @SYMTestActions Explicitly start the SPUD interface to activate the primary context, it fails then deletes the Primary Context.
|
|
68 |
//! @SYMTestExpectedResults Spud start fails. RConnection::Start returns the error.
|
|
69 |
//! @SYMTestPriority Critical
|
|
70 |
//! @SYMTestStatus Implemented
|
|
71 |
//! @SYMTestType CIT
|
|
72 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryDeleteBeforeLowerNif
|
|
73 |
DELAY 1000
|
|
74 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0103
|
|
75 |
|
|
76 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
77 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0101
|
|
78 |
//! @SYMTestCaseDesc Sanity check: successfully activate Primary context.
|
|
79 |
//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
|
|
80 |
//! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context.
|
|
81 |
//! @SYMTestExpectedResults Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone.
|
|
82 |
//! @SYMTestPriority Critical
|
|
83 |
//! @SYMTestStatus Implemented
|
|
84 |
//! @SYMTestType CIT
|
|
85 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationOk1
|
|
86 |
DELAY 1000
|
|
87 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0101
|
|
88 |
|
|
89 |
START_TESTCASE PDP-STRESSTEST-SCENARIO-0104
|
|
90 |
//! @SYMTestCaseID PDP-STRESSTEST-SCENARIO-0104
|
|
91 |
//! @SYMTestCaseDesc Call RConnection::Stop while SPUDFSM is initialising the phone
|
|
92 |
//! @SYMFssId NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
|
|
93 |
//! @SYMTestActions Cause RPhone::Initialise to take a very long time to complete, and call RConnection::Stop while it is running
|
|
94 |
//! @SYMTestExpectedResults Connection stops successfully.
|
|
95 |
//! @SYMTestPriority Critical
|
|
96 |
//! @SYMTestStatus Implemented
|
|
97 |
//! @SYMTestType CIT
|
|
98 |
RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudPrimayStartingStop z:\testdata\configs\te_spudNetworkSide.ini PrimarySlowInitialisePhone
|
|
99 |
DELAY 1000
|
|
100 |
RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
|
|
101 |
END_TESTCASE PDP-STRESSTEST-SCENARIO-0104
|
|
102 |
|
|
103 |
END_REPEAT
|