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 // |
|
16 // Precondition: |
|
17 // - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool |
|
18 // |
|
19 // Script description: |
|
20 // |
|
21 |
|
22 // Proactive command // |
|
23 /////////////////////// |
|
24 |
|
25 // Type (Optional, default = 1) |
|
26 // Determines whether the UICC is specifying its current language in Language-parameter, or is saying that |
|
27 // it is not using a specific language. |
|
28 // 0 Initialisation value |
|
29 // 1 No specific language is in use by the UICC. This has the effect of |
|
30 // cancelling previous specific LANGUAGE NOTIFICATION commands. |
|
31 // 2 The language currently in use by the UICC is given in Language-parameter (see below) |
|
32 // Example: language provided in Language parameter: Type 2 |
|
33 |
|
34 // Language ( =mandatory if Type is set to 2) |
|
35 // Currently used language by (U)ICC. This is pair of alpha-numeric characters, defined in ISO 639. |
|
36 // Each alpha-numeric character shall be coded on one byte using the SMS default 7-bit coded alphabet |
|
37 // as defined in TS 123 038 with bit 8 set to 0. This is only valid if Type is set to 2 |
|
38 // Example: English (en) language: Language 0x656E |
|
39 |
|
40 |
|
41 |
|
42 // Terminal Response // |
|
43 /////////////////////// |
|
44 |
|
45 // GeneralResult (Optional, default = KSuccess ) |
|
46 // General result of the proactive command. Set this as described in |
|
47 // the proactive commands versus terminal response table in ETSI TS 102 223. |
|
48 |
|
49 // AdditionalInfo (Optional, default = "") |
|
50 // Contains additional information associated with certain error codes set in GeneralResult. |
|
51 // If the value in GeneralResult does not require any information then leave this field empty. |
|
52 |
|
53 // InfoType (Optional, default = KNoAdditionalInfo ) |
|
54 // If the value of iGeneralResult requires additional information, set this to KMeProblem. |
|
55 // Otherwise set to KNoAdditionalInfo |
|
56 |
|
57 [Test] |
|
58 title MOD_0022.001_SIM_ATK_TSY_[LANGUAGE NOTIFICATION] |
|
59 |
|
60 create SimAtk simatk |
|
61 create SimAtkNotify notify |
|
62 simatk Connect RTelServer |
|
63 simatk Load PhoneTsy.tsy |
|
64 simatk Open DefaultPhone |
|
65 simatk Open SAT |
|
66 simatk Open IscControl |
|
67 |
|
68 // Load ISC XML -file |
|
69 simatk LoadIscTests SimAtk_LanguageNotification.xml |
|
70 |
|
71 // Sequence 1.1 (LANGUAGE NOTIFICATION) |
|
72 notify UseObjectAddress simatk ESatNotifyLanguageNotificationPCmd |
|
73 simatk RunIscTestCase 22 101 |
|
74 waittestclass notify |
|
75 // Language 'se' = Spanish |
|
76 simatk CheckProactiveCommand Type 2 Language 0x7365 |
|
77 simatk SendTerminalResponse |
|
78 simatk WaitForRequest |
|
79 |
|
80 // Sequence 1.2 (LANGUAGE NOTIFICATION) |
|
81 notify UseObjectAddress simatk ESatNotifyLanguageNotificationPCmd |
|
82 simatk RunIscTestCase 22 102 |
|
83 waittestclass notify |
|
84 simatk CheckProactiveCommand Type 1 |
|
85 simatk SendTerminalResponse |
|
86 simatk WaitForRequest |
|
87 |
|
88 // close all |
|
89 simatk Close IscControl |
|
90 simatk Close SAT |
|
91 simatk Unload PhoneTsy.tsy |
|
92 simatk Close RTelServer |
|
93 delete notify |
|
94 delete simatk |
|
95 [Endtest] |
|