wapstack/wapmessageapi/te_wapstack/scripts/WapFullySpecWSP.script
branchRCL_3
changeset 18 50bae5c5c85f
equal deleted inserted replaced
17:3f227a47ad75 18:50bae5c5c85f
       
     1 // Copyright (c) 2001-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 // WAP stack FullySpecWSP test script file
       
    15 // 
       
    16 //
       
    17 
       
    18 PRINT GT167-WAP stack FULLY-SPECIFIED-WSP test
       
    19 
       
    20 LOAD_SUITE WapStackSuite
       
    21 
       
    22 // ---------------------------------------------------------------------------------
       
    23 // TEST(1) Load implementation
       
    24 // ---------------------------------------------------------------------------------
       
    25 START_TESTCASE			WAP-WAPMESSAGE-0701
       
    26 //! @SYMTestCaseID		WAP-WAPMESSAGE-0701
       
    27 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_1 z:\testdata\configs\WapStackSuite.ini COMMON
       
    28 END_TESTCASE			WAP-WAPMESSAGE-0701
       
    29 
       
    30 // ---------------------------------------------------------------------------------
       
    31 // TEST(2) Connect using different bearers (tests 1.7, 1.8, 1.9, 1.10 must fail)
       
    32 // ---------------------------------------------------------------------------------
       
    33 START_TESTCASE			WAP-WAPMESSAGE-0702
       
    34 //! @SYMTestCaseID		WAP-WAPMESSAGE-0702
       
    35 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
       
    36 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.2
       
    37 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.3
       
    38 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.4
       
    39 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.5
       
    40 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.7
       
    41 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.8
       
    42 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.9
       
    43 // Reconnect
       
    44 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.10
       
    45 END_TESTCASE			WAP-WAPMESSAGE-0702
       
    46 
       
    47 // ---------------------------------------------------------------------------------
       
    48 // TEST(3) Unconnected
       
    49 // ---------------------------------------------------------------------------------
       
    50 START_TESTCASE			WAP-WAPMESSAGE-0703
       
    51 //! @SYMTestCaseID		WAP-WAPMESSAGE-0703
       
    52 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_3 z:\testdata\configs\WapStackSuite.ini Test_3
       
    53 END_TESTCASE			WAP-WAPMESSAGE-0703
       
    54 
       
    55 // ---------------------------------------------------------------------------------
       
    56 // TEST(4) Normal condition/Multiple receive
       
    57 // ---------------------------------------------------------------------------------
       
    58 START_TESTCASE			WAP-WAPMESSAGE-0704
       
    59 //! @SYMTestCaseID		WAP-WAPMESSAGE-0704
       
    60 //RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_4 z:\testdata\configs\WapStackSuite.ini
       
    61 END_TESTCASE			WAP-WAPMESSAGE-0704
       
    62 
       
    63 // ---------------------------------------------------------------------------------
       
    64 // TEST(5) Cancel
       
    65 // ---------------------------------------------------------------------------------
       
    66 START_TESTCASE			WAP-WAPMESSAGE-0705
       
    67 //! @SYMTestCaseID		WAP-WAPMESSAGE-0705
       
    68 //RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_5 z:\testdata\configs\WapStackSuite.ini
       
    69 END_TESTCASE			WAP-WAPMESSAGE-0705
       
    70 
       
    71 // ---------------------------------------------------------------------------------
       
    72 // TEST(6) Timeout
       
    73 // ---------------------------------------------------------------------------------
       
    74 START_TESTCASE			WAP-WAPMESSAGE-0706
       
    75 //! @SYMTestCaseID		WAP-WAPMESSAGE-0706
       
    76 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_6 z:\testdata\configs\WapStackSuite.ini Test_6.1
       
    77 END_TESTCASE			WAP-WAPMESSAGE-0706
       
    78 
       
    79 // ---------------------------------------------------------------------------------
       
    80 // TEST(7) Wrong sequence
       
    81 // ---------------------------------------------------------------------------------
       
    82 START_TESTCASE			WAP-WAPMESSAGE-0707
       
    83 //! @SYMTestCaseID		WAP-WAPMESSAGE-0707
       
    84 RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_7 z:\testdata\configs\WapStackSuite.ini Test_7.1
       
    85 END_TESTCASE			WAP-WAPMESSAGE-0707
       
    86 
       
    87 // ---------------------------------------------------------------------------------
       
    88 // TEST(8) API low/high in parameter
       
    89 // ---------------------------------------------------------------------------------
       
    90 START_TESTCASE			WAP-WAPMESSAGE-0708
       
    91 //! @SYMTestCaseID		WAP-WAPMESSAGE-0708
       
    92 //RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_8 z:\testdata\configs\WapStackSuite.ini
       
    93 END_TESTCASE			WAP-WAPMESSAGE-0708
       
    94 
       
    95 // ---------------------------------------------------------------------------------
       
    96 // TEST(9)
       
    97 // ---------------------------------------------------------------------------------
       
    98 START_TESTCASE			WAP-WAPMESSAGE-0709
       
    99 //! @SYMTestCaseID		WAP-WAPMESSAGE-0709
       
   100 //RUN_TEST_STEP 100 WapStackSuite FullySpecWSP_9 z:\testdata\configs\WapStackSuite.ini
       
   101 END_TESTCASE			WAP-WAPMESSAGE-0709
       
   102 
       
   103 PRINT GT167-WAP stack FULLY-SPECIFIED-WSP test finished
       
   104 
       
   105