smsprotocols/smsstack/wapprot/test/TE_WAPTHDR/TE_wapthdr.script
changeset 0 3553901f7fa8
child 14 7ef16719d8cb
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // !@file
       
    15 // 
       
    16 //
       
    17 
       
    18 //Call the setup script to copy any necessary config
       
    19 //files to the right places
       
    20 RUN_SCRIPT z:\testdata\scripts\TE_wapthdr_setup.script
       
    21 
       
    22 LOAD_SUITE TE_wapthdr
       
    23 
       
    24 START_TESTCASE SMS-SMSStack-NA-6000
       
    25 //!@SYMTestCaseID SMS-SMSStack-NA-6000
       
    26 //!@SYMREQ REQ0000
       
    27 //!@SYMTestCaseDesc Send wap messages to various ports
       
    28 //!@SYMTestPriority critical
       
    29 //!@SYMTestActions - parses te_wapthdr.txt and then sends wap sms messages based on the contents of the config file
       
    30 //!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
       
    31 //!@SYMTestType CT
       
    32 RUN_TEST_STEP 100 TE_wapthdr TestParseWapTextMessage
       
    33 
       
    34 END_TESTCASE SMS-SMSStack-NA-6000
       
    35 
       
    36 START_TESTCASE SMS-SMSStack-NA-6001
       
    37 //!@SYMTestCaseID SMS-SMSStack-NA-6001
       
    38 //!@SYMREQ REQ0000
       
    39 //!@SYMTestCaseDesc Sends encoded wap messages to various ports
       
    40 //!@SYMTestPriority critical
       
    41 //!@SYMTestActions - parses te_wapthdr.txt and then sends encoded wap sms messages based on the contents of the config file
       
    42 //!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
       
    43 //!@SYMTestType CT
       
    44 RUN_TEST_STEP 100 TE_wapthdr TestEncodeWapTextMessage
       
    45 
       
    46 END_TESTCASE SMS-SMSStack-NA-6001
       
    47 
       
    48 START_TESTCASE SMS-SMSStack-NA-6002
       
    49 //!@SYMTestCaseID SMS-SMSStack-NA-6002
       
    50 //!@SYMREQ REQ0000
       
    51 //!@SYMTestCaseDesc Sends a buffer too long for the logger to handle
       
    52 //!@SYMTestPriority critical
       
    53 //!@SYMTestActions.Send a buffer too long for the logger to handle, therefore causing an overflow.
       
    54 // Function will panic if overflow handler is not implemented correctly.
       
    55 //!@SYMTestExpectedResults Pass - If anthing fails the step will leave with error code
       
    56 //!@SYMTestType CT
       
    57 RUN_TEST_STEP 100 TE_wapthdr TestLoggerOverflow
       
    58 END_TESTCASE SMS-SMSStack-NA-6002
       
    59