// Copyright (c) 2003-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_smsstor
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1000
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1000
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Sms Segmention Store Purge
//!@SYMTestPriority critical
//!@SYMTestActions Sms Segmention Store Purge
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor SmsSegmentionStorePurge
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1000
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1001
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1001
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Sms Segmention Store Purge1
//!@SYMTestPriority critical
//!@SYMTestActions Sms Segmention Store Purge1
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor SmsSegmentionStorePurge1
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1001
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1002
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1002
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Sms Segmention Store Purge2
//!@SYMTestPriority critical
//!@SYMTestActions Sms Segmention Store Purge2
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor SmsSegmentionStorePurge2
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1002
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1003
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1003
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Reassembly store
//!@SYMTestPriority critical
//!@SYMTestActions Test Reassembly store
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor Reassemblystore
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1003
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1004
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1004
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Reassembly store2
//!@SYMTestPriority critical
//!@SYMTestActions Test Reassembly store2
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor Reassemblystore2
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1004
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1005
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1005
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test PDU Encoding
//!@SYMTestPriority critical
//!@SYMTestActions Test Encoding of pdu's
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor EncodePDUs
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1005
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1006
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1006
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Internaliz eExternalize SMS
//!@SYMTestPriority critical
//!@SYMTestActions Test Internalize Externalize SMS
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor InternalizeExternalizeSMS
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1006
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1007
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1007
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Public Method Test
//!@SYMTestPriority critical
//!@SYMTestActions Public Method Test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor PublicMethodTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1007
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1008
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1008
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Low Memory Test
//!@SYMTestPriority critical
//!@SYMTestActions Low Memory Test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor LowMemoryTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1008
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1009
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1009
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Corruption Test
//!@SYMTestPriority critical
//!@SYMTestActions Corruption Test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor CorruptionTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1009
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1010
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1010
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Status Report Test
//!@SYMTestPriority critical
//!@SYMTestActions Status Report Test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor StatusReportTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1010
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1011
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1011
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Permanent File store test
//!@SYMTestPriority critical
//!@SYMTestActions Permanent File store test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor PermanentFileStoreTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1011
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1012
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1012
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Pre-allocated file test
//!@SYMTestPriority critical
//!@SYMTestActions Pre-allocated file test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 240 te_smsstor PreallocatedFileTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1012
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1013
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1013
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Class0 Re-assembly store test
//!@SYMTestPriority critical
//!@SYMTestActions Class0 Re-assembly store test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
// Note: ESK file is copied to TE_SMSSTOR's private directory as this is a unit test.
RUN_UTILS CopyFile z:\sms\smswap.sms-class0test.esk c:\private\101fe442\smswap.sms.esk
RUN_TEST_STEP 480 te_smsstor Class0ReassemblyStoreTest
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
RUN_UTILS CopyFile z:\private\101f7989\esock\smswap.sms.esk c:\private\101fe442\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1013
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1014
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1014
//!@SYMREQ EC113
//!@SYMTestCaseDesc Re-assembly Store performance test
//!@SYMTestPriority critical
//!@SYMTestActions Perform a number of lookups of various sized PDUs in average use case scenarios.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 900 te_smsstor ReassemblyStorePerformanceTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1014
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1015
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1015
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Class0 Re-assembly store test with no config file
//!@SYMTestPriority critical
//!@SYMTestActions Class0 Re-assembly store test with no config file
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_UTILS DeleteFile c:\private\101fe442\smswap.sms.esk
RUN_TEST_STEP 480 te_smsstor Class0ReassemblyStoreTest
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1015
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1016
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1016
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Maximum number of stored messages in segmentation store test
//!@SYMTestPriority critical
//!@SYMTestActions Make sure messages stored can not exceed the limit defined in esk file
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
// Note: ESK file is copied to TE_SMSSTOR's private directory as this is a unit test.
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
RUN_UTILS CopyFile z:\sms\smswap.sms-maxnummessagetest.esk c:\private\101fe442\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
RUN_TEST_STEP 480 te_smsstor SmsSegmentionStorePurge3
RUN_UTILS DeleteFile c:\private\101fe442\smswap.sms.esk
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1016
START_TESTCASE SMS-SMSSTACK-SMSSTOR-1017
//!@SYMTestCaseID SMS-SMSSTACK-SMSSTOR-1017
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Maximum number of stored messages in segmentation store is set to 0 test
//!@SYMTestPriority critical
//!@SYMTestActions Make sure the number of messages stored is not limited when it is set to 0
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
// Note: ESK file is copied to TE_SMSSTOR's private directory as this is a unit test.
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
RUN_UTILS CopyFile z:\sms\smswap.sms-0nummessagetest.esk c:\private\101fe442\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101fe442\smswap.sms.esk
RUN_TEST_STEP 900 te_smsstor SmsSegmentionStorePurge4
RUN_UTILS DeleteFile c:\private\101fe442\smswap.sms.esk
END_TESTCASE SMS-SMSSTACK-SMSSTOR-1017