wapstack/wapmessageapi/te_wapstack/scripts/WapBoundWDP.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 WapBoundWDP 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-WDP tests
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-0301
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    26
//! @SYMTestCaseID		WAP-WAPMESSAGE-0301
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    27
RUN_TEST_STEP 100 WapStackSuite BoundWDP_1 z:\testdata\configs\WapStackSuite.ini COMMON
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    28
END_TESTCASE			WAP-WAPMESSAGE-0301
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.10 must fail)
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    32
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    33
START_TESTCASE			WAP-WAPMESSAGE-0302
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    34
//! @SYMTestCaseID		WAP-WAPMESSAGE-0302
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    35
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    36
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    37
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    38
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.4
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    39
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.5
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    40
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.6
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    41
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.7
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    42
// Reconnect
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    43
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.10
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    44
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    45
CONCURRENT
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    46
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 BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    49
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    50
// Connect to the different ports at the same time
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    51
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    52
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    53
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    54
CONSECUTIVE
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    55
END_TESTCASE			WAP-WAPMESSAGE-0302
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    56
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    57
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    58
// TEST(3) Unconnected
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    59
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    60
START_TESTCASE			WAP-WAPMESSAGE-0303
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    61
//! @SYMTestCaseID		WAP-WAPMESSAGE-0303
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    62
RUN_TEST_STEP 100 WapStackSuite BoundWDP_3 z:\testdata\configs\WapStackSuite.ini Test_3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    63
END_TESTCASE			WAP-WAPMESSAGE-0303
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    64
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    65
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    66
// TEST(4) Normal condition/Multiple receive
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    67
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    68
START_TESTCASE			WAP-WAPMESSAGE-0304
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    69
//! @SYMTestCaseID		WAP-WAPMESSAGE-0304
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    70
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    71
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    72
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    73
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.4
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    74
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    75
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    76
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.2
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    77
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.3
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    78
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.4
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    79
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.6
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    80
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.7
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    81
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.8
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    82
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.9
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    83
END_TESTCASE			WAP-WAPMESSAGE-0304
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    84
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    85
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    86
// TEST(5) Cancel
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    87
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    88
START_TESTCASE			WAP-WAPMESSAGE-0305
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    89
//! @SYMTestCaseID		WAP-WAPMESSAGE-0305
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    90
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_5 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    91
END_TESTCASE			WAP-WAPMESSAGE-0305
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    92
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    93
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    94
// TEST(6) Timeout
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    95
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    96
START_TESTCASE			WAP-WAPMESSAGE-0306
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    97
//! @SYMTestCaseID		WAP-WAPMESSAGE-0306
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    98
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_6 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    99
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   100
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   101
// TEST(7) Wrong sequence
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   102
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   103
RUN_TEST_STEP 100 WapStackSuite BoundWDP_7 z:\testdata\configs\WapStackSuite.ini Test_7.1
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   104
END_TESTCASE			WAP-WAPMESSAGE-0306
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   105
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   106
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   107
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   108
// TEST(8) API low/high in parameter
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   109
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   110
START_TESTCASE			WAP-WAPMESSAGE-0307
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   111
//! @SYMTestCaseID		WAP-WAPMESSAGE-0307
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   112
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_8 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   113
END_TESTCASE			WAP-WAPMESSAGE-0307
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   114
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   115
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   116
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   117
// TEST(9) Reserved
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   118
// ---------------------------------------------------------------------------------
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   119
START_TESTCASE			WAP-WAPMESSAGE-0308
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   120
//! @SYMTestCaseID		WAP-WAPMESSAGE-0308
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   121
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_9 z:\testdata\configs\WapStackSuite.ini
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   122
END_TESTCASE			WAP-WAPMESSAGE-0308
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   123
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   124
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   125
PRINT GT167-WAP stack BOUND-WDP test finished
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   126
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   127
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   128
8b72faa1200f 201024_02
hgs
parents:
diff changeset
   129