wapstack/wapmessageapi/te_wapstack/scripts/WapBoundPush.script
changeset 49 f50f4094acd7
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
       
     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 BoundPush test script file
       
    15 // 
       
    16 //
       
    17 
       
    18 PRINT GT167-WAP stack BOUND-PUSH test
       
    19 
       
    20 LOAD_SUITE WapStackSuite
       
    21 
       
    22 // ---------------------------------------------------------------------------------
       
    23 // TEST(1) Load implementation
       
    24 // ---------------------------------------------------------------------------------
       
    25 START_TESTCASE			WAP-WAPMESSAGE-0201
       
    26 //! @SYMTestCaseID		WAP-WAPMESSAGE-0201
       
    27 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_1 z:\testdata\configs\WapStackSuite.ini COMMON
       
    28 END_TESTCASE			WAP-WAPMESSAGE-0201
       
    29 
       
    30 // ---------------------------------------------------------------------------------
       
    31 // TEST(2) Connect using different bearers (tests 1.7, 1.8, 1.1.10 must fail)
       
    32 // ---------------------------------------------------------------------------------
       
    33 START_TESTCASE			WAP-WAPMESSAGE-0202
       
    34 //! @SYMTestCaseID		WAP-WAPMESSAGE-0202
       
    35 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
       
    36 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.2
       
    37 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.3
       
    38 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.4
       
    39 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.5
       
    40 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.6
       
    41 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.7
       
    42 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.8
       
    43 // Reconnect
       
    44 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.10
       
    45 
       
    46 CONCURRENT
       
    47 // Connect to the same port (second test should fail)
       
    48 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
       
    49 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.1
       
    50 
       
    51 // Connect to the different ports at the same time
       
    52 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.2
       
    53 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.3
       
    54 
       
    55 CONSECUTIVE
       
    56 END_TESTCASE			WAP-WAPMESSAGE-0202
       
    57 
       
    58 // ---------------------------------------------------------------------------------
       
    59 // TEST(3) Unconnected
       
    60 // ---------------------------------------------------------------------------------
       
    61 START_TESTCASE			WAP-WAPMESSAGE-0203
       
    62 //! @SYMTestCaseID		WAP-WAPMESSAGE-0203
       
    63 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_3 z:\testdata\configs\WapStackSuite.ini Test_3
       
    64 END_TESTCASE			WAP-WAPMESSAGE-0203
       
    65 
       
    66 // ---------------------------------------------------------------------------------
       
    67 // TEST(4) Normal condition/Multiple receive
       
    68 // ---------------------------------------------------------------------------------
       
    69 START_TESTCASE			WAP-WAPMESSAGE-0204
       
    70 //! @SYMTestCaseID		WAP-WAPMESSAGE-0204
       
    71 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.3.1
       
    72 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.3.2
       
    73 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.3.3
       
    74 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.3.4
       
    75 END_TESTCASE			WAP-WAPMESSAGE-0204
       
    76 
       
    77 // ---------------------------------------------------------------------------------
       
    78 // TEST(5) Cancel
       
    79 // ---------------------------------------------------------------------------------
       
    80 START_TESTCASE			WAP-WAPMESSAGE-0205
       
    81 //! @SYMTestCaseID		WAP-WAPMESSAGE-0205
       
    82 //RUN_TEST_STEP 100 WapStackSuite BoundCLPush_5 z:\testdata\configs\WapStackSuite.ini
       
    83 END_TESTCASE			WAP-WAPMESSAGE-0205
       
    84 
       
    85 // ---------------------------------------------------------------------------------
       
    86 // TEST(6) Timeout
       
    87 // ---------------------------------------------------------------------------------
       
    88 START_TESTCASE			WAP-WAPMESSAGE-0206
       
    89 //! @SYMTestCaseID		WAP-WAPMESSAGE-0206
       
    90 //RUN_TEST_STEP 100 WapStackSuite BoundCLPush_6 z:\testdata\configs\WapStackSuite.ini
       
    91 END_TESTCASE			WAP-WAPMESSAGE-0206
       
    92 
       
    93 // ---------------------------------------------------------------------------------
       
    94 // TEST(7) Wrong sequence
       
    95 // ---------------------------------------------------------------------------------
       
    96 START_TESTCASE			WAP-WAPMESSAGE-0207
       
    97 //! @SYMTestCaseID		WAP-WAPMESSAGE-0207
       
    98 RUN_TEST_STEP 100 WapStackSuite BoundCLPush_7 z:\testdata\configs\WapStackSuite.ini Test_7.1
       
    99 END_TESTCASE			WAP-WAPMESSAGE-0207
       
   100 
       
   101 // ---------------------------------------------------------------------------------
       
   102 // TEST(8) API low/high in parameter
       
   103 // ---------------------------------------------------------------------------------
       
   104 START_TESTCASE			WAP-WAPMESSAGE-0208
       
   105 //! @SYMTestCaseID		WAP-WAPMESSAGE-0208
       
   106 //RUN_TEST_STEP 100 WapStackSuite BoundCLPush_8 z:\testdata\configs\WapStackSuite.ini
       
   107 END_TESTCASE			WAP-WAPMESSAGE-0208
       
   108 
       
   109 // ---------------------------------------------------------------------------------
       
   110 // TEST(9)
       
   111 // ---------------------------------------------------------------------------------
       
   112 START_TESTCASE			WAP-WAPMESSAGE-0209
       
   113 //! @SYMTestCaseID		WAP-WAPMESSAGE-0209
       
   114 //RUN_TEST_STEP 100 WapStackSuite BoundCLPush_9 z:\testdata\configs\WapStackSuite.ini
       
   115 END_TESTCASE			WAP-WAPMESSAGE-0209
       
   116 
       
   117 PRINT GT167-WAP stack BOUND-PUSH test finished
       
   118 
       
   119