telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_smsstore_individual.script
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
child 44 8b72faa1200f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_smsstore_individual.script	Tue Feb 02 01:41:59 2010 +0200
@@ -0,0 +1,304 @@
+//
+// Copyright (c) 2009 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:
+//
+
+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
+