// 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:
// !@file
// 
//

//Call the setup script to copy any necessary config
//files to the right places
RUN_SCRIPT z:\testdata\scripts\TE_wapthdr_setup.script

LOAD_SUITE TE_wapthdr

START_TESTCASE SMS-SMSStack-NA-6000
//!@SYMTestCaseID SMS-SMSStack-NA-6000
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Send wap messages to various ports
//!@SYMTestPriority critical
//!@SYMTestActions - parses te_wapthdr.txt and then sends wap sms messages based on the contents of the config file
//!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_wapthdr TestParseWapTextMessage

END_TESTCASE SMS-SMSStack-NA-6000

START_TESTCASE SMS-SMSStack-NA-6001
//!@SYMTestCaseID SMS-SMSStack-NA-6001
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Sends encoded wap messages to various ports
//!@SYMTestPriority critical
//!@SYMTestActions - parses te_wapthdr.txt and then sends encoded wap sms messages based on the contents of the config file
//!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_wapthdr TestEncodeWapTextMessage
END_TESTCASE SMS-SMSStack-NA-6001

START_TESTCASE SMS-SMSStack-NA-6002
//!@SYMTestCaseID SMS-SMSStack-NA-6002
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Sends a buffer too long for the logger to handle
//!@SYMTestPriority critical
//!@SYMTestActions Send a buffer too long for the logger to handle, therefore causing an overflow.
// Function will panic if overflow handler is not implemented correctly.
//!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_wapthdr TestLoggerOverflow
END_TESTCASE SMS-SMSStack-NA-6002

