resourcemgmt/hwresourcesmgr/test/te_hwrm/te_hwrm_fmtx.script
changeset 0 4e1aa6a622a0
child 70 653a8b91b95e
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 "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 //! @file te_hwrm_fmtx.script
       
    17 //! @SYMTestSuiteName DEVSRVS-HWRM
       
    18 //! @SYMScriptTestEnvironment telephony
       
    19 
       
    20 LOAD_SUITE te_hwrm
       
    21 
       
    22 START_TESTCASE DEVSRVS-HWRM-F-0001
       
    23 //!@SYMTestCaseID DEVSRVS-HWRM-F-0001
       
    24 //!@SYMComponent telephony_hwrm
       
    25 //!@SYMTestCaseDesc Open a FmTx session.
       
    26 //!@SYMTestPriority High
       
    27 //!@SYMTestActions Open a FmTx session.
       
    28 //!@SYMTestExpectedResults Pass
       
    29 //!@SYMTestType CT
       
    30 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxConnectL
       
    31 END_TESTCASE DEVSRVS-HWRM-F-0001
       
    32 
       
    33 START_TESTCASE DEVSRVS-HWRM-F-0002
       
    34 //!@SYMTestCaseID DEVSRVS-HWRM-F-0002
       
    35 //!@SYMComponent telephony_hwrm
       
    36 //!@SYMTestCaseDesc Disable the FmTx and check that the status is Off.
       
    37 //!@SYMTestPriority High
       
    38 //!@SYMTestActions Open a FmTx session, disable the FmTx and check if the status is Off.
       
    39 //!@SYMTestExpectedResults Pass
       
    40 //!@SYMTestType CT
       
    41 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxStatusOffL
       
    42 END_TESTCASE DEVSRVS-HWRM-F-0002
       
    43 
       
    44 START_TESTCASE DEVSRVS-HWRM-F-0003
       
    45 //!@SYMTestCaseID DEVSRVS-HWRM-F-0003
       
    46 //!@SYMComponent telephony_hwrm
       
    47 //!@SYMTestCaseDesc Enables the FmTx with an invalid frequency. 
       
    48 //!@SYMTestPriority High
       
    49 //!@SYMTestActions Open a FmTx session, enable the FmTx with an invalid frequency value, check the status is off and disable the FmTx.
       
    50 //!@SYMTestExpectedResults Pass
       
    51 //!@SYMTestType CT
       
    52 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableInvalidFreqL
       
    53 END_TESTCASE DEVSRVS-HWRM-F-0003
       
    54 
       
    55 START_TESTCASE DEVSRVS-HWRM-F-0004
       
    56 //!@SYMTestCaseID DEVSRVS-HWRM-F-0004
       
    57 //!@SYMComponent telephony_hwrm
       
    58 //!@SYMTestCaseDesc Enables the FmTx.
       
    59 //!@SYMTestPriority High
       
    60 //!@SYMTestActions Open a FmTx session, enable the FmTx and check the status is EFmTxStateInactive or EFmTxStateActive.
       
    61 //!@SYMTestExpectedResults Pass
       
    62 //!@SYMTestType CT
       
    63 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableL
       
    64 END_TESTCASE DEVSRVS-HWRM-F-0004
       
    65 
       
    66 START_TESTCASE DEVSRVS-HWRM-F-0005
       
    67 //!@SYMTestCaseID DEVSRVS-HWRM-F-0005
       
    68 //!@SYMComponent telephony_hwrm
       
    69 //!@SYMTestCaseDesc Enable FM Tx, with a new Tx frequency.
       
    70 //!@SYMTestPriority High
       
    71 //!@SYMTestActions Open a FmTx session, enable FmTx with a new Tx frequency, checks status is EFmTxStateInactive or EFmTxStateActive, disable FmTx.
       
    72 //!@SYMTestExpectedResults Pass
       
    73 //!@SYMTestType CT
       
    74 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableNewFreqL
       
    75 END_TESTCASE DEVSRVS-HWRM-F-0005
       
    76 
       
    77 START_TESTCASE DEVSRVS-HWRM-F-0006
       
    78 //!@SYMTestCaseID DEVSRVS-HWRM-F-0006
       
    79 //!@SYMComponent telephony_hwrm
       
    80 //!@SYMTestCaseDesc Attempt to enable FM Tx with invalid frequency, when fmtx already on.
       
    81 //!@SYMTestPriority High
       
    82 //!@SYMTestActions Open a FmTx session, enable FmTx with a valid Tx frequency, try to enable FmTx with an invalid Tx frequency, check it is still on, disable FmTx.
       
    83 //!@SYMTestExpectedResults Pass
       
    84 //!@SYMTestType CT
       
    85 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableInvalidFreqWhenOnL
       
    86 END_TESTCASE DEVSRVS-HWRM-F-0006
       
    87 
       
    88 START_TESTCASE DEVSRVS-HWRM-F-0007
       
    89 //!@SYMTestCaseID DEVSRVS-HWRM-F-0007
       
    90 //!@SYMComponent telephony_hwrm
       
    91 //!@SYMTestCaseDesc Enables the FmTx and reserves the FmTx.
       
    92 //!@SYMTestPriority High
       
    93 //!@SYMTestActions Open a FmTx session, make a reservation, release the FmTx.
       
    94 //!@SYMTestExpectedResults Pass
       
    95 //!@SYMTestType CT
       
    96 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxReserveL
       
    97 END_TESTCASE DEVSRVS-HWRM-F-0007
       
    98 
       
    99 START_TESTCASE DEVSRVS-HWRM-F-0008
       
   100 //!@SYMTestCaseID DEVSRVS-HWRM-F-0008
       
   101 //!@SYMComponent telephony_hwrm
       
   102 //!@SYMTestCaseDesc Failure case when another client has reserved FM Tx and the client attemts to enable it.
       
   103 //!@SYMTestPriority High
       
   104 //!@SYMTestActions Open 2 FmTx sessions, with the first disable FmTx and make a reservation. Enable the FmTx using the second session. Ensure that the status is still off. Release the FmTx usgin the first session.
       
   105 //!@SYMTestExpectedResults Pass
       
   106 //!@SYMTestType CT
       
   107 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableDuringReservationL
       
   108 END_TESTCASE DEVSRVS-HWRM-F-0008
       
   109 
       
   110 START_TESTCASE DEVSRVS-HWRM-F-0009
       
   111 //!@SYMTestCaseID DEVSRVS-HWRM-F-0009
       
   112 //!@SYMComponent telephony_hwrm
       
   113 //!@SYMTestCaseDesc Disable FM Tx
       
   114 //!@SYMTestPriority High
       
   115 //!@SYMTestActions Disable FM Tx
       
   116 //!@SYMTestExpectedResults Pass
       
   117 //!@SYMTestType CT
       
   118 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxDisableL
       
   119 END_TESTCASE DEVSRVS-HWRM-F-0009
       
   120 
       
   121 START_TESTCASE DEVSRVS-HWRM-F-0010
       
   122 //!@SYMTestCaseID DEVSRVS-HWRM-F-0010
       
   123 //!@SYMComponent telephony_hwrm
       
   124 //!@SYMTestCaseDesc Attempt to disable FM Tx when another session has reserved the resource.
       
   125 //!@SYMTestPriority High
       
   126 //!@SYMTestActions Open 2 FmTx sessions, with the second one reserve FmTx, enable it and check the status is enabled. Using the first one store the current . disable the FmTx and check the disabling failed (the status is the same with the one before attemting to disable). Using the second session disable FmTx.
       
   127 //!@SYMTestExpectedResults Pass
       
   128 //!@SYMTestType CT
       
   129 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxDisableDuringReservationL
       
   130 END_TESTCASE DEVSRVS-HWRM-F-0010
       
   131 
       
   132 START_TESTCASE DEVSRVS-HWRM-F-0011
       
   133 //!@SYMTestCaseID DEVSRVS-HWRM-F-0011
       
   134 //!@SYMComponent telephony_hwrm
       
   135 //!@SYMTestCaseDesc Failure case when another client has reserved FM Tx while it is already reserved.
       
   136 //!@SYMTestPriority High
       
   137 //!@SYMTestActions Open 2 FmTx sessions, with the second one enable FmTx. The first reserves FmTs. Second one tries to reserve. First one releases FmTx and second one disables it.
       
   138 //!@SYMTestExpectedResults Pass
       
   139 //!@SYMTestType CT
       
   140 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxReserveDuringReservationL
       
   141 END_TESTCASE DEVSRVS-HWRM-F-0011
       
   142 
       
   143 START_TESTCASE DEVSRVS-HWRM-F-0012
       
   144 //!@SYMTestCaseID DEVSRVS-HWRM-F-0012
       
   145 //!@SYMComponent telephony_hwrm
       
   146 //!@SYMTestCaseDesc Gets Tx frequency.
       
   147 //!@SYMTestPriority High
       
   148 //!@SYMTestActions Open a FmTx session and get the current Tx frequency.
       
   149 //!@SYMTestExpectedResults Pass
       
   150 //!@SYMTestType CT
       
   151 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetFrequencyL
       
   152 END_TESTCASE DEVSRVS-HWRM-F-0012
       
   153 
       
   154 START_TESTCASE DEVSRVS-HWRM-F-0013
       
   155 //!@SYMTestCaseID DEVSRVS-HWRM-F-0013
       
   156 //!@SYMComponent telephony_hwrm
       
   157 //!@SYMTestCaseDesc Sets th Tx frequency.
       
   158 //!@SYMTestPriority High
       
   159 //!@SYMTestActions Open a FmTx session, set the Tx frequency, check frequency was set. Enable FmTx, set the Tx frequency, check frequency was set. Disable FmTx.
       
   160 //!@SYMTestExpectedResults Pass
       
   161 //!@SYMTestType CT
       
   162 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetFrequencyL
       
   163 END_TESTCASE DEVSRVS-HWRM-F-0013
       
   164 
       
   165 START_TESTCASE DEVSRVS-HWRM-F-0014
       
   166 //!@SYMTestCaseID DEVSRVS-HWRM-F-0014
       
   167 //!@SYMComponent telephony_hwrm
       
   168 //!@SYMTestCaseDesc Failure case when setting frequency with out of range frequency parameter.
       
   169 //!@SYMTestPriority High
       
   170 //!@SYMTestActions Open a FmTx session, set the Tx frequency and check it was set. Attempt to set the FmTx to and invalid frequency, check the frequency was not set and has the previous value.
       
   171 //!@SYMTestExpectedResults Pass
       
   172 //!@SYMTestType CT
       
   173 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetFrequencyInvalidL
       
   174 END_TESTCASE DEVSRVS-HWRM-F-0014
       
   175 
       
   176 START_TESTCASE DEVSRVS-HWRM-F-0015
       
   177 //!@SYMTestCaseID DEVSRVS-HWRM-F-0015
       
   178 //!@SYMComponent telephony_hwrm
       
   179 //!@SYMTestCaseDesc Failure case when a client has reserved FM Tx and another sets the frequency. 
       
   180 //!@SYMTestPriority High
       
   181 //!@SYMTestActions Open 2 FmTx sessions, with the first reserve FmTx, set the frequency and check it was set. With the second one try to set the frequency and check that the frequency did not change. Release FmTx.
       
   182 //!@SYMTestExpectedResults Pass
       
   183 //!@SYMTestType CT
       
   184 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetFrequencyDuringReservationL
       
   185 END_TESTCASE DEVSRVS-HWRM-F-0015
       
   186 
       
   187 START_TESTCASE DEVSRVS-HWRM-F-0016
       
   188 //!@SYMTestCaseID DEVSRVS-HWRM-F-0016
       
   189 //!@SYMComponent telephony_hwrm
       
   190 //!@SYMTestCaseDesc Get frequency range.
       
   191 //!@SYMTestPriority High
       
   192 //!@SYMTestActions Open a FmTx session and get the frequency range. Check the range values recieved are the expected.
       
   193 //!@SYMTestExpectedResults Pass
       
   194 //!@SYMTestType CT
       
   195 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetFrequencyRangeL
       
   196 END_TESTCASE DEVSRVS-HWRM-F-0016
       
   197 
       
   198 START_TESTCASE DEVSRVS-HWRM-F-0017
       
   199 //!@SYMTestCaseID DEVSRVS-HWRM-F-0017
       
   200 //!@SYMComponent telephony_hwrm
       
   201 //!@SYMTestCaseDesc Opens a FmTx session and gets frequency range (for Japan)
       
   202 //!@SYMTestPriority High
       
   203 //!@SYMTestActions Opens a FmTx session gets the Japanese frequency range. Check range received is correct.
       
   204 //!@SYMTestExpectedResults Pass
       
   205 //!@SYMTestType CT
       
   206 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetJapanFrequencyRangeL
       
   207 END_TESTCASE DEVSRVS-HWRM-F-0017
       
   208 
       
   209 START_TESTCASE DEVSRVS-HWRM-F-0018
       
   210 //!@SYMTestCaseID DEVSRVS-HWRM-F-0018
       
   211 //!@SYMComponent telephony_hwrm
       
   212 //!@SYMTestCaseDesc Query a clear FM channel.
       
   213 //!@SYMTestPriority High
       
   214 //!@SYMTestActions Open a FmTx session, enable it, get the next clear frequency and disable. 
       
   215 //!@SYMTestExpectedResults Pass
       
   216 //!@SYMTestType CT
       
   217 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetNextClearFrequencyL
       
   218 END_TESTCASE DEVSRVS-HWRM-F-0018
       
   219 
       
   220 START_TESTCASE DEVSRVS-HWRM-F-0019
       
   221 //!@SYMTestCaseID DEVSRVS-HWRM-F-0019
       
   222 //!@SYMComponent telephony_hwrm
       
   223 //!@SYMTestCaseDesc Query a clear FM channel.  Asynchronous version.
       
   224 //!@SYMTestPriority High
       
   225 //!@SYMTestActions Open a FmTx session, enable it, get the next clear frequency (async) and disable.
       
   226 //!@SYMTestExpectedResults Pass
       
   227 //!@SYMTestType CT
       
   228 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetNextClearFrequencyAsyncL
       
   229 END_TESTCASE DEVSRVS-HWRM-F-0019
       
   230 
       
   231 START_TESTCASE DEVSRVS-HWRM-F-0020
       
   232 //!@SYMTestCaseID DEVSRVS-HWRM-F-0020
       
   233 //!@SYMComponent telephony_hwrm
       
   234 //!@SYMTestCaseDesc Query a clear FM channel and cancel request.  Asynchronous version.
       
   235 //!@SYMTestPriority High
       
   236 //!@SYMTestActions Open a FmTx session, enable it, get the next clear frequency (async), cancel the request and disable.
       
   237 //!@SYMTestExpectedResults Pass
       
   238 //!@SYMTestType CT
       
   239 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetNextClearFrequencyAsyncCancelL
       
   240 END_TESTCASE DEVSRVS-HWRM-F-0020
       
   241 
       
   242 START_TESTCASE DEVSRVS-HWRM-F-0021
       
   243 //!@SYMTestCaseID DEVSRVS-HWRM-F-0021
       
   244 //!@SYMComponent telephony_hwrm
       
   245 //!@SYMTestCaseDesc Queries 10 clear FM channels.
       
   246 //!@SYMTestPriority High
       
   247 //!@SYMTestActions Open a FmTx session, enable it, issue a request with a value lower than the minimum allowed, issue a request with a value higher than the max allowed, request 10 clear frequencies, disable.
       
   248 //!@SYMTestExpectedResults Pass
       
   249 //!@SYMTestType CT
       
   250 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetNextClearFrequencyArrayL
       
   251 END_TESTCASE DEVSRVS-HWRM-F-0021
       
   252 
       
   253 START_TESTCASE DEVSRVS-HWRM-F-0022
       
   254 //!@SYMTestCaseID DEVSRVS-HWRM-F-0022
       
   255 //!@SYMComponent telephony_hwrm
       
   256 //!@SYMTestCaseDesc  Queries 10 clear FM channels.   Asynchronous version.
       
   257 //!@SYMTestPriority High
       
   258 //!@SYMTestActions  Open a FmTx session, enable it, issue a async request with a value lower than the minimum allowed, issue a async request with a value higher than the max allowed, request (async) 10 clear frequencies, disable.
       
   259 //!@SYMTestExpectedResults Pass
       
   260 //!@SYMTestType CT
       
   261 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxGetNextClearFrequencyAsyncArrayL
       
   262 END_TESTCASE DEVSRVS-HWRM-F-0022
       
   263 
       
   264 START_TESTCASE DEVSRVS-HWRM-F-0023
       
   265 //!@SYMTestCaseID DEVSRVS-HWRM-F-0023
       
   266 //!@SYMComponent telephony_hwrm
       
   267 //!@SYMTestCaseDesc Set next clear frequency 
       
   268 //!@SYMTestPriority High
       
   269 //!@SYMTestActions Open a FmTx session, enable it, set next clear frequency, disable. 
       
   270 //!@SYMTestExpectedResults Pass
       
   271 //!@SYMTestType CT
       
   272 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetNextClearFrequencyL
       
   273 END_TESTCASE DEVSRVS-HWRM-F-0023
       
   274 
       
   275 START_TESTCASE DEVSRVS-HWRM-F-0024
       
   276 //!@SYMTestCaseID DEVSRVS-HWRM-F-0024
       
   277 //!@SYMComponent telephony_hwrm
       
   278 //!@SYMTestCaseDesc Set next clear frequency. Async.
       
   279 //!@SYMTestPriority High
       
   280 //!@SYMTestActions Open a FmTx session, enable it, get next clear frequency (async), set next clear frequency (async), disable.
       
   281 //!@SYMTestExpectedResults Pass
       
   282 //!@SYMTestType CT
       
   283 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetNextClearFrequencyAsyncL
       
   284 END_TESTCASE DEVSRVS-HWRM-F-0024
       
   285 
       
   286 START_TESTCASE DEVSRVS-HWRM-F-0025
       
   287 //!@SYMTestCaseID DEVSRVS-HWRM-F-0025
       
   288 //!@SYMComponent telephony_hwrm
       
   289 //!@SYMTestCaseDesc Sets next clear frequency and cancels request.  Asynchronous version.
       
   290 //!@SYMTestPriority High
       
   291 //!@SYMTestActions Open a FmTx session, enable it, get next clear frequency (async), set next clear frequency (async)and cancel request, disable.
       
   292 //!@SYMTestExpectedResults Pass
       
   293 //!@SYMTestType CT
       
   294 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetNextClearFrequencyAsyncCancelL
       
   295 END_TESTCASE DEVSRVS-HWRM-F-0025
       
   296 
       
   297 START_TESTCASE DEVSRVS-HWRM-F-0026
       
   298 //!@SYMTestCaseID DEVSRVS-HWRM-F-0026
       
   299 //!@SYMComponent telephony_hwrm
       
   300 //!@SYMTestCaseDesc Automatically set next clear frequency.
       
   301 //!@SYMTestPriority High
       
   302 //!@SYMTestActions Open a FmTx session, check if auto frequency is enabled, enable auto frequency, disable auto frequecy.
       
   303 //!@SYMTestExpectedResults Pass
       
   304 //!@SYMTestType CT
       
   305 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxAutoFrequencyL
       
   306 END_TESTCASE DEVSRVS-HWRM-F-0026
       
   307 
       
   308 START_TESTCASE DEVSRVS-HWRM-F-0027
       
   309 //!@SYMTestCaseID DEVSRVS-HWRM-F-0027
       
   310 //!@SYMComponent telephony_hwrm
       
   311 //!@SYMTestCaseDesc Set the FmTx RDS data
       
   312 //!@SYMTestPriority High
       
   313 //!@SYMTestActions Open a FmTx session, enable it, set Rds Pty, set Rds Pty out of range Max, set Rds Pty out of range Min, set Ptyn, set Ms, set Language, set Language out of range Max, set Language out of range Min, clear all Rds data disable 
       
   314 //!@SYMTestExpectedResults Pass
       
   315 //!@SYMTestType CT
       
   316 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetRdsDataL
       
   317 END_TESTCASE DEVSRVS-HWRM-F-0027
       
   318 
       
   319 START_TESTCASE DEVSRVS-HWRM-F-0028
       
   320 //!@SYMTestCaseID DEVSRVS-HWRM-F-0028
       
   321 //!@SYMComponent telephony_hwrm
       
   322 //!@SYMTestCaseDesc Set the Radiotext.
       
   323 //!@SYMTestPriority High
       
   324 //!@SYMTestActions Open a FmTx session, enable it, set the Radiotext, disable Fmtx.
       
   325 //!@SYMTestExpectedResults Pass
       
   326 //!@SYMTestType CT
       
   327 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetRadiotextL
       
   328 END_TESTCASE DEVSRVS-HWRM-F-0028
       
   329 
       
   330 START_TESTCASE DEVSRVS-HWRM-F-0029
       
   331 //!@SYMTestCaseID DEVSRVS-HWRM-F-0029
       
   332 //!@SYMComponent telephony_hwrm
       
   333 //!@SYMTestCaseDesc Set the Radiotext Content.
       
   334 //!@SYMTestPriority High
       
   335 //!@SYMTestActions Open a FmTx session, enable it, set the Radiotext with invalid Content, set the Radiotext Content, disable Fmtx.
       
   336 //!@SYMTestExpectedResults Pass
       
   337 //!@SYMTestType CT
       
   338 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetRadiotextContentL
       
   339 END_TESTCASE DEVSRVS-HWRM-F-0029
       
   340 
       
   341 START_TESTCASE DEVSRVS-HWRM-F-0030
       
   342 //!@SYMTestCaseID DEVSRVS-HWRM-F-0030
       
   343 //!@SYMComponent telephony_hwrm
       
   344 //!@SYMTestCaseDesc Set the Radiotext Tag.
       
   345 //!@SYMTestPriority High
       
   346 //!@SYMTestActions Open a FmTx session, attempt to set Radiotext with invalid Tag, set Radiotext Tag, disable.  
       
   347 //!@SYMTestExpectedResults Pass
       
   348 //!@SYMTestType CT
       
   349 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetRadiotextTagL
       
   350 END_TESTCASE DEVSRVS-HWRM-F-0030
       
   351 
       
   352 START_TESTCASE DEVSRVS-HWRM-F-0031
       
   353 //!@SYMTestCaseID DEVSRVS-HWRM-F-0031
       
   354 //!@SYMComponent telephony_hwrm
       
   355 //!@SYMTestCaseDesc Sets the Radiotext Tags.
       
   356 //!@SYMTestPriority High
       
   357 //!@SYMTestActions Open a FmTx session, attempt to set Radiotext with invalid Tags, set Radiotext Tags, disable. 
       
   358 //!@SYMTestExpectedResults Pass
       
   359 //!@SYMTestType CT
       
   360 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxSetRadiotextTagsL
       
   361 END_TESTCASE DEVSRVS-HWRM-F-0031
       
   362 
       
   363 START_TESTCASE DEVSRVS-HWRM-F-0032
       
   364 //!@SYMTestCaseID DEVSRVS-HWRM-F-0032
       
   365 //!@SYMComponent telephony_hwrm
       
   366 //!@SYMTestCaseDesc Tests the transitions between active & inactive states. Set Audio Routing On.
       
   367 //!@SYMTestPriority High
       
   368 //!@SYMTestActions Open a FmTx session, enable, set Audio routing ON, check the new state is the expected, set Audio routing OFF, check the new state is the expected, disable FmTx.
       
   369 //!@SYMTestExpectedResults Pass
       
   370 //!@SYMTestType CT
       
   371 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxAudioRoutingOnAndOffL
       
   372 END_TESTCASE DEVSRVS-HWRM-F-0032
       
   373 
       
   374 START_TESTCASE DEVSRVS-HWRM-F-0033
       
   375 //!@SYMTestCaseID DEVSRVS-HWRM-F-0033
       
   376 //!@SYMComponent telephony_hwrm
       
   377 //!@SYMTestCaseDesc Tests the transition to/from power-save state when an accessory is connected. 
       
   378 //!@SYMTestPriority High
       
   379 //!@SYMTestActions Open a FmTx session, enable, simulate the connection of an accessory, check the change of state,  simulate the disconnection of an accessory, check the new state is the desired, disable FmTx.
       
   380 //!@SYMTestExpectedResults Pass
       
   381 //!@SYMTestType CT
       
   382 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxPowerSaveOnAccessoryL
       
   383 END_TESTCASE DEVSRVS-HWRM-F-0033
       
   384 
       
   385 START_TESTCASE DEVSRVS-HWRM-F-0034
       
   386 //!@SYMTestCaseID DEVSRVS-HWRM-F-0034
       
   387 //!@SYMComponent telephony_hwrm
       
   388 //!@SYMTestCaseDesc Tests the transition to/from power-save state due to inactivity of the FmTx resource.
       
   389 //!@SYMTestPriority High
       
   390 //!@SYMTestActions Open a FmTx session, enable, check that the power save state changes after the max period of innactivity is reached.
       
   391 //!@SYMTestExpectedResults Pass
       
   392 //!@SYMTestType CT
       
   393 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxPowerSaveOnOffStateL
       
   394 END_TESTCASE DEVSRVS-HWRM-F-0034
       
   395 
       
   396 START_TESTCASE DEVSRVS-HWRM-F-0035
       
   397 //!@SYMTestCaseID DEVSRVS-HWRM-F-0035
       
   398 //!@SYMComponent telephony_hwrm
       
   399 //!@SYMTestCaseDesc Tests the transition to/from power-save state due to inactivity of the FmTx resource.
       
   400 //!@SYMTestPriority High
       
   401 //!@SYMTestActions Open a FmTx session, enable,  set Audio Routing ON, set Audio Routing OFF, check that the power save state changes after the max period of innactivity is reached, and check the power save state after the accessory is connected.
       
   402 //!@SYMTestExpectedResults Pass
       
   403 //!@SYMTestType CT
       
   404 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxPowerSaveOnInactivityStateL
       
   405 END_TESTCASE DEVSRVS-HWRM-F-0035
       
   406 
       
   407 START_TESTCASE DEVSRVS-HWRM-F-0036
       
   408 //!@SYMTestCaseID DEVSRVS-HWRM-F-0036
       
   409 //!@SYMComponent telephony_hwrm
       
   410 //!@SYMTestCaseDesc Ttests the transition to/from power-save state
       
   411 //!@SYMTestPriority High
       
   412 //!@SYMTestActions Open a FmTx session, enable, and tests the transition to/from power-save state
       
   413 //!@SYMTestExpectedResults Pass
       
   414 //!@SYMTestType CT
       
   415 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxPowerSaveOffL
       
   416 END_TESTCASE DEVSRVS-HWRM-F-0036
       
   417 
       
   418 START_TESTCASE DEVSRVS-HWRM-F-0037
       
   419 //!@SYMTestCaseID DEVSRVS-HWRM-F-0037
       
   420 //!@SYMComponent telephony_hwrm
       
   421 //!@SYMTestCaseDesc Failure case when attempting to enable FM Tx, with accessory attached.
       
   422 //!@SYMTestPriority High
       
   423 //!@SYMTestActions Open a FmTx session, simulate the connection of an accessory, attempt to enable FmTx, check status is correct, try enabling, simulate the connection of an accessory, disable FmTx.   
       
   424 //!@SYMTestExpectedResults Pass
       
   425 //!@SYMTestType CT
       
   426 RUN_TEST_STEP 100 te_hwrm TEFUnit.CHWRMTest.TestFmTxEnableDuringPowersaveL
       
   427 END_TESTCASE DEVSRVS-HWRM-F-0037
       
   428 
       
   429 PRINT Completed te_hwrm_fmtx tests