os/boardsupport/haitest/bspsvs/suite/bsp/uart/scripts/base-bsp-serial-driver-stress.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
//
sl@0
     2
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
// All rights reserved.
sl@0
     4
// This component and the accompanying materials are made available
sl@0
     5
// under the terms of "Eclipse Public License v1.0"
sl@0
     6
// which accompanies this distribution, and is available
sl@0
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
//
sl@0
     9
// Initial Contributors:
sl@0
    10
// Nokia Corporation - initial contribution.
sl@0
    11
//
sl@0
    12
// Contributors:
sl@0
    13
//
sl@0
    14
// Description:
sl@0
    15
//
sl@0
    16
//! @file
sl@0
    17
//! @SYMTestSuiteName		base-bsp-serial-driver-stress_PORT<port>-<baud>
sl@0
    18
//! @SYMScriptTestEnvironment	This test script requires a base port ROM
sl@0
    19
sl@0
    20
/////////////////////////////////////////////////////////////////////
sl@0
    21
// base-bsp-serial-driver-stress-PORT<port>-<baud>.script
sl@0
    22
//
sl@0
    23
//
sl@0
    24
// Tests elements of the RBusDevComm
sl@0
    25
// as a means of confidence that the HAI APIs work as expected.
sl@0
    26
//
sl@0
    27
// Tests are validated through environment settings found in the file t_serial.ini
sl@0
    28
//
sl@0
    29
// The purpose is to provide a regression test suite of publishedPartner APIs for RBusDevComm.
sl@0
    30
// Negative testing is performed to confirm that correct errors are returned when incorrect parameters are given.
sl@0
    31
// The tests are fully automated.
sl@0
    32
/////////////////////////////////////////////////////////////////////
sl@0
    33
sl@0
    34
LOAD_SUITE	t_serial
sl@0
    35
sl@0
    36
sl@0
    37
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2001
sl@0
    38
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2001
sl@0
    39
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
    40
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
    41
//! @SYMAuthor			Louis Henry Nayegon
sl@0
    42
//! @SYMCreationDate		10/04/2008
sl@0
    43
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
    44
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
    45
//!					port		= com<port>
sl@0
    46
//!					baud rate	= 9600
sl@0
    47
//!					data bits	= 8
sl@0
    48
//!					stop bits	= 1
sl@0
    49
//!					parity		= none
sl@0
    50
//!					flow control	= none
sl@0
    51
//!				2. Change configuration
sl@0
    52
//!					baud rate	= <baud>
sl@0
    53
//!					data bits	= 8
sl@0
    54
//!					stop bits	= 1
sl@0
    55
//!					parity		= none
sl@0
    56
//!					flow control	= rtscts
sl@0
    57
//!				3. Send data to com port without specifying the length of the data
sl@0
    58
//!				4. Read data from com port without specifying the length of the data
sl@0
    59
//!				5. Restore configuration
sl@0
    60
//!				6. Destroy the object
sl@0
    61
//! @SYMTestStatus		Implemented
sl@0
    62
//! @SYMTestPriority		High
sl@0
    63
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
    64
//! @SYMTestType		CIT
sl@0
    65
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
    66
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
    67
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
    68
		CREATE_OBJECT	TCommConfigV01	config
sl@0
    69
		COMMAND		busDevComm	new
sl@0
    70
		COMMAND		configSave	new
sl@0
    71
		COMMAND		config		new
sl@0
    72
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
    73
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
    74
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
    75
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
    76
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
    77
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
    78
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
    79
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
    80
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
    81
sl@0
    82
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
sl@0
    83
		OUTSTANDING
sl@0
    84
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
    85
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
    86
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
    87
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
    88
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
    89
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
    90
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
    91
		OUTSTANDING
sl@0
    92
sl@0
    93
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
    94
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
    95
		OUTSTANDING
sl@0
    96
sl@0
    97
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
    98
		OUTSTANDING
sl@0
    99
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   100
		COMMAND		busDevComm	Close
sl@0
   101
		COMMAND		config		~
sl@0
   102
		COMMAND		configSave	~
sl@0
   103
		COMMAND		busDevComm	~
sl@0
   104
	END_TEST_BLOCK
sl@0
   105
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2001
sl@0
   106
sl@0
   107
sl@0
   108
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2002
sl@0
   109
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2002
sl@0
   110
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   111
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   112
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   113
//! @SYMCreationDate		10/04/2008
sl@0
   114
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   115
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   116
//!					port		= com<port>
sl@0
   117
//!					baud rate	= 9600
sl@0
   118
//!					data bits	= 8
sl@0
   119
//!					stop bits	= 1
sl@0
   120
//!					parity		= none
sl@0
   121
//!					flow control	= none
sl@0
   122
//!				2. Change configuration
sl@0
   123
//!					baud rate	= <baud>
sl@0
   124
//!					data bits	= 8
sl@0
   125
//!					stop bits	= 1
sl@0
   126
//!					parity		= none
sl@0
   127
//!					flow control	= rtscts
sl@0
   128
//!				3. Send data to com port specifying the length of the data
sl@0
   129
//!				4. Read data from com port specifying the length of the data
sl@0
   130
//!				5. Restore configuration
sl@0
   131
//!				6. Destroy the object
sl@0
   132
//! @SYMTestStatus		Implemented
sl@0
   133
//! @SYMTestPriority		High
sl@0
   134
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   135
//! @SYMTestType		CIT
sl@0
   136
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   137
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   138
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   139
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   140
		COMMAND		busDevComm	new
sl@0
   141
		COMMAND		configSave	new
sl@0
   142
		COMMAND		config		new
sl@0
   143
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   144
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   145
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   146
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   147
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   148
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   149
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   150
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   151
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   152
sl@0
   153
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
sl@0
   154
		OUTSTANDING
sl@0
   155
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   156
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   157
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   158
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
   159
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   160
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   161
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   162
		OUTSTANDING
sl@0
   163
sl@0
   164
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   165
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   166
		OUTSTANDING
sl@0
   167
sl@0
   168
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   169
		OUTSTANDING
sl@0
   170
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   171
		COMMAND		busDevComm	Close
sl@0
   172
		COMMAND		config		~
sl@0
   173
		COMMAND		configSave	~
sl@0
   174
		COMMAND		busDevComm	~
sl@0
   175
	END_TEST_BLOCK
sl@0
   176
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_rtscts-2002
sl@0
   177
sl@0
   178
sl@0
   179
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2001
sl@0
   180
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2001
sl@0
   181
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   182
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   183
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   184
//! @SYMCreationDate		10/04/2008
sl@0
   185
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   186
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   187
//!					port		= com<port>
sl@0
   188
//!					baud rate	= 9600
sl@0
   189
//!					data bits	= 8
sl@0
   190
//!					stop bits	= 1
sl@0
   191
//!					parity		= none
sl@0
   192
//!					flow control	= none
sl@0
   193
//!				2. Change configuration
sl@0
   194
//!					baud rate	= <baud>
sl@0
   195
//!					data bits	= 8
sl@0
   196
//!					stop bits	= 2
sl@0
   197
//!					parity		= none
sl@0
   198
//!					flow control	= rtscts
sl@0
   199
//!				3. Send data to com port without specifying the length of the data
sl@0
   200
//!				4. Read data from com port without specifying the length of the data
sl@0
   201
//!				5. Restore configuration
sl@0
   202
//!				6. Destroy the object
sl@0
   203
//! @SYMTestStatus		Implemented
sl@0
   204
//! @SYMTestPriority		High
sl@0
   205
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   206
//! @SYMTestType		CIT
sl@0
   207
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   208
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   209
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   210
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   211
		COMMAND		busDevComm	new
sl@0
   212
		COMMAND		configSave	new
sl@0
   213
		COMMAND		config		new
sl@0
   214
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   215
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   216
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   217
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   218
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   219
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   220
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   221
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   222
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   223
sl@0
   224
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
sl@0
   225
		OUTSTANDING
sl@0
   226
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   227
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   228
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   229
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
   230
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   231
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   232
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   233
		OUTSTANDING
sl@0
   234
sl@0
   235
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   236
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   237
		OUTSTANDING
sl@0
   238
sl@0
   239
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   240
		OUTSTANDING
sl@0
   241
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   242
		COMMAND		busDevComm	Close
sl@0
   243
		COMMAND		config		~
sl@0
   244
		COMMAND		configSave	~
sl@0
   245
		COMMAND		busDevComm	~
sl@0
   246
	END_TEST_BLOCK
sl@0
   247
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2001
sl@0
   248
sl@0
   249
sl@0
   250
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2002
sl@0
   251
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2002
sl@0
   252
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   253
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   254
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   255
//! @SYMCreationDate		10/04/2008
sl@0
   256
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   257
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   258
//!					port		= com<port>
sl@0
   259
//!					baud rate	= 9600
sl@0
   260
//!					data bits	= 8
sl@0
   261
//!					stop bits	= 1
sl@0
   262
//!					parity		= none
sl@0
   263
//!					flow control	= none
sl@0
   264
//!				2. Change configuration
sl@0
   265
//!					baud rate	= <baud>
sl@0
   266
//!					data bits	= 8
sl@0
   267
//!					stop bits	= 2
sl@0
   268
//!					parity		= none
sl@0
   269
//!					flow control	= rtscts
sl@0
   270
//!				3. Send data to com port specifying the length of the data
sl@0
   271
//!				4. Read data from com port specifying the length of the data
sl@0
   272
//!				5. Restore configuration
sl@0
   273
//!				6. Destroy the object
sl@0
   274
//! @SYMTestStatus		Implemented
sl@0
   275
//! @SYMTestPriority		High
sl@0
   276
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   277
//! @SYMTestType		CIT
sl@0
   278
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   279
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   280
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   281
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   282
		COMMAND		busDevComm	new
sl@0
   283
		COMMAND		configSave	new
sl@0
   284
		COMMAND		config		new
sl@0
   285
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   286
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   287
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   288
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   289
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   290
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   291
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   292
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   293
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   294
sl@0
   295
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
sl@0
   296
		OUTSTANDING
sl@0
   297
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   298
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   299
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   300
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
   301
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   302
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   303
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   304
		OUTSTANDING
sl@0
   305
sl@0
   306
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   307
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   308
		OUTSTANDING
sl@0
   309
sl@0
   310
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   311
		OUTSTANDING
sl@0
   312
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   313
		COMMAND		busDevComm	Close
sl@0
   314
		COMMAND		config		~
sl@0
   315
		COMMAND		configSave	~
sl@0
   316
		COMMAND		busDevComm	~
sl@0
   317
	END_TEST_BLOCK
sl@0
   318
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_rtscts-2002
sl@0
   319
sl@0
   320
sl@0
   321
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2001
sl@0
   322
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2001
sl@0
   323
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   324
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   325
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   326
//! @SYMCreationDate		10/04/2008
sl@0
   327
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   328
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   329
//!					port		= com<port>
sl@0
   330
//!					baud rate	= 9600
sl@0
   331
//!					data bits	= 8
sl@0
   332
//!					stop bits	= 1
sl@0
   333
//!					parity		= none
sl@0
   334
//!					flow control	= none
sl@0
   335
//!				2. Change configuration
sl@0
   336
//!					baud rate	= <baud>
sl@0
   337
//!					data bits	= 8
sl@0
   338
//!					stop bits	= 1
sl@0
   339
//!					parity		= even
sl@0
   340
//!					flow control	= rtscts
sl@0
   341
//!				3. Send data to com port without specifying the length of the data
sl@0
   342
//!				4. Read data from com port without specifying the length of the data
sl@0
   343
//!				5. Restore configuration
sl@0
   344
//!				6. Destroy the object
sl@0
   345
//! @SYMTestStatus		Implemented
sl@0
   346
//! @SYMTestPriority		High
sl@0
   347
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   348
//! @SYMTestType		CIT
sl@0
   349
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   350
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   351
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   352
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   353
		COMMAND		busDevComm	new
sl@0
   354
		COMMAND		configSave	new
sl@0
   355
		COMMAND		config		new
sl@0
   356
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   357
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   358
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   359
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   360
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   361
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   362
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   363
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   364
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   365
sl@0
   366
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
sl@0
   367
		OUTSTANDING
sl@0
   368
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   369
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   370
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   371
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
   372
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   373
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   374
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   375
		OUTSTANDING
sl@0
   376
sl@0
   377
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   378
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   379
		OUTSTANDING
sl@0
   380
sl@0
   381
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   382
		OUTSTANDING
sl@0
   383
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   384
		COMMAND		busDevComm	Close
sl@0
   385
		COMMAND		config		~
sl@0
   386
		COMMAND		configSave	~
sl@0
   387
		COMMAND		busDevComm	~
sl@0
   388
	END_TEST_BLOCK
sl@0
   389
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2001
sl@0
   390
sl@0
   391
sl@0
   392
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2002
sl@0
   393
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2002
sl@0
   394
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   395
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   396
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   397
//! @SYMCreationDate		10/04/2008
sl@0
   398
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   399
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   400
//!					port		= com<port>
sl@0
   401
//!					baud rate	= 9600
sl@0
   402
//!					data bits	= 8
sl@0
   403
//!					stop bits	= 1
sl@0
   404
//!					parity		= none
sl@0
   405
//!					flow control	= none
sl@0
   406
//!				2. Change configuration
sl@0
   407
//!					baud rate	= <baud>
sl@0
   408
//!					data bits	= 8
sl@0
   409
//!					stop bits	= 1
sl@0
   410
//!					parity		= even
sl@0
   411
//!					flow control	= rtscts
sl@0
   412
//!				3. Send data to com port specifying the length of the data
sl@0
   413
//!				4. Read data from com port specifying the length of the data
sl@0
   414
//!				5. Restore configuration
sl@0
   415
//!				6. Destroy the object
sl@0
   416
//! @SYMTestStatus		Implemented
sl@0
   417
//! @SYMTestPriority		High
sl@0
   418
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   419
//! @SYMTestType		CIT
sl@0
   420
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   421
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   422
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   423
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   424
		COMMAND		busDevComm	new
sl@0
   425
		COMMAND		configSave	new
sl@0
   426
		COMMAND		config		new
sl@0
   427
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   428
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   429
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   430
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   431
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   432
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   433
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   434
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   435
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   436
sl@0
   437
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
sl@0
   438
		OUTSTANDING
sl@0
   439
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   440
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   441
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   442
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
   443
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   444
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   445
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   446
		OUTSTANDING
sl@0
   447
sl@0
   448
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   449
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   450
		OUTSTANDING
sl@0
   451
sl@0
   452
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   453
		OUTSTANDING
sl@0
   454
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   455
		COMMAND		busDevComm	Close
sl@0
   456
		COMMAND		config		~
sl@0
   457
		COMMAND		configSave	~
sl@0
   458
		COMMAND		busDevComm	~
sl@0
   459
	END_TEST_BLOCK
sl@0
   460
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_rtscts-2002
sl@0
   461
sl@0
   462
sl@0
   463
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2001
sl@0
   464
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2001
sl@0
   465
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   466
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   467
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   468
//! @SYMCreationDate		10/04/2008
sl@0
   469
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   470
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   471
//!					port		= com<port>
sl@0
   472
//!					baud rate	= 9600
sl@0
   473
//!					data bits	= 8
sl@0
   474
//!					stop bits	= 1
sl@0
   475
//!					parity		= none
sl@0
   476
//!					flow control	= none
sl@0
   477
//!				2. Change configuration
sl@0
   478
//!					baud rate	= <baud>
sl@0
   479
//!					data bits	= 8
sl@0
   480
//!					stop bits	= 2
sl@0
   481
//!					parity		= even
sl@0
   482
//!					flow control	= rtscts
sl@0
   483
//!				3. Send data to com port without specifying the length of the data
sl@0
   484
//!				4. Read data from com port without specifying the length of the data
sl@0
   485
//!				5. Restore configuration
sl@0
   486
//!				6. Destroy the object
sl@0
   487
//! @SYMTestStatus		Implemented
sl@0
   488
//! @SYMTestPriority		High
sl@0
   489
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   490
//! @SYMTestType		CIT
sl@0
   491
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   492
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   493
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   494
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   495
		COMMAND		busDevComm	new
sl@0
   496
		COMMAND		configSave	new
sl@0
   497
		COMMAND		config		new
sl@0
   498
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   499
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   500
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   501
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   502
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   503
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   504
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   505
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   506
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   507
sl@0
   508
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
sl@0
   509
		OUTSTANDING
sl@0
   510
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   511
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   512
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   513
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
   514
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   515
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   516
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   517
		OUTSTANDING
sl@0
   518
sl@0
   519
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   520
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   521
		OUTSTANDING
sl@0
   522
sl@0
   523
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   524
		OUTSTANDING
sl@0
   525
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   526
		COMMAND		busDevComm	Close
sl@0
   527
		COMMAND		config		~
sl@0
   528
		COMMAND		configSave	~
sl@0
   529
		COMMAND		busDevComm	~
sl@0
   530
	END_TEST_BLOCK
sl@0
   531
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2001
sl@0
   532
sl@0
   533
sl@0
   534
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2002
sl@0
   535
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2002
sl@0
   536
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   537
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   538
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   539
//! @SYMCreationDate		10/04/2008
sl@0
   540
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   541
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   542
//!					port		= com<port>
sl@0
   543
//!					baud rate	= 9600
sl@0
   544
//!					data bits	= 8
sl@0
   545
//!					stop bits	= 1
sl@0
   546
//!					parity		= none
sl@0
   547
//!					flow control	= none
sl@0
   548
//!				2. Change configuration
sl@0
   549
//!					baud rate	= <baud>
sl@0
   550
//!					data bits	= 8
sl@0
   551
//!					stop bits	= 2
sl@0
   552
//!					parity		= even
sl@0
   553
//!					flow control	= rtscts
sl@0
   554
//!				3. Send data to com port specifying the length of the data
sl@0
   555
//!				4. Read data from com port specifying the length of the data
sl@0
   556
//!				5. Restore configuration
sl@0
   557
//!				6. Destroy the object
sl@0
   558
//! @SYMTestStatus		Implemented
sl@0
   559
//! @SYMTestPriority		High
sl@0
   560
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   561
//! @SYMTestType		CIT
sl@0
   562
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   563
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   564
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   565
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   566
		COMMAND		busDevComm	new
sl@0
   567
		COMMAND		configSave	new
sl@0
   568
		COMMAND		config		new
sl@0
   569
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   570
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   571
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   572
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   573
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   574
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   575
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   576
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   577
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   578
sl@0
   579
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
sl@0
   580
		OUTSTANDING
sl@0
   581
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   582
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   583
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   584
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
   585
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   586
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   587
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   588
		OUTSTANDING
sl@0
   589
sl@0
   590
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   591
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   592
		OUTSTANDING
sl@0
   593
sl@0
   594
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   595
		OUTSTANDING
sl@0
   596
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   597
		COMMAND		busDevComm	Close
sl@0
   598
		COMMAND		config		~
sl@0
   599
		COMMAND		configSave	~
sl@0
   600
		COMMAND		busDevComm	~
sl@0
   601
	END_TEST_BLOCK
sl@0
   602
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_rtscts-2002
sl@0
   603
sl@0
   604
sl@0
   605
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2001
sl@0
   606
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2001
sl@0
   607
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   608
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   609
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   610
//! @SYMCreationDate		10/04/2008
sl@0
   611
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   612
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   613
//!					port		= com<port>
sl@0
   614
//!					baud rate	= 9600
sl@0
   615
//!					data bits	= 8
sl@0
   616
//!					stop bits	= 1
sl@0
   617
//!					parity		= none
sl@0
   618
//!					flow control	= none
sl@0
   619
//!				2. Change configuration
sl@0
   620
//!					baud rate	= <baud>
sl@0
   621
//!					data bits	= 8
sl@0
   622
//!					stop bits	= 1
sl@0
   623
//!					parity		= odd
sl@0
   624
//!					flow control	= rtscts
sl@0
   625
//!				3. Send data to com port without specifying the length of the data
sl@0
   626
//!				4. Read data from com port without specifying the length of the data
sl@0
   627
//!				5. Restore configuration
sl@0
   628
//!				6. Destroy the object
sl@0
   629
//! @SYMTestStatus		Implemented
sl@0
   630
//! @SYMTestPriority		High
sl@0
   631
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   632
//! @SYMTestType		CIT
sl@0
   633
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   634
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   635
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   636
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   637
		COMMAND		busDevComm	new
sl@0
   638
		COMMAND		configSave	new
sl@0
   639
		COMMAND		config		new
sl@0
   640
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   641
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   642
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   643
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   644
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   645
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   646
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   647
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   648
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   649
sl@0
   650
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
sl@0
   651
		OUTSTANDING
sl@0
   652
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   653
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   654
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   655
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
   656
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   657
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   658
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   659
		OUTSTANDING
sl@0
   660
sl@0
   661
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   662
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   663
		OUTSTANDING
sl@0
   664
sl@0
   665
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   666
		OUTSTANDING
sl@0
   667
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   668
		COMMAND		busDevComm	Close
sl@0
   669
		COMMAND		config		~
sl@0
   670
		COMMAND		configSave	~
sl@0
   671
		COMMAND		busDevComm	~
sl@0
   672
	END_TEST_BLOCK
sl@0
   673
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2001
sl@0
   674
sl@0
   675
sl@0
   676
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2002
sl@0
   677
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2002
sl@0
   678
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   679
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   680
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   681
//! @SYMCreationDate		10/04/2008
sl@0
   682
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   683
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   684
//!					port		= com<port>
sl@0
   685
//!					baud rate	= 9600
sl@0
   686
//!					data bits	= 8
sl@0
   687
//!					stop bits	= 1
sl@0
   688
//!					parity		= none
sl@0
   689
//!					flow control	= none
sl@0
   690
//!				2. Change configuration
sl@0
   691
//!					baud rate	= <baud>
sl@0
   692
//!					data bits	= 8
sl@0
   693
//!					stop bits	= 1
sl@0
   694
//!					parity		= odd
sl@0
   695
//!					flow control	= rtscts
sl@0
   696
//!				3. Send data to com port specifying the length of the data
sl@0
   697
//!				4. Read data from com port specifying the length of the data
sl@0
   698
//!				5. Restore configuration
sl@0
   699
//!				6. Destroy the object
sl@0
   700
//! @SYMTestStatus		Implemented
sl@0
   701
//! @SYMTestPriority		High
sl@0
   702
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   703
//! @SYMTestType		CIT
sl@0
   704
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   705
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   706
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   707
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   708
		COMMAND		busDevComm	new
sl@0
   709
		COMMAND		configSave	new
sl@0
   710
		COMMAND		config		new
sl@0
   711
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   712
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   713
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   714
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   715
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   716
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   717
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   718
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   719
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   720
sl@0
   721
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
sl@0
   722
		OUTSTANDING
sl@0
   723
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   724
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   725
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   726
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
   727
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   728
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   729
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   730
		OUTSTANDING
sl@0
   731
sl@0
   732
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   733
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   734
		OUTSTANDING
sl@0
   735
sl@0
   736
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   737
		OUTSTANDING
sl@0
   738
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   739
		COMMAND		busDevComm	Close
sl@0
   740
		COMMAND		config		~
sl@0
   741
		COMMAND		configSave	~
sl@0
   742
		COMMAND		busDevComm	~
sl@0
   743
	END_TEST_BLOCK
sl@0
   744
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_rtscts-2002
sl@0
   745
sl@0
   746
sl@0
   747
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2001
sl@0
   748
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2001
sl@0
   749
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   750
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   751
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   752
//! @SYMCreationDate		10/04/2008
sl@0
   753
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   754
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   755
//!					port		= com<port>
sl@0
   756
//!					baud rate	= 9600
sl@0
   757
//!					data bits	= 8
sl@0
   758
//!					stop bits	= 1
sl@0
   759
//!					parity		= none
sl@0
   760
//!					flow control	= none
sl@0
   761
//!				2. Change configuration
sl@0
   762
//!					baud rate	= <baud>
sl@0
   763
//!					data bits	= 8
sl@0
   764
//!					stop bits	= 2
sl@0
   765
//!					parity		= odd
sl@0
   766
//!					flow control	= rtscts
sl@0
   767
//!				3. Send data to com port without specifying the length of the data
sl@0
   768
//!				4. Read data from com port without specifying the length of the data
sl@0
   769
//!				5. Restore configuration
sl@0
   770
//!				6. Destroy the object
sl@0
   771
//! @SYMTestStatus		Implemented
sl@0
   772
//! @SYMTestPriority		High
sl@0
   773
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   774
//! @SYMTestType		CIT
sl@0
   775
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   776
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   777
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   778
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   779
		COMMAND		busDevComm	new
sl@0
   780
		COMMAND		configSave	new
sl@0
   781
		COMMAND		config		new
sl@0
   782
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   783
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   784
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   785
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   786
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   787
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   788
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   789
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   790
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   791
sl@0
   792
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-rtscts-Write_config
sl@0
   793
		OUTSTANDING
sl@0
   794
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   795
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   796
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   797
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
   798
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   799
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   800
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   801
		OUTSTANDING
sl@0
   802
sl@0
   803
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   804
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   805
		OUTSTANDING
sl@0
   806
sl@0
   807
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   808
		OUTSTANDING
sl@0
   809
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   810
		COMMAND		busDevComm	Close
sl@0
   811
		COMMAND		config		~
sl@0
   812
		COMMAND		configSave	~
sl@0
   813
		COMMAND		busDevComm	~
sl@0
   814
	END_TEST_BLOCK
sl@0
   815
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2001
sl@0
   816
sl@0
   817
sl@0
   818
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2002
sl@0
   819
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2002
sl@0
   820
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   821
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   822
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   823
//! @SYMCreationDate		10/04/2008
sl@0
   824
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   825
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   826
//!					port		= com<port>
sl@0
   827
//!					baud rate	= 9600
sl@0
   828
//!					data bits	= 8
sl@0
   829
//!					stop bits	= 1
sl@0
   830
//!					parity		= none
sl@0
   831
//!					flow control	= none
sl@0
   832
//!				2. Change configuration
sl@0
   833
//!					baud rate	= <baud>
sl@0
   834
//!					data bits	= 8
sl@0
   835
//!					stop bits	= 2
sl@0
   836
//!					parity		= odd
sl@0
   837
//!					flow control	= rtscts
sl@0
   838
//!				3. Send data to com port specifying the length of the data
sl@0
   839
//!				4. Read data from com port specifying the length of the data
sl@0
   840
//!				5. Restore configuration
sl@0
   841
//!				6. Destroy the object
sl@0
   842
//! @SYMTestStatus		Implemented
sl@0
   843
//! @SYMTestPriority		High
sl@0
   844
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   845
//! @SYMTestType		CIT
sl@0
   846
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   847
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   848
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   849
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   850
		COMMAND		busDevComm	new
sl@0
   851
		COMMAND		configSave	new
sl@0
   852
		COMMAND		config		new
sl@0
   853
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   854
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   855
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   856
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   857
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   858
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   859
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   860
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   861
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   862
sl@0
   863
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-rtscts-Write_config
sl@0
   864
		OUTSTANDING
sl@0
   865
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   866
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   867
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
   868
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
   869
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
sl@0
   870
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   871
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   872
		OUTSTANDING
sl@0
   873
sl@0
   874
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
   875
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
   876
		OUTSTANDING
sl@0
   877
sl@0
   878
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   879
		OUTSTANDING
sl@0
   880
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   881
		COMMAND		busDevComm	Close
sl@0
   882
		COMMAND		config		~
sl@0
   883
		COMMAND		configSave	~
sl@0
   884
		COMMAND		busDevComm	~
sl@0
   885
	END_TEST_BLOCK
sl@0
   886
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_rtscts-2002
sl@0
   887
sl@0
   888
sl@0
   889
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2001
sl@0
   890
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2001
sl@0
   891
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
   892
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
   893
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   894
//! @SYMCreationDate		10/04/2008
sl@0
   895
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   896
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   897
//!					port		= com<port>
sl@0
   898
//!					baud rate	= 9600
sl@0
   899
//!					data bits	= 8
sl@0
   900
//!					stop bits	= 1
sl@0
   901
//!					parity		= none
sl@0
   902
//!					flow control	= none
sl@0
   903
//!				2. Change configuration
sl@0
   904
//!					baud rate	= <baud>
sl@0
   905
//!					data bits	= 8
sl@0
   906
//!					stop bits	= 1
sl@0
   907
//!					parity		= none
sl@0
   908
//!					flow control	= xonxoff
sl@0
   909
//!				3. Send data to com port without specifying the length of the data
sl@0
   910
//!				4. Read data from com port without specifying the length of the data
sl@0
   911
//!				5. Restore configuration
sl@0
   912
//!				6. Destroy the object
sl@0
   913
//! @SYMTestStatus		Implemented
sl@0
   914
//! @SYMTestPriority		High
sl@0
   915
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   916
//! @SYMTestType		CIT
sl@0
   917
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   918
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   919
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   920
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   921
		COMMAND		busDevComm	new
sl@0
   922
		COMMAND		configSave	new
sl@0
   923
		COMMAND		config		new
sl@0
   924
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   925
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   926
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   927
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   928
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
   929
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
   930
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
   931
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
   932
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   933
sl@0
   934
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-xonxoff-Write_config
sl@0
   935
		OUTSTANDING
sl@0
   936
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
   937
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
   938
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
   939
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
   940
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
   941
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   942
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
   943
		OUTSTANDING
sl@0
   944
sl@0
   945
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
   946
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
   947
		OUTSTANDING
sl@0
   948
sl@0
   949
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
   950
		OUTSTANDING
sl@0
   951
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   952
		COMMAND		busDevComm	Close
sl@0
   953
		COMMAND		config		~
sl@0
   954
		COMMAND		configSave	~
sl@0
   955
		COMMAND		busDevComm	~
sl@0
   956
	END_TEST_BLOCK
sl@0
   957
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2001
sl@0
   958
sl@0
   959
sl@0
   960
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2002
sl@0
   961
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2002
sl@0
   962
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
   963
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
   964
//! @SYMAuthor			Louis Henry Nayegon
sl@0
   965
//! @SYMCreationDate		10/04/2008
sl@0
   966
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
   967
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
   968
//!					port		= com<port>
sl@0
   969
//!					baud rate	= 9600
sl@0
   970
//!					data bits	= 8
sl@0
   971
//!					stop bits	= 1
sl@0
   972
//!					parity		= none
sl@0
   973
//!					flow control	= none
sl@0
   974
//!				2. Change configuration
sl@0
   975
//!					baud rate	= <baud>
sl@0
   976
//!					data bits	= 8
sl@0
   977
//!					stop bits	= 1
sl@0
   978
//!					parity		= none
sl@0
   979
//!					flow control	= xonxoff
sl@0
   980
//!				3. Send data to com port specifying the length of the data
sl@0
   981
//!				4. Read data from com port specifying the length of the data
sl@0
   982
//!				5. Restore configuration
sl@0
   983
//!				6. Destroy the object
sl@0
   984
//! @SYMTestStatus		Implemented
sl@0
   985
//! @SYMTestPriority		High
sl@0
   986
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
   987
//! @SYMTestType		CIT
sl@0
   988
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
   989
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
   990
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
   991
		CREATE_OBJECT	TCommConfigV01	config
sl@0
   992
		COMMAND		busDevComm	new
sl@0
   993
		COMMAND		configSave	new
sl@0
   994
		COMMAND		config		new
sl@0
   995
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
   996
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
   997
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
   998
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
   999
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1000
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1001
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1002
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1003
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1004
sl@0
  1005
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-xonxoff-Write_config
sl@0
  1006
		OUTSTANDING
sl@0
  1007
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1008
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1009
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
  1010
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
  1011
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1012
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1013
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1014
		OUTSTANDING
sl@0
  1015
sl@0
  1016
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1017
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1018
		OUTSTANDING
sl@0
  1019
sl@0
  1020
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1021
		OUTSTANDING
sl@0
  1022
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1023
		COMMAND		busDevComm	Close
sl@0
  1024
		COMMAND		config		~
sl@0
  1025
		COMMAND		configSave	~
sl@0
  1026
		COMMAND		busDevComm	~
sl@0
  1027
	END_TEST_BLOCK
sl@0
  1028
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_none_xonxoff-2002
sl@0
  1029
sl@0
  1030
sl@0
  1031
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2001
sl@0
  1032
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2001
sl@0
  1033
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
  1034
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
  1035
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1036
//! @SYMCreationDate		10/04/2008
sl@0
  1037
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1038
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1039
//!					port		= com<port>
sl@0
  1040
//!					baud rate	= 9600
sl@0
  1041
//!					data bits	= 8
sl@0
  1042
//!					stop bits	= 1
sl@0
  1043
//!					parity		= none
sl@0
  1044
//!					flow control	= none
sl@0
  1045
//!				2. Change configuration
sl@0
  1046
//!					baud rate	= <baud>
sl@0
  1047
//!					data bits	= 8
sl@0
  1048
//!					stop bits	= 2
sl@0
  1049
//!					parity		= none
sl@0
  1050
//!					flow control	= xonxoff
sl@0
  1051
//!				3. Send data to com port without specifying the length of the data
sl@0
  1052
//!				4. Read data from com port without specifying the length of the data
sl@0
  1053
//!				5. Restore configuration
sl@0
  1054
//!				6. Destroy the object
sl@0
  1055
//! @SYMTestStatus		Implemented
sl@0
  1056
//! @SYMTestPriority		High
sl@0
  1057
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1058
//! @SYMTestType		CIT
sl@0
  1059
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1060
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1061
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1062
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1063
		COMMAND		busDevComm	new
sl@0
  1064
		COMMAND		configSave	new
sl@0
  1065
		COMMAND		config		new
sl@0
  1066
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1067
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1068
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1069
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1070
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1071
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1072
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1073
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1074
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1075
sl@0
  1076
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-xonxoff-Write_config
sl@0
  1077
		OUTSTANDING
sl@0
  1078
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1079
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1080
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1081
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
  1082
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1083
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1084
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1085
		OUTSTANDING
sl@0
  1086
sl@0
  1087
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
  1088
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
  1089
		OUTSTANDING
sl@0
  1090
sl@0
  1091
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1092
		OUTSTANDING
sl@0
  1093
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1094
		COMMAND		busDevComm	Close
sl@0
  1095
		COMMAND		config		~
sl@0
  1096
		COMMAND		configSave	~
sl@0
  1097
		COMMAND		busDevComm	~
sl@0
  1098
	END_TEST_BLOCK
sl@0
  1099
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2001
sl@0
  1100
sl@0
  1101
sl@0
  1102
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2002
sl@0
  1103
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2002
sl@0
  1104
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
  1105
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
  1106
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1107
//! @SYMCreationDate		10/04/2008
sl@0
  1108
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1109
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1110
//!					port		= com<port>
sl@0
  1111
//!					baud rate	= 9600
sl@0
  1112
//!					data bits	= 8
sl@0
  1113
//!					stop bits	= 1
sl@0
  1114
//!					parity		= none
sl@0
  1115
//!					flow control	= none
sl@0
  1116
//!				2. Change configuration
sl@0
  1117
//!					baud rate	= <baud>
sl@0
  1118
//!					data bits	= 8
sl@0
  1119
//!					stop bits	= 2
sl@0
  1120
//!					parity		= none
sl@0
  1121
//!					flow control	= xonxoff
sl@0
  1122
//!				3. Send data to com port specifying the length of the data
sl@0
  1123
//!				4. Read data from com port specifying the length of the data
sl@0
  1124
//!				5. Restore configuration
sl@0
  1125
//!				6. Destroy the object
sl@0
  1126
//! @SYMTestStatus		Implemented
sl@0
  1127
//! @SYMTestPriority		High
sl@0
  1128
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1129
//! @SYMTestType		CIT
sl@0
  1130
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1131
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1132
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1133
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1134
		COMMAND		busDevComm	new
sl@0
  1135
		COMMAND		configSave	new
sl@0
  1136
		COMMAND		config		new
sl@0
  1137
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1138
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1139
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1140
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1141
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1142
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1143
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1144
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1145
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1146
sl@0
  1147
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-xonxoff-Write_config
sl@0
  1148
		OUTSTANDING
sl@0
  1149
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1150
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1151
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1152
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
sl@0
  1153
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1154
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1155
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1156
		OUTSTANDING
sl@0
  1157
sl@0
  1158
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1159
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1160
		OUTSTANDING
sl@0
  1161
sl@0
  1162
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1163
		OUTSTANDING
sl@0
  1164
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1165
		COMMAND		busDevComm	Close
sl@0
  1166
		COMMAND		config		~
sl@0
  1167
		COMMAND		configSave	~
sl@0
  1168
		COMMAND		busDevComm	~
sl@0
  1169
	END_TEST_BLOCK
sl@0
  1170
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_none_xonxoff-2002
sl@0
  1171
sl@0
  1172
sl@0
  1173
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2001
sl@0
  1174
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2001
sl@0
  1175
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
  1176
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
  1177
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1178
//! @SYMCreationDate		10/04/2008
sl@0
  1179
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1180
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1181
//!					port		= com<port>
sl@0
  1182
//!					baud rate	= 9600
sl@0
  1183
//!					data bits	= 8
sl@0
  1184
//!					stop bits	= 1
sl@0
  1185
//!					parity		= none
sl@0
  1186
//!					flow control	= none
sl@0
  1187
//!				2. Change configuration
sl@0
  1188
//!					baud rate	= <baud>
sl@0
  1189
//!					data bits	= 8
sl@0
  1190
//!					stop bits	= 1
sl@0
  1191
//!					parity		= even
sl@0
  1192
//!					flow control	= xonxoff
sl@0
  1193
//!				3. Send data to com port without specifying the length of the data
sl@0
  1194
//!				4. Read data from com port without specifying the length of the data
sl@0
  1195
//!				5. Restore configuration
sl@0
  1196
//!				6. Destroy the object
sl@0
  1197
//! @SYMTestStatus		Implemented
sl@0
  1198
//! @SYMTestPriority		High
sl@0
  1199
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1200
//! @SYMTestType		CIT
sl@0
  1201
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1202
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1203
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1204
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1205
		COMMAND		busDevComm	new
sl@0
  1206
		COMMAND		configSave	new
sl@0
  1207
		COMMAND		config		new
sl@0
  1208
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1209
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1210
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1211
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1212
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1213
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1214
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1215
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1216
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1217
sl@0
  1218
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-xonxoff-Write_config
sl@0
  1219
		OUTSTANDING
sl@0
  1220
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1221
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1222
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
  1223
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
  1224
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1225
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1226
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1227
		OUTSTANDING
sl@0
  1228
sl@0
  1229
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
  1230
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
  1231
		OUTSTANDING
sl@0
  1232
sl@0
  1233
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1234
		OUTSTANDING
sl@0
  1235
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1236
		COMMAND		busDevComm	Close
sl@0
  1237
		COMMAND		config		~
sl@0
  1238
		COMMAND		configSave	~
sl@0
  1239
		COMMAND		busDevComm	~
sl@0
  1240
	END_TEST_BLOCK
sl@0
  1241
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2001
sl@0
  1242
sl@0
  1243
sl@0
  1244
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2002
sl@0
  1245
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2002
sl@0
  1246
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
  1247
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
  1248
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1249
//! @SYMCreationDate		10/04/2008
sl@0
  1250
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1251
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1252
//!					port		= com<port>
sl@0
  1253
//!					baud rate	= 9600
sl@0
  1254
//!					data bits	= 8
sl@0
  1255
//!					stop bits	= 1
sl@0
  1256
//!					parity		= none
sl@0
  1257
//!					flow control	= none
sl@0
  1258
//!				2. Change configuration
sl@0
  1259
//!					baud rate	= <baud>
sl@0
  1260
//!					data bits	= 8
sl@0
  1261
//!					stop bits	= 1
sl@0
  1262
//!					parity		= even
sl@0
  1263
//!					flow control	= xonxoff
sl@0
  1264
//!				3. Send data to com port specifying the length of the data
sl@0
  1265
//!				4. Read data from com port specifying the length of the data
sl@0
  1266
//!				5. Restore configuration
sl@0
  1267
//!				6. Destroy the object
sl@0
  1268
//! @SYMTestStatus		Implemented
sl@0
  1269
//! @SYMTestPriority		High
sl@0
  1270
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1271
//! @SYMTestType		CIT
sl@0
  1272
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1273
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1274
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1275
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1276
		COMMAND		busDevComm	new
sl@0
  1277
		COMMAND		configSave	new
sl@0
  1278
		COMMAND		config		new
sl@0
  1279
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1280
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1281
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1282
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1283
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1284
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1285
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1286
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1287
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1288
sl@0
  1289
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-xonxoff-Write_config
sl@0
  1290
		OUTSTANDING
sl@0
  1291
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1292
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1293
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
  1294
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
  1295
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1296
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1297
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1298
		OUTSTANDING
sl@0
  1299
sl@0
  1300
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1301
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1302
		OUTSTANDING
sl@0
  1303
sl@0
  1304
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1305
		OUTSTANDING
sl@0
  1306
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1307
		COMMAND		busDevComm	Close
sl@0
  1308
		COMMAND		config		~
sl@0
  1309
		COMMAND		configSave	~
sl@0
  1310
		COMMAND		busDevComm	~
sl@0
  1311
	END_TEST_BLOCK
sl@0
  1312
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_even_xonxoff-2002
sl@0
  1313
sl@0
  1314
sl@0
  1315
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2001
sl@0
  1316
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2001
sl@0
  1317
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
  1318
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
  1319
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1320
//! @SYMCreationDate		10/04/2008
sl@0
  1321
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1322
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1323
//!					port		= com<port>
sl@0
  1324
//!					baud rate	= 9600
sl@0
  1325
//!					data bits	= 8
sl@0
  1326
//!					stop bits	= 1
sl@0
  1327
//!					parity		= none
sl@0
  1328
//!					flow control	= none
sl@0
  1329
//!				2. Change configuration
sl@0
  1330
//!					baud rate	= <baud>
sl@0
  1331
//!					data bits	= 8
sl@0
  1332
//!					stop bits	= 2
sl@0
  1333
//!					parity		= even
sl@0
  1334
//!					flow control	= xonxoff
sl@0
  1335
//!				3. Send data to com port without specifying the length of the data
sl@0
  1336
//!				4. Read data from com port without specifying the length of the data
sl@0
  1337
//!				5. Restore configuration
sl@0
  1338
//!				6. Destroy the object
sl@0
  1339
//! @SYMTestStatus		Implemented
sl@0
  1340
//! @SYMTestPriority		High
sl@0
  1341
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1342
//! @SYMTestType		CIT
sl@0
  1343
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1344
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1345
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1346
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1347
		COMMAND		busDevComm	new
sl@0
  1348
		COMMAND		configSave	new
sl@0
  1349
		COMMAND		config		new
sl@0
  1350
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1351
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1352
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1353
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1354
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1355
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1356
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1357
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1358
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1359
sl@0
  1360
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-xonxoff-Write_config
sl@0
  1361
		OUTSTANDING
sl@0
  1362
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1363
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1364
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1365
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
  1366
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1367
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1368
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1369
		OUTSTANDING
sl@0
  1370
sl@0
  1371
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
  1372
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
  1373
		OUTSTANDING
sl@0
  1374
sl@0
  1375
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1376
		OUTSTANDING
sl@0
  1377
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1378
		COMMAND		busDevComm	Close
sl@0
  1379
		COMMAND		config		~
sl@0
  1380
		COMMAND		configSave	~
sl@0
  1381
		COMMAND		busDevComm	~
sl@0
  1382
	END_TEST_BLOCK
sl@0
  1383
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2001
sl@0
  1384
sl@0
  1385
sl@0
  1386
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2002
sl@0
  1387
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2002
sl@0
  1388
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
  1389
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
  1390
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1391
//! @SYMCreationDate		10/04/2008
sl@0
  1392
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1393
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1394
//!					port		= com<port>
sl@0
  1395
//!					baud rate	= 9600
sl@0
  1396
//!					data bits	= 8
sl@0
  1397
//!					stop bits	= 1
sl@0
  1398
//!					parity		= none
sl@0
  1399
//!					flow control	= none
sl@0
  1400
//!				2. Change configuration
sl@0
  1401
//!					baud rate	= <baud>
sl@0
  1402
//!					data bits	= 8
sl@0
  1403
//!					stop bits	= 2
sl@0
  1404
//!					parity		= even
sl@0
  1405
//!					flow control	= xonxoff
sl@0
  1406
//!				3. Send data to com port specifying the length of the data
sl@0
  1407
//!				4. Read data from com port specifying the length of the data
sl@0
  1408
//!				5. Restore configuration
sl@0
  1409
//!				6. Destroy the object
sl@0
  1410
//! @SYMTestStatus		Implemented
sl@0
  1411
//! @SYMTestPriority		High
sl@0
  1412
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1413
//! @SYMTestType		CIT
sl@0
  1414
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1415
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1416
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1417
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1418
		COMMAND		busDevComm	new
sl@0
  1419
		COMMAND		configSave	new
sl@0
  1420
		COMMAND		config		new
sl@0
  1421
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1422
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1423
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1424
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1425
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1426
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1427
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1428
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1429
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1430
sl@0
  1431
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-xonxoff-Write_config
sl@0
  1432
		OUTSTANDING
sl@0
  1433
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1434
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1435
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1436
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
sl@0
  1437
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1438
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1439
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1440
		OUTSTANDING
sl@0
  1441
sl@0
  1442
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1443
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1444
		OUTSTANDING
sl@0
  1445
sl@0
  1446
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1447
		OUTSTANDING
sl@0
  1448
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1449
		COMMAND		busDevComm	Close
sl@0
  1450
		COMMAND		config		~
sl@0
  1451
		COMMAND		configSave	~
sl@0
  1452
		COMMAND		busDevComm	~
sl@0
  1453
	END_TEST_BLOCK
sl@0
  1454
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_even_xonxoff-2002
sl@0
  1455
sl@0
  1456
sl@0
  1457
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2001
sl@0
  1458
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2001
sl@0
  1459
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
  1460
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
  1461
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1462
//! @SYMCreationDate		10/04/2008
sl@0
  1463
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1464
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1465
//!					port		= com<port>
sl@0
  1466
//!					baud rate	= 9600
sl@0
  1467
//!					data bits	= 8
sl@0
  1468
//!					stop bits	= 1
sl@0
  1469
//!					parity		= none
sl@0
  1470
//!					flow control	= none
sl@0
  1471
//!				2. Change configuration
sl@0
  1472
//!					baud rate	= <baud>
sl@0
  1473
//!					data bits	= 8
sl@0
  1474
//!					stop bits	= 1
sl@0
  1475
//!					parity		= odd
sl@0
  1476
//!					flow control	= xonxoff
sl@0
  1477
//!				3. Send data to com port without specifying the length of the data
sl@0
  1478
//!				4. Read data from com port without specifying the length of the data
sl@0
  1479
//!				5. Restore configuration
sl@0
  1480
//!				6. Destroy the object
sl@0
  1481
//! @SYMTestStatus		Implemented
sl@0
  1482
//! @SYMTestPriority		High
sl@0
  1483
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1484
//! @SYMTestType		CIT
sl@0
  1485
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1486
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1487
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1488
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1489
		COMMAND		busDevComm	new
sl@0
  1490
		COMMAND		configSave	new
sl@0
  1491
		COMMAND		config		new
sl@0
  1492
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1493
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1494
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1495
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1496
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1497
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1498
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1499
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1500
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1501
sl@0
  1502
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-xonxoff-Write_config
sl@0
  1503
		OUTSTANDING
sl@0
  1504
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1505
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1506
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
  1507
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
  1508
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1509
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1510
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1511
		OUTSTANDING
sl@0
  1512
sl@0
  1513
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
  1514
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
  1515
		OUTSTANDING
sl@0
  1516
sl@0
  1517
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1518
		OUTSTANDING
sl@0
  1519
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1520
		COMMAND		busDevComm	Close
sl@0
  1521
		COMMAND		config		~
sl@0
  1522
		COMMAND		configSave	~
sl@0
  1523
		COMMAND		busDevComm	~
sl@0
  1524
	END_TEST_BLOCK
sl@0
  1525
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2001
sl@0
  1526
sl@0
  1527
sl@0
  1528
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2002
sl@0
  1529
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2002
sl@0
  1530
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
  1531
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
  1532
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1533
//! @SYMCreationDate		10/04/2008
sl@0
  1534
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1535
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1536
//!					port		= com<port>
sl@0
  1537
//!					baud rate	= 9600
sl@0
  1538
//!					data bits	= 8
sl@0
  1539
//!					stop bits	= 1
sl@0
  1540
//!					parity		= none
sl@0
  1541
//!					flow control	= none
sl@0
  1542
//!				2. Change configuration
sl@0
  1543
//!					baud rate	= <baud>
sl@0
  1544
//!					data bits	= 8
sl@0
  1545
//!					stop bits	= 1
sl@0
  1546
//!					parity		= odd
sl@0
  1547
//!					flow control	= xonxoff
sl@0
  1548
//!				3. Send data to com port specifying the length of the data
sl@0
  1549
//!				4. Read data from com port specifying the length of the data
sl@0
  1550
//!				5. Restore configuration
sl@0
  1551
//!				6. Destroy the object
sl@0
  1552
//! @SYMTestStatus		Implemented
sl@0
  1553
//! @SYMTestPriority		High
sl@0
  1554
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1555
//! @SYMTestType		CIT
sl@0
  1556
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1557
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1558
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1559
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1560
		COMMAND		busDevComm	new
sl@0
  1561
		COMMAND		configSave	new
sl@0
  1562
		COMMAND		config		new
sl@0
  1563
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1564
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1565
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1566
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1567
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1568
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1569
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1570
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1571
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1572
sl@0
  1573
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-xonxoff-Write_config
sl@0
  1574
		OUTSTANDING
sl@0
  1575
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1576
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1577
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
sl@0
  1578
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
  1579
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1580
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1581
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1582
		OUTSTANDING
sl@0
  1583
sl@0
  1584
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1585
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1586
		OUTSTANDING
sl@0
  1587
sl@0
  1588
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1589
		OUTSTANDING
sl@0
  1590
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1591
		COMMAND		busDevComm	Close
sl@0
  1592
		COMMAND		config		~
sl@0
  1593
		COMMAND		configSave	~
sl@0
  1594
		COMMAND		busDevComm	~
sl@0
  1595
	END_TEST_BLOCK
sl@0
  1596
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_1_odd_xonxoff-2002
sl@0
  1597
sl@0
  1598
sl@0
  1599
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2001
sl@0
  1600
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2001
sl@0
  1601
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
sl@0
  1602
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
sl@0
  1603
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1604
//! @SYMCreationDate		10/04/2008
sl@0
  1605
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1606
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1607
//!					port		= com<port>
sl@0
  1608
//!					baud rate	= 9600
sl@0
  1609
//!					data bits	= 8
sl@0
  1610
//!					stop bits	= 1
sl@0
  1611
//!					parity		= none
sl@0
  1612
//!					flow control	= none
sl@0
  1613
//!				2. Change configuration
sl@0
  1614
//!					baud rate	= <baud>
sl@0
  1615
//!					data bits	= 8
sl@0
  1616
//!					stop bits	= 2
sl@0
  1617
//!					parity		= odd
sl@0
  1618
//!					flow control	= xonxoff
sl@0
  1619
//!				3. Send data to com port without specifying the length of the data
sl@0
  1620
//!				4. Read data from com port without specifying the length of the data
sl@0
  1621
//!				5. Restore configuration
sl@0
  1622
//!				6. Destroy the object
sl@0
  1623
//! @SYMTestStatus		Implemented
sl@0
  1624
//! @SYMTestPriority		High
sl@0
  1625
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1626
//! @SYMTestType		CIT
sl@0
  1627
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1628
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1629
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1630
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1631
		COMMAND		busDevComm	new
sl@0
  1632
		COMMAND		configSave	new
sl@0
  1633
		COMMAND		config		new
sl@0
  1634
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1635
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1636
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1637
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1638
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1639
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1640
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1641
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1642
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1643
sl@0
  1644
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-xonxoff-Write_config
sl@0
  1645
		OUTSTANDING
sl@0
  1646
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1647
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1648
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1649
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
  1650
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1651
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1652
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1653
		OUTSTANDING
sl@0
  1654
sl@0
  1655
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Read
sl@0
  1656
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2001-Write
sl@0
  1657
		OUTSTANDING
sl@0
  1658
sl@0
  1659
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1660
		OUTSTANDING
sl@0
  1661
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1662
		COMMAND		busDevComm	Close
sl@0
  1663
		COMMAND		config		~
sl@0
  1664
		COMMAND		configSave	~
sl@0
  1665
		COMMAND		busDevComm	~
sl@0
  1666
	END_TEST_BLOCK
sl@0
  1667
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2001
sl@0
  1668
sl@0
  1669
sl@0
  1670
START_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2002
sl@0
  1671
//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2002
sl@0
  1672
//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
sl@0
  1673
//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
sl@0
  1674
//! @SYMAuthor			Louis Henry Nayegon
sl@0
  1675
//! @SYMCreationDate		10/04/2008
sl@0
  1676
//! @SYMTestCaseDesc		Echo large amount of data read from a file to/from the Serial Echo Server
sl@0
  1677
//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
sl@0
  1678
//!					port		= com<port>
sl@0
  1679
//!					baud rate	= 9600
sl@0
  1680
//!					data bits	= 8
sl@0
  1681
//!					stop bits	= 1
sl@0
  1682
//!					parity		= none
sl@0
  1683
//!					flow control	= none
sl@0
  1684
//!				2. Change configuration
sl@0
  1685
//!					baud rate	= <baud>
sl@0
  1686
//!					data bits	= 8
sl@0
  1687
//!					stop bits	= 2
sl@0
  1688
//!					parity		= odd
sl@0
  1689
//!					flow control	= xonxoff
sl@0
  1690
//!				3. Send data to com port specifying the length of the data
sl@0
  1691
//!				4. Read data from com port specifying the length of the data
sl@0
  1692
//!				5. Restore configuration
sl@0
  1693
//!				6. Destroy the object
sl@0
  1694
//! @SYMTestStatus		Implemented
sl@0
  1695
//! @SYMTestPriority		High
sl@0
  1696
//! @SYMTestExpectedResults	Data read should be as expected
sl@0
  1697
//! @SYMTestType		CIT
sl@0
  1698
	START_TEST_BLOCK	60		t_serial			\base\serial\base-bsp-serial-driver-stress-PORT<port>-<baud>.ini
sl@0
  1699
		CREATE_OBJECT	RBusDevComm	busDevComm
sl@0
  1700
		CREATE_OBJECT	TCommConfigV01	configSave
sl@0
  1701
		CREATE_OBJECT	TCommConfigV01	config
sl@0
  1702
		COMMAND		busDevComm	new
sl@0
  1703
		COMMAND		configSave	new
sl@0
  1704
		COMMAND		config		new
sl@0
  1705
		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
sl@0
  1706
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1707
		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1708
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
sl@0
  1709
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
sl@0
  1710
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
sl@0
  1711
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
sl@0
  1712
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
sl@0
  1713
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1714
sl@0
  1715
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-xonxoff-Write_config
sl@0
  1716
		OUTSTANDING
sl@0
  1717
		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
sl@0
  1718
		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
sl@0
  1719
		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
sl@0
  1720
		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
sl@0
  1721
		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeXonXoff
sl@0
  1722
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
sl@0
  1723
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
sl@0
  1724
		OUTSTANDING
sl@0
  1725
sl@0
  1726
		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Read
sl@0
  1727
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-STRESS-8-2002-Write
sl@0
  1728
		OUTSTANDING
sl@0
  1729
sl@0
  1730
		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
sl@0
  1731
		OUTSTANDING
sl@0
  1732
		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
sl@0
  1733
		COMMAND		busDevComm	Close
sl@0
  1734
		COMMAND		config		~
sl@0
  1735
		COMMAND		configSave	~
sl@0
  1736
		COMMAND		busDevComm	~
sl@0
  1737
	END_TEST_BLOCK
sl@0
  1738
END_TESTCASE			BASE-BSP-SERIAL-DRIVER-STRESS_PORT<port>_<baud>_8_2_odd_xonxoff-2002