1 //* Copyright (c) 2009 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 the License "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 |
|
15 // MOD_1013.001_SIM_ATK_TSY_[TLV validation - invalid simple tlv len] |
|
16 |
|
17 // |
|
18 // Precondition: |
|
19 // - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool |
|
20 // |
|
21 // Script description: |
|
22 // |
|
23 |
|
24 // Proactive command // |
|
25 /////////////////////// |
|
26 |
|
27 // Priority (Default 1, Normal) |
|
28 // 0 NotSet |
|
29 // 1 Normal |
|
30 // 2 High |
|
31 |
|
32 // ClearScreenTrigger (Default 2, UserClear) |
|
33 // 0 NotSet |
|
34 // 1 AfterDelay |
|
35 // 2 UserClear |
|
36 |
|
37 // Text |
|
38 // Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63 |
|
39 |
|
40 // Duration |
|
41 // TimeUnit, unit used to encode the duration |
|
42 // 0 TimeUnitNotSet. Initialization value used within constructor(s). |
|
43 // 1 No duration has been provided. The ME should default to general beep. |
|
44 // 2 The duration is expressed in minutes. |
|
45 // 3 The duration is expressed in seconds. |
|
46 // 4 The duration is expressed in tenths of seconds. |
|
47 // NumOfUnits |
|
48 // Valid range is 1 to 255 |
|
49 // Example 10 minutes: Duration 2 10 |
|
50 |
|
51 // IconId |
|
52 // IconQualifier |
|
53 // 0 NotSet |
|
54 // 1 NoIconId |
|
55 // 2 SelfExplanatory |
|
56 // 3 NotSelfExplanatory |
|
57 // IconIdentifier |
|
58 // Id number |
|
59 // Example SelfExplanatory ID 5: IconId 2 5 |
|
60 |
|
61 // ImmediateRsp (Default 2, NoImmediateRsp) |
|
62 // 0 NotSet |
|
63 // 1 ImmediateRsp |
|
64 // 2 NoImmediateRsp |
|
65 |
|
66 |
|
67 // Terminal Response // |
|
68 /////////////////////// |
|
69 |
|
70 // GeneralResult |
|
71 // General result of the proactive command. Default command performed successfully. |
|
72 |
|
73 // AdditionalInfo |
|
74 // Enter the text inside the quotes or as unicode hex digits |
|
75 |
|
76 // InfoType |
|
77 // If the value of iGeneralResult requires additional information, |
|
78 // set this to MeProblem (2). Otherwise set to |
|
79 // NoAdditionalInfo (1). Default no additional info. |
|
80 |
|
81 [Test] |
|
82 title MOD_1013.001_SIM_ATK_TSY_[TLV validation - invalid simple tlv len] |
|
83 |
|
84 create SimAtk simatk |
|
85 |
|
86 // open all |
|
87 simatk Connect RTelServer |
|
88 simatk Load PhoneTsy.tsy |
|
89 simatk Open DefaultPhone |
|
90 simatk Open SAT |
|
91 simatk Open IscControl |
|
92 |
|
93 // Load ISC XML -file |
|
94 simatk LoadIscTests simatk_tlvcheck_custom.xml |
|
95 |
|
96 // SEQ 1.1 |
|
97 simatk RunIscTestCase 1013 101 |
|
98 simatk WaitForRequest |
|
99 |
|
100 // SEQ 1.2 |
|
101 simatk RunIscTestCase 1013 102 |
|
102 simatk WaitForRequest |
|
103 |
|
104 // SEQ 1.3 |
|
105 simatk RunIscTestCase 1013 103 |
|
106 simatk WaitForRequest |
|
107 |
|
108 // SEQ 1.4 |
|
109 simatk RunIscTestCase 1013 104 |
|
110 simatk WaitForRequest |
|
111 |
|
112 // SEQ 1.5 |
|
113 simatk RunIscTestCase 1013 105 |
|
114 simatk WaitForRequest |
|
115 |
|
116 // SEQ 1.6 |
|
117 simatk RunIscTestCase 1013 106 |
|
118 simatk WaitForRequest |
|
119 |
|
120 // SEQ 1.7 |
|
121 simatk RunIscTestCase 1013 107 |
|
122 simatk WaitForRequest |
|
123 |
|
124 // SEQ 1.8 |
|
125 simatk RunIscTestCase 1013 108 |
|
126 simatk WaitForRequest |
|
127 |
|
128 // SEQ 1.9 |
|
129 simatk RunIscTestCase 1013 109 |
|
130 simatk WaitForRequest |
|
131 |
|
132 // close all |
|
133 simatk Close IscControl |
|
134 simatk Close SAT |
|
135 simatk Unload PhoneTsy.tsy |
|
136 simatk Close RTelServer |
|
137 delete simatk |
|
138 [Endtest] |
|