wapstack/wapmessageapi/te_wapstack/scripts/WapBoundWSP.script
author hgs
Mon, 09 Aug 2010 17:43:08 +0100
changeset 59 ac20d6a0a19d
parent 44 8b72faa1200f
permissions -rw-r--r--
201029_06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
44
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     1
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     2
// All rights reserved.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     7
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     8
// Initial Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    10
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    11
// Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    12
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    13
// Description:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    14
// WAP stack WapBoundWSP test script file
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    15
// 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    16
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    17
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    18
PRINT GT167-WAP stack BOUND-WSP test
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    19
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    20
LOAD_SUITE WapStackSuite
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    21
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    22
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    23
// TEST(1) Load implementation
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    24
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    25
START_TESTCASE			WAP-WAPMESSAGE-0401
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    26
//! @SYMTestCaseID		WAP-WAPMESSAGE-0401
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    27
RUN_TEST_STEP 100 WapStackSuite BoundWSP_1 z:\testdata\configs\WapStackSuite.ini COMMON
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    28
END_TESTCASE			WAP-WAPMESSAGE-0401
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    29
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    30
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    31
// TEST(2) Connect using different bearers (tests 1.7, 1.8, 1.10 must fail)
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    32
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    33
START_TESTCASE			WAP-WAPMESSAGE-0402
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    34
//! @SYMTestCaseID		WAP-WAPMESSAGE-0402
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    35
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    36
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    37
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    38
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.4
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    39
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.5
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    40
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.6
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    41
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.7
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    42
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.8
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    43
// Reconnect
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    44
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.10
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    45
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    46
CONCURRENT
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    47
// Connect to the same port (second test should fail)
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    48
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    49
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    50
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    51
// Connect to the different ports at the same time
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    52
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    53
RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    54
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    55
CONSECUTIVE
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    56
END_TESTCASE			WAP-WAPMESSAGE-0402
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    57
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    58
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    59
// TEST(3) Unconnected
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    60
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    61
START_TESTCASE			WAP-WAPMESSAGE-0403
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    62
//! @SYMTestCaseID		WAP-WAPMESSAGE-0403
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    63
RUN_TEST_STEP 100 WapStackSuite BoundWSP_3 z:\testdata\configs\WapStackSuite.ini Test_3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    64
END_TESTCASE			WAP-WAPMESSAGE-0403
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    65
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    66
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    67
// TEST(4) Normal condition/Multiple receive
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    68
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    69
START_TESTCASE			WAP-WAPMESSAGE-0404
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    70
//! @SYMTestCaseID		WAP-WAPMESSAGE-0404
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    71
//RUN_TEST_STEP 100 WapStackSuite BoundWSP_4 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    72
END_TESTCASE			WAP-WAPMESSAGE-0404
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    73
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    74
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    75
// TEST(5) Cancel
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    76
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    77
START_TESTCASE			WAP-WAPMESSAGE-0405
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    78
//! @SYMTestCaseID		WAP-WAPMESSAGE-0405
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    79
//RUN_TEST_STEP 100 WapStackSuite BoundWSP_5 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    80
END_TESTCASE			WAP-WAPMESSAGE-0405
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    81
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    82
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    83
// TEST(6) Timeout
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    84
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    85
START_TESTCASE			WAP-WAPMESSAGE-0406
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    86
//! @SYMTestCaseID		WAP-WAPMESSAGE-0406
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    87
RUN_TEST_STEP 100 WapStackSuite BoundWSP_6 z:\testdata\configs\WapStackSuite.ini Test_6.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    88
END_TESTCASE			WAP-WAPMESSAGE-0406
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    89
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    90
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    91
// TEST(7) Wrong sequence
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    92
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    93
START_TESTCASE			WAP-WAPMESSAGE-0407
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    94
//! @SYMTestCaseID		WAP-WAPMESSAGE-0407
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    95
RUN_TEST_STEP 100 WapStackSuite  BoundWSP_7 z:\testdata\configs\WapStackSuite.ini Test_7.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    96
END_TESTCASE			WAP-WAPMESSAGE-0407
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    97
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    98
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    99
// TEST(8) API low/high in parameter
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   100
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   101
START_TESTCASE			WAP-WAPMESSAGE-0408
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   102
//! @SYMTestCaseID		WAP-WAPMESSAGE-0408
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   103
//RUN_TEST_STEP 100 WapStackSuite BoundWSP_8 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   104
END_TESTCASE			WAP-WAPMESSAGE-0408
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   105
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   106
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   107
// TEST(9)
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   108
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   109
START_TESTCASE			WAP-WAPMESSAGE-0409
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   110
//! @SYMTestCaseID		WAP-WAPMESSAGE-0409
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   111
//RUN_TEST_STEP 100 WapStackSuite BoundWSP_9 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   112
END_TESTCASE			WAP-WAPMESSAGE-0409
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   113
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   114
PRINT GT167-WAP stack BOUN-WSP test finished
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   115
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   116
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   117
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   118