// Copyright (c) 2004-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:
//

RUN_UTILS  DeleteFile c:\config.txt
RUN_UTILS  CopyFile z:\testdata\configs\tsmscaps_config.txt c:\config.txt
RUN_UTILS  MakeReadWrite c:\config.txt

LOAD_SUITE te_smscaps_sc


//! ReadUserData
START_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1000
//!@SYMTestCaseID SMS-SMSCAPS-NOREADWRITENET-1000
//!@SYMREQ 0000
//!@SYMTestCaseDesc Read User Data
//!@SYMTestPriority Critical
//!@SYMTestActions Negative Test of Capabilities 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlEnumerateSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlReadSucceededSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlReadFailedSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlReadParamsSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlCompleteReadParamsSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsWapIoctl
END_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1000


//! ReadUserData + WriteUserData
START_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1001
//!@SYMTestCaseID SMS-SMSCAPS-NOREADWRITENET-1001
//!@SYMREQ 0000
//!@SYMTestCaseDesc Read and write User Data
//!@SYMTestPriority Critical
//!@SYMTestActions Negative  Test of Capabilities 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsWapSetOption
END_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1001


//! ReadUserData + WriteUserData + NetworkServices
START_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1002
//!@SYMTestCaseID SMS-SMSCAPS-NOREADWRITENET-1002
//!@SYMREQ 0000
//!@SYMTestCaseDesc Read User Data, write user data and network services
//!@SYMTestPriority Critical
//!@SYMTestActions Negative  Test of Capabilities 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsSetLocalName
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsWapSetLocalName
END_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1002


//! WriteUserData
START_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1003
//!@SYMTestCaseID SMS-SMSCAPS-NOREADWRITENET-1003
//!@SYMREQ 0000
//!@SYMTestCaseDesc write User Data
//!@SYMTestPriority Critical
//!@SYMTestActions Negative  Test of Capabilities 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsWrite
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlDeleteSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlWriteSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlWriteParamsSms
END_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1003

//! WriteUserData +  NetworkServices
START_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1004
//!@SYMTestCaseID SMS-SMSCAPS-NOREADWRITENET-1004
//!@SYMREQ 0000
//!@SYMTestCaseDesc write User Data and network services
//!@SYMTestPriority Critical
//!@SYMTestActions Negative  Test of Capabilities 
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsSmsIoctlSendSms
RUN_TEST_STEP 100 te_smscaps_sc CSmsCapsWapWrite
END_TESTCASE SMS-SMSCAPS-NOREADWRITENET-1004
