telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_smsstore_individual.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 15:36:38 +0300
changeset 49 f50f4094acd7
parent 0 3553901f7fa8
child 66 07a122eea281
permissions -rw-r--r--
Revision: 201027 Kit: 2010127

//
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
//

RUN_SCRIPT z:\TestData\Scripts\mockltsy_copy_ini_file.script

LOAD_SUITE te_ctsy_component

START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::NotifyStoreEvent
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::NotifyStoreEvent
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::NotifyStoreEvent
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::NotifyStoreEvent
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSNSE-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::NotifyStoreEvent
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::NotifyStoreEvent
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestNotifyStoreEvent0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSNSE-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSR-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Read
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::Read
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSR-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSR-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Read
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::Read
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSR-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSR-0003
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0003
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Read with bad parameter data
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::Read with bad parameter data
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0003L
END_TESTCASE BA-CTSY-PBSMS-SMSSR-0003

START_TESTCASE BA-CTSY-PBSMS-SMSSR-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSR-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Read
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Read
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestRead0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSR-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSD-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Delete
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::Delete
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSD-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSD-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Delete
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::Delete
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSD-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSD-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSD-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Delete
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Delete
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDelete0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSD-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::GetInfo
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::GetInfo
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::GetInfo
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::GetInfo
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0003
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0003
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::GetInfo with bad parameter data
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::GetInfo with bad parameter data
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0003L
END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0003

START_TESTCASE BA-CTSY-PBSMS-SMSSGI-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSGI-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::GetInfo
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::GetInfo
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestGetInfo0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSGI-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::DeleteAll
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::DeleteAll
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::DeleteAll
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::DeleteAll
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSDA-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSDA-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::DeleteAll
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::DeleteAll
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestDeleteAll0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSDA-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSW-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Write
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::Write
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSW-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSW-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of RMobileSmsStore::Write
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of RMobileSmsStore::Write
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSW-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSW-0003
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0003
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for RMobileSmsStore::Write with bad parameter data
//!@SYMTestPriority High
//!@SYMTestActions Invokes RMobileSmsStore::Write with bad parameter data
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
//RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0003L
END_TESTCASE BA-CTSY-PBSMS-SMSSW-0003

START_TESTCASE BA-CTSY-PBSMS-SMSSW-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSW-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobileSmsStore::Write
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to RMobileSmsStore::Write
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestWrite0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSW-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSS-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0001
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::Start
//!@SYMTestPriority High
//!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSS-0001

START_TESTCASE BA-CTSY-PBSMS-SMSSS-0001b
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0001b
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::Start
//!@SYMTestPriority High
//!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0001bL
END_TESTCASE BA-CTSY-PBSMS-SMSSS-0001b

START_TESTCASE BA-CTSY-PBSMS-SMSSS-0002
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0002
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for cancelling of CRetrieveMobilePhoneSmsList::Start
//!@SYMTestPriority High
//!@SYMTestActions Invokes cancelling of CRetrieveMobilePhoneSmsList::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0002L
END_TESTCASE BA-CTSY-PBSMS-SMSSS-0002

START_TESTCASE BA-CTSY-PBSMS-SMSSS-0004
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSS-0004
//!@SYMComponent telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for multiple client requests to CRetrieveMobilePhoneSmsList::Start
//!@SYMTestPriority High
//!@SYMTestActions Invokes multiple client requests to CRetrieveMobilePhoneSmsList::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStart0004L
END_TESTCASE BA-CTSY-PBSMS-SMSSS-0004

START_TESTCASE BA-CTSY-PBSMS-SMSSSB-0001
//!@SYMTestCaseID BA-CTSY-PBSMS-SMSSSB-0001
//!@SYMComponent  telephony_ctsy
//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhoneSmsList::StartBatch 
//!@SYMTestPriority High
//!@SYMTestActions Invokes CRetrieveMobilePhoneSmsList::StartBatch 
//!@SYMTestExpectedResults KErrNotSupported is expected.
//!@SYMTestType CT
RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsySmsStoreFU.TestStartBatch0001L
END_TESTCASE BA-CTSY-PBSMS-SMSSSB-0001

RUN_SCRIPT z:\TestData\Scripts\mockltsy_remove_ini_file.script