0
|
1 |
|
|
2 |
//* Copyright (c) 2008 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 the License "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 |
|
|
17 |
|
|
18 |
|
|
19 |
// MOD_0006.001_1_NokiaTSY_[HW CBS_Reception]
|
|
20 |
//
|
|
21 |
// Precondition:
|
|
22 |
// - Phone is forced in to NTN 2G network (or other NW which
|
|
23 |
// sends CBS messages. Commercial networks in Finland do not).
|
|
24 |
//
|
|
25 |
[Test]
|
|
26 |
// Manual test case.
|
|
27 |
title MOD_0006.001_1_NokiaTSY_[HW CBS_Reception]
|
|
28 |
create NTT_Cbs test
|
|
29 |
|
|
30 |
test ActivateCbsReception
|
|
31 |
waittestclass test
|
|
32 |
|
|
33 |
// note: receiving a CBS message in NTN can take 1-2 min.
|
|
34 |
test ReceiveCbs
|
|
35 |
waittestclass test
|
|
36 |
|
|
37 |
test DeactivateCbsReception
|
|
38 |
waittestclass test
|
|
39 |
|
|
40 |
delete test
|
|
41 |
[Endtest]
|
|
42 |
|
|
43 |
// MOD_0006.004_1_NokiaTSY_[HW CBS_SIM_Topics_PrepareSIM]
|
|
44 |
//
|
|
45 |
// Prepares SIM for the CBS_SIM_Topics case below.
|
|
46 |
// NOTE: All data in EF_CBMI will be overwritten!
|
|
47 |
// Sends a SIM_GSM_DIR_REQ.UPDATE_CB_MSGIDS and writes CBMI
|
|
48 |
// entries "123" and "456".
|
|
49 |
// NOTE: Previous entries will be overwritten.
|
|
50 |
//
|
|
51 |
[Test]
|
|
52 |
title MOD_0006.004_1_NokiaTSY_[HW CBS_SIM_Topics_PrepareSIM]
|
|
53 |
create NTT_Cbs test
|
|
54 |
pause 1000
|
|
55 |
test RunIscTestCase 421
|
|
56 |
test SyncIscTestCase
|
|
57 |
pause 1000
|
|
58 |
delete test
|
|
59 |
[Endtest]
|
|
60 |
|
|
61 |
// MOD_0006.005_1_NokiaTSY_[HW CBS_SIM_Topics]
|
|
62 |
//
|
|
63 |
// Manual test case.
|
|
64 |
// PRECONDITION:
|
|
65 |
// SIM has a EF_CBMI file, with at least CBS topics "123" and another one saved.
|
|
66 |
// You can prepare this in two ways:
|
|
67 |
// 1. Connect phone and SIM, and run test case "CBS_SIM_Topics_PrepareSIM".
|
|
68 |
// 2. Using an S40 phone, choose "Menu/Messages/Info Messages/Info topics saved on SIM card/Add". If
|
|
69 |
// this menu is greyed out, the SIM does not support CBMI.
|
|
70 |
// After this, connect phone and SIM, and start the test case.
|
|
71 |
[Test]
|
|
72 |
|
|
73 |
title MOD_0006.005_1_NokiaTSY_[HW CBS_SIM_Topics]
|
|
74 |
create NTT_Cbs test
|
|
75 |
|
|
76 |
test ReadCBSSimTopics
|
|
77 |
waittestclass test
|
|
78 |
|
|
79 |
// deleting topic by its number (if it exists).
|
|
80 |
test DeleteCBSSimTopic 123
|
|
81 |
waittestclass test
|
|
82 |
|
|
83 |
test ReadCBSSimTopics
|
|
84 |
waittestclass test
|
|
85 |
|
|
86 |
delete test
|
|
87 |
[Endtest]
|