telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_smsstore_individual.script
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
child 44 8b72faa1200f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 //
       
     2 // Copyright (c) 2009 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 "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 LOAD_SUITE te_ctsy_component
       
    18 
       
    19 START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0001
       
    20 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0001
       
    21 //!@SYMComponent telephony_ctsy
       
    22 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::NotifyStoreEvent
       
    23 //!@SYMTestPriority High
       
    24 //!@SYMTestActions Invokes RMobileSmsStore::NotifyStoreEvent
       
    25 //!@SYMTestExpectedResults Pass
       
    26 //!@SYMTestType CT
       
    27 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0001L
       
    28 END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0001
       
    29 
       
    30 START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0002
       
    31 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0002
       
    32 //!@SYMComponent telephony_ctsy
       
    33 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::NotifyStoreEvent
       
    34 //!@SYMTestPriority High
       
    35 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::NotifyStoreEvent
       
    36 //!@SYMTestExpectedResults Pass
       
    37 //!@SYMTestType CT
       
    38 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0002L
       
    39 END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0002
       
    40 
       
    41 START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0004
       
    42 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0004
       
    43 //!@SYMComponent telephony_ctsy
       
    44 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::NotifyStoreEvent
       
    45 //!@SYMTestPriority High
       
    46 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::NotifyStoreEvent
       
    47 //!@SYMTestExpectedResults Pass
       
    48 //!@SYMTestType CT
       
    49 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0004L
       
    50 END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0004
       
    51 
       
    52 START_TESTCASE BA-CTSY-PBSMS-SMSSR-0001
       
    53 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0001
       
    54 //!@SYMComponent telephony_ctsy
       
    55 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Read
       
    56 //!@SYMTestPriority High
       
    57 //!@SYMTestActions Invokes RMobileSmsStore::Read
       
    58 //!@SYMTestExpectedResults Pass
       
    59 //!@SYMTestType CT
       
    60 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0001L
       
    61 END_TESTCASE BA-CTSY-PBSMS-SMSSR-0001
       
    62 
       
    63 START_TESTCASE BA-CTSY-PBSMS-SMSSR-0002
       
    64 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0002
       
    65 //!@SYMComponent telephony_ctsy
       
    66 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Read
       
    67 //!@SYMTestPriority High
       
    68 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::Read
       
    69 //!@SYMTestExpectedResults Pass
       
    70 //!@SYMTestType CT
       
    71 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0002L
       
    72 END_TESTCASE BA-CTSY-PBSMS-SMSSR-0002
       
    73 
       
    74 START_TESTCASE BA-CTSY-PBSMS-SMSSR-0003
       
    75 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0003
       
    76 //!@SYMComponent telephony_ctsy
       
    77 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Read with bad parameter data
       
    78 //!@SYMTestPriority High
       
    79 //!@SYMTestActions Invokes RMobileSmsStore::Read with bad parameter data
       
    80 //!@SYMTestExpectedResults Pass
       
    81 //!@SYMTestType CT
       
    82 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0003L
       
    83 END_TESTCASE BA-CTSY-PBSMS-SMSSR-0003
       
    84 
       
    85 START_TESTCASE BA-CTSY-PBSMS-SMSSR-0004
       
    86 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0004
       
    87 //!@SYMComponent telephony_ctsy
       
    88 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Read
       
    89 //!@SYMTestPriority High
       
    90 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Read
       
    91 //!@SYMTestExpectedResults Pass
       
    92 //!@SYMTestType CT
       
    93 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0004L
       
    94 END_TESTCASE BA-CTSY-PBSMS-SMSSR-0004
       
    95 
       
    96 START_TESTCASE BA-CTSY-PBSMS-SMSSD-0001
       
    97 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0001
       
    98 //!@SYMComponent telephony_ctsy
       
    99 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Delete
       
   100 //!@SYMTestPriority High
       
   101 //!@SYMTestActions Invokes RMobileSmsStore::Delete
       
   102 //!@SYMTestExpectedResults Pass
       
   103 //!@SYMTestType CT
       
   104 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0001L
       
   105 END_TESTCASE BA-CTSY-PBSMS-SMSSD-0001
       
   106 
       
   107 START_TESTCASE BA-CTSY-PBSMS-SMSSD-0002
       
   108 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0002
       
   109 //!@SYMComponent telephony_ctsy
       
   110 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Delete
       
   111 //!@SYMTestPriority High
       
   112 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::Delete
       
   113 //!@SYMTestExpectedResults Pass
       
   114 //!@SYMTestType CT
       
   115 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0002L
       
   116 END_TESTCASE BA-CTSY-PBSMS-SMSSD-0002
       
   117 
       
   118 START_TESTCASE BA-CTSY-PBSMS-SMSSD-0004
       
   119 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0004
       
   120 //!@SYMComponent telephony_ctsy
       
   121 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Delete
       
   122 //!@SYMTestPriority High
       
   123 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Delete
       
   124 //!@SYMTestExpectedResults Pass
       
   125 //!@SYMTestType CT
       
   126 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0004L
       
   127 END_TESTCASE BA-CTSY-PBSMS-SMSSD-0004
       
   128 
       
   129 START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0001
       
   130 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0001
       
   131 //!@SYMComponent telephony_ctsy
       
   132 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::GetInfo
       
   133 //!@SYMTestPriority High
       
   134 //!@SYMTestActions Invokes RMobileSmsStore::GetInfo
       
   135 //!@SYMTestExpectedResults Pass
       
   136 //!@SYMTestType CT
       
   137 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0001L
       
   138 END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0001
       
   139 
       
   140 START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0002
       
   141 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0002
       
   142 //!@SYMComponent telephony_ctsy
       
   143 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::GetInfo
       
   144 //!@SYMTestPriority High
       
   145 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::GetInfo
       
   146 //!@SYMTestExpectedResults Pass
       
   147 //!@SYMTestType CT
       
   148 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0002L
       
   149 END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0002
       
   150 
       
   151 START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0003
       
   152 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0003
       
   153 //!@SYMComponent telephony_ctsy
       
   154 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::GetInfo with bad parameter data
       
   155 //!@SYMTestPriority High
       
   156 //!@SYMTestActions Invokes RMobileSmsStore::GetInfo with bad parameter data
       
   157 //!@SYMTestExpectedResults Pass
       
   158 //!@SYMTestType CT
       
   159 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0003L
       
   160 END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0003
       
   161 
       
   162 START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0004
       
   163 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0004
       
   164 //!@SYMComponent telephony_ctsy
       
   165 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::GetInfo
       
   166 //!@SYMTestPriority High
       
   167 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::GetInfo
       
   168 //!@SYMTestExpectedResults Pass
       
   169 //!@SYMTestType CT
       
   170 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0004L
       
   171 END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0004
       
   172 
       
   173 START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0001
       
   174 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0001
       
   175 //!@SYMComponent telephony_ctsy
       
   176 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::DeleteAll
       
   177 //!@SYMTestPriority High
       
   178 //!@SYMTestActions Invokes RMobileSmsStore::DeleteAll
       
   179 //!@SYMTestExpectedResults Pass
       
   180 //!@SYMTestType CT
       
   181 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0001L
       
   182 END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0001
       
   183 
       
   184 START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0002
       
   185 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0002
       
   186 //!@SYMComponent telephony_ctsy
       
   187 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::DeleteAll
       
   188 //!@SYMTestPriority High
       
   189 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::DeleteAll
       
   190 //!@SYMTestExpectedResults Pass
       
   191 //!@SYMTestType CT
       
   192 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0002L
       
   193 END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0002
       
   194 
       
   195 START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0004
       
   196 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0004
       
   197 //!@SYMComponent telephony_ctsy
       
   198 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::DeleteAll
       
   199 //!@SYMTestPriority High
       
   200 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::DeleteAll
       
   201 //!@SYMTestExpectedResults Pass
       
   202 //!@SYMTestType CT
       
   203 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0004L
       
   204 END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0004
       
   205 
       
   206 START_TESTCASE BA-CTSY-PBSMS-SMSSW-0001
       
   207 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0001
       
   208 //!@SYMComponent telephony_ctsy
       
   209 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Write
       
   210 //!@SYMTestPriority High
       
   211 //!@SYMTestActions Invokes RMobileSmsStore::Write
       
   212 //!@SYMTestExpectedResults Pass
       
   213 //!@SYMTestType CT
       
   214 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0001L
       
   215 END_TESTCASE BA-CTSY-PBSMS-SMSSW-0001
       
   216 
       
   217 START_TESTCASE BA-CTSY-PBSMS-SMSSW-0002
       
   218 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0002
       
   219 //!@SYMComponent telephony_ctsy
       
   220 //!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Write
       
   221 //!@SYMTestPriority High
       
   222 //!@SYMTestActions Invokes cancelling of RMobileSmsStore::Write
       
   223 //!@SYMTestExpectedResults Pass
       
   224 //!@SYMTestType CT
       
   225 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0002L
       
   226 END_TESTCASE BA-CTSY-PBSMS-SMSSW-0002
       
   227 
       
   228 START_TESTCASE BA-CTSY-PBSMS-SMSSW-0003
       
   229 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0003
       
   230 //!@SYMComponent telephony_ctsy
       
   231 //!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Write with bad parameter data
       
   232 //!@SYMTestPriority High
       
   233 //!@SYMTestActions Invokes RMobileSmsStore::Write with bad parameter data
       
   234 //!@SYMTestExpectedResults Pass
       
   235 //!@SYMTestType CT
       
   236 //RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0003L
       
   237 END_TESTCASE BA-CTSY-PBSMS-SMSSW-0003
       
   238 
       
   239 START_TESTCASE BA-CTSY-PBSMS-SMSSW-0004
       
   240 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0004
       
   241 //!@SYMComponent telephony_ctsy
       
   242 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Write
       
   243 //!@SYMTestPriority High
       
   244 //!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Write
       
   245 //!@SYMTestExpectedResults Pass
       
   246 //!@SYMTestType CT
       
   247 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0004L
       
   248 END_TESTCASE BA-CTSY-PBSMS-SMSSW-0004
       
   249 
       
   250 START_TESTCASE BA-CTSY-PBSMS-SMSSS-0001
       
   251 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0001
       
   252 //!@SYMComponent telephony_ctsy
       
   253 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::Start
       
   254 //!@SYMTestPriority High
       
   255 //!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::Start
       
   256 //!@SYMTestExpectedResults Pass
       
   257 //!@SYMTestType CT
       
   258 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0001L
       
   259 END_TESTCASE BA-CTSY-PBSMS-SMSSS-0001
       
   260 
       
   261 START_TESTCASE BA-CTSY-PBSMS-SMSSS-0001b
       
   262 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0001b
       
   263 //!@SYMComponent telephony_ctsy
       
   264 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::Start
       
   265 //!@SYMTestPriority High
       
   266 //!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::Start
       
   267 //!@SYMTestExpectedResults Pass
       
   268 //!@SYMTestType CT
       
   269 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0001bL
       
   270 END_TESTCASE BA-CTSY-PBSMS-SMSSS-0001b
       
   271 
       
   272 START_TESTCASE BA-CTSY-PBSMS-SMSSS-0002
       
   273 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0002
       
   274 //!@SYMComponent telephony_ctsy
       
   275 //!@SYMTestCaseDesc Test support in CTSY for cancelling of CRetrieveMobilePhoneSmsList::Start
       
   276 //!@SYMTestPriority High
       
   277 //!@SYMTestActions Invokes cancelling of CRetrieveMobilePhoneSmsList::Start
       
   278 //!@SYMTestExpectedResults Pass
       
   279 //!@SYMTestType CT
       
   280 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0002L
       
   281 END_TESTCASE BA-CTSY-PBSMS-SMSSS-0002
       
   282 
       
   283 START_TESTCASE BA-CTSY-PBSMS-SMSSS-0004
       
   284 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0004
       
   285 //!@SYMComponent telephony_ctsy
       
   286 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to CRetrieveMobilePhoneSmsList::Start
       
   287 //!@SYMTestPriority High
       
   288 //!@SYMTestActions Invokes multiple client requests to CRetrieveMobilePhoneSmsList::Start
       
   289 //!@SYMTestExpectedResults Pass
       
   290 //!@SYMTestType CT
       
   291 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0004L
       
   292 END_TESTCASE BA-CTSY-PBSMS-SMSSS-0004
       
   293 
       
   294 START_TESTCASE BA-CTSY-PBSMS-SMSSSB-0001
       
   295 //!@SYMTestCaseID BA-CTSY-PBSMS-SMSSSB-0001
       
   296 //!@SYMComponent  telephony_ctsy
       
   297 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::StartBatch 
       
   298 //!@SYMTestPriority High
       
   299 //!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::StartBatch 
       
   300 //!@SYMTestExpectedResults KErrNotSupported is expected.
       
   301 //!@SYMTestType CT
       
   302 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStartBatch0001L
       
   303 END_TESTCASE BA-CTSY-PBSMS-SMSSSB-0001
       
   304