adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/cbs/group/cbs_simulate.cfg
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     1 //* Copyright (c) 2008 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 
       
    17 
       
    18 
       
    19 //title MOD_0006.002_2_NokiaTSY_[XML CBS_Reception GSM]
       
    20 //
       
    21 // Precondition:
       
    22 //   n/a, XML case
       
    23 
       
    24 [Test]
       
    25 title MOD_0006.002_2_NokiaTSY_[XML CBS_Reception_GSM]
       
    26 create NTT_Cbs test
       
    27 
       
    28 test HandleSpecifiedRequests YES
       
    29 test InitializeIPCRequestTable
       
    30 test SetExpectedCompleteIPC EMobileBroadcastMessagingReceiveMessage
       
    31 test SetExpectedCompleteIPC EMmTsyGsmBroadcastNotifyMessageReceived
       
    32 test SetExpectedCompleteIPC EMobileBroadcastMessagingReceiveMessageCancel
       
    33 
       
    34 // Activate CB reception
       
    35 test RunIscTestCase 401
       
    36 test SyncIscTestCase
       
    37 test ActivateCbsReception
       
    38 allownextresult 0
       
    39 waittestclass test
       
    40 
       
    41 // wait for ISC testcase completion signal
       
    42 allownextresult 1
       
    43 waittestclass test
       
    44 
       
    45 // Receive GSM CB message
       
    46 test RunIscTestCase 410
       
    47 test SyncIscTestCase
       
    48 test ReceiveCbs
       
    49 allownextresult 0
       
    50 waittestclass test
       
    51 
       
    52 // wait for ISC testcase completion signal
       
    53 allownextresult 1
       
    54 waittestclass test
       
    55 
       
    56 // Deactivate CB reception
       
    57 test RunIscTestCase 402
       
    58 test SyncIscTestCase
       
    59 test DeactivateCbsReception
       
    60 allownextresult 0
       
    61 waittestclass test
       
    62 
       
    63 test HandleSpecifiedRequests NO
       
    64 delete test
       
    65 [Endtest]
       
    66 
       
    67 
       
    68 // MOD_0006.003_2_NokiaTSY_[XML CBS_Reception_UMTS]
       
    69 //
       
    70 // Precondition:
       
    71 //   n/a, XML case
       
    72 [Test]
       
    73 title MOD_0006.003_2_NokiaTSY_[XML CBS_Reception_UMTS]
       
    74 create NTT_Cbs test
       
    75 
       
    76 test HandleSpecifiedRequests YES
       
    77 test InitializeIPCRequestTable
       
    78 test SetExpectedCompleteIPC EMobileBroadcastMessagingReceiveMessage
       
    79 test SetExpectedCompleteIPC EMmTsyWcdmaBroadcastNotifyMessageReceived
       
    80 test SetExpectedCompleteIPC EMobileBroadcastMessagingReceiveMessageCancel
       
    81 
       
    82 // Activate CB reception
       
    83 test RunIscTestCase 401
       
    84 test SyncIscTestCase
       
    85 test ActivateCbsReception
       
    86 allownextresult 0
       
    87 waittestclass test
       
    88 
       
    89 // wait for ISC testcase completion signal
       
    90 allownextresult 1
       
    91 waittestclass test
       
    92 
       
    93 // Receive UMTS CB message
       
    94 test RunIscTestCase 411
       
    95 test SyncIscTestCase
       
    96 // parameters: number of subblocks, number of pages, message type, message id,
       
    97 // serial number, data coding scheme, info length
       
    98 //( CB reference data is hard-coded in test files )
       
    99 test ReceiveCbs 1 17 1 34 16384 0 33
       
   100 allownextresult 0
       
   101 waittestclass test
       
   102 
       
   103 // wait for ISC testcase completion signal
       
   104 allownextresult 1
       
   105 waittestclass test
       
   106 
       
   107 // Deactivate CB reception
       
   108 test RunIscTestCase 402
       
   109 test SyncIscTestCase
       
   110 test DeactivateCbsReception
       
   111 allownextresult 0
       
   112 waittestclass test
       
   113 
       
   114 delete test
       
   115 [Endtest]
       
   116 
       
   117 // MOD_0006.006_2_NokiaTSY_[XML CBS_SIM_Topics]
       
   118 //
       
   119 // Precondition:
       
   120 //   n/a, XML case
       
   121 // NOTE! Make sure that the phone is not attached. Otherwise the test case crashes.
       
   122 [Test]
       
   123 title MOD_0006_006_2_NokiaTSY_[XML CBS_SIM_Topics]
       
   124 create NTT_Cbs test
       
   125 
       
   126 test RunIscTestCase 425
       
   127 test SyncIscTestCase
       
   128 test ReadCBSSimTopics
       
   129 
       
   130 waittestclass test
       
   131 
       
   132 // wait for ISC testcase completion signal
       
   133 allownextresult 1
       
   134 waittestclass test
       
   135 
       
   136 // deleting topic by its number (if it exists).
       
   137 test RunIscTestCase 427
       
   138 test SyncIscTestCase
       
   139 test DeleteCBSSimTopic 123
       
   140 
       
   141 waittestclass test
       
   142 
       
   143 // wait for ISC testcase completion signal
       
   144 allownextresult 1
       
   145 waittestclass test
       
   146 
       
   147 test RunIscTestCase 426
       
   148 test SyncIscTestCase
       
   149 test ReadCBSSimTopics
       
   150 
       
   151 waittestclass test
       
   152 
       
   153 delete test
       
   154 [Endtest]