os/boardsupport/haitest/bspsvs/suite/bsp/uart/scripts/base-bsp-serial-driver-baud.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/uart/scripts/base-bsp-serial-driver-baud.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,11846 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +//! @file
    1.20 +//! @SYMTestSuiteName		base-bsp-serial-driver-PORT<port>-<baud>
    1.21 +//! @SYMScriptTestEnvironment	This test script requires a base port ROM
    1.22 +
    1.23 +/////////////////////////////////////////////////////////////////////
    1.24 +// base-bsp-serial-driver-PORT<port>-<baud>.script
    1.25 +//
    1.26 +//
    1.27 +// Tests elements of the RBusDevComm
    1.28 +// as a means of confidence that the HAI APIs work as expected.
    1.29 +//
    1.30 +// Tests are validated through environment settings found in the file t_serial.ini
    1.31 +//
    1.32 +// The purpose is to provide a regression test suite of publishedPartner APIs for RBusDevComm.
    1.33 +// Negative testing is performed to confirm that correct errors are returned when incorrect parameters are given.
    1.34 +// The tests are fully automated.
    1.35 +/////////////////////////////////////////////////////////////////////
    1.36 +
    1.37 +LOAD_SUITE	t_serial
    1.38 +
    1.39 +
    1.40 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1001
    1.41 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1001
    1.42 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
    1.43 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
    1.44 +//! @SYMAuthor			Oleg Kuznetsov
    1.45 +//! @SYMCreationDate		10/04/2008
    1.46 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
    1.47 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
    1.48 +//!					port		= com<port>
    1.49 +//!					baud rate	= 9600
    1.50 +//!					data bits	= 8
    1.51 +//!					stop bits	= 1
    1.52 +//!					parity		= none
    1.53 +//!					flow control	= none
    1.54 +//!				2. Change configuration
    1.55 +//!					baud rate	= <baud>
    1.56 +//!					data bits	= 8
    1.57 +//!					stop bits	= 1
    1.58 +//!					parity		= none
    1.59 +//!					flow control	= none
    1.60 +//!				3. Send data to com port without specifying the length of the data
    1.61 +//!				4. Read data from com port specifying the length of the data
    1.62 +//!				5. Restore configuration
    1.63 +//!				6. Destroy the object
    1.64 +//! @SYMTestStatus		Implemented
    1.65 +//! @SYMTestPriority		High
    1.66 +//! @SYMTestExpectedResults	Data read should be as expected
    1.67 +//! @SYMTestType		CIT
    1.68 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
    1.69 +		CREATE_OBJECT	RBusDevComm	busDevComm
    1.70 +		CREATE_OBJECT	TCommConfigV01	configSave
    1.71 +		CREATE_OBJECT	TCommConfigV01	config
    1.72 +		COMMAND		busDevComm	new
    1.73 +		COMMAND		configSave	new
    1.74 +		COMMAND		config		new
    1.75 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
    1.76 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
    1.77 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
    1.78 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
    1.79 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
    1.80 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
    1.81 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
    1.82 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
    1.83 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
    1.84 +
    1.85 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
    1.86 +		OUTSTANDING
    1.87 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
    1.88 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
    1.89 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
    1.90 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
    1.91 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
    1.92 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
    1.93 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
    1.94 +		OUTSTANDING
    1.95 +
    1.96 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
    1.97 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
    1.98 +		OUTSTANDING
    1.99 +
   1.100 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.101 +		OUTSTANDING
   1.102 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.103 +		COMMAND		busDevComm	Close
   1.104 +		COMMAND		config		~
   1.105 +		COMMAND		configSave	~
   1.106 +		COMMAND		busDevComm	~
   1.107 +	END_TEST_BLOCK
   1.108 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1001
   1.109 +
   1.110 +
   1.111 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1002
   1.112 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1002
   1.113 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
   1.114 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
   1.115 +//!				RBusDevComm::QueryReceiveBuffer();
   1.116 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.117 +//! @SYMAuthor			Oleg Kuznetsov
   1.118 +//! @SYMCreationDate		10/04/2008
   1.119 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.120 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.121 +//!					port		= com<port>
   1.122 +//!					baud rate	= 9600
   1.123 +//!					data bits	= 8
   1.124 +//!					stop bits	= 1
   1.125 +//!					parity		= none
   1.126 +//!					flow control	= none
   1.127 +//!				2. Change configuration
   1.128 +//!					baud rate	= <baud>
   1.129 +//!					data bits	= 8
   1.130 +//!					stop bits	= 1
   1.131 +//!					parity		= none
   1.132 +//!					flow control	= none
   1.133 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
   1.134 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
   1.135 +//!				5. Restore configuration
   1.136 +//!				6. Destroy the object
   1.137 +//! @SYMTestStatus		Implemented
   1.138 +//! @SYMTestPriority		High
   1.139 +//! @SYMTestExpectedResults	Data read should be as expected
   1.140 +//! @SYMTestType		CIT
   1.141 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.142 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.143 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.144 +		CREATE_OBJECT	TCommConfigV01	config
   1.145 +		COMMAND		busDevComm	new
   1.146 +		COMMAND		configSave	new
   1.147 +		COMMAND		config		new
   1.148 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.149 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.150 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.151 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.152 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.153 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.154 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.155 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.156 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.157 +
   1.158 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.159 +		OUTSTANDING
   1.160 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.161 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.162 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.163 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.164 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.165 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.166 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.167 +		OUTSTANDING
   1.168 +
   1.169 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
   1.170 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
   1.171 +		OUTSTANDING
   1.172 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
   1.173 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
   1.174 +		OUTSTANDING
   1.175 +
   1.176 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.177 +		OUTSTANDING
   1.178 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.179 +		COMMAND		busDevComm	Close
   1.180 +		COMMAND		config		~
   1.181 +		COMMAND		configSave	~
   1.182 +		COMMAND		busDevComm	~
   1.183 +	END_TEST_BLOCK
   1.184 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1002
   1.185 +
   1.186 +
   1.187 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1003
   1.188 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1003
   1.189 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.190 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
   1.191 +//! @SYMAuthor			Oleg Kuznetsov
   1.192 +//! @SYMCreationDate		10/04/2008
   1.193 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.194 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.195 +//!					port		= com<port>
   1.196 +//!					baud rate	= 9600
   1.197 +//!					data bits	= 8
   1.198 +//!					stop bits	= 1
   1.199 +//!					parity		= none
   1.200 +//!					flow control	= none
   1.201 +//!				2. Change configuration
   1.202 +//!					baud rate	= <baud>
   1.203 +//!					data bits	= 8
   1.204 +//!					stop bits	= 1
   1.205 +//!					parity		= none
   1.206 +//!					flow control	= none
   1.207 +//!				3. Send data to com port without specifying the length of the data
   1.208 +//!				4. Read data from com port without specifying the length of the data
   1.209 +//!				5. Restore configuration
   1.210 +//!				6. Destroy the object
   1.211 +//! @SYMTestStatus		Implemented
   1.212 +//! @SYMTestPriority		High
   1.213 +//! @SYMTestExpectedResults	Data read should be as expected
   1.214 +//! @SYMTestType		CIT
   1.215 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.216 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.217 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.218 +		CREATE_OBJECT	TCommConfigV01	config
   1.219 +		COMMAND		busDevComm	new
   1.220 +		COMMAND		configSave	new
   1.221 +		COMMAND		config		new
   1.222 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.223 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.224 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.225 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.226 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.227 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.228 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.229 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.230 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.231 +
   1.232 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.233 +		OUTSTANDING
   1.234 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.235 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.236 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.237 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.238 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.239 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.240 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.241 +		OUTSTANDING
   1.242 +
   1.243 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
   1.244 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
   1.245 +		OUTSTANDING
   1.246 +
   1.247 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.248 +		OUTSTANDING
   1.249 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.250 +		COMMAND		busDevComm	Close
   1.251 +		COMMAND		config		~
   1.252 +		COMMAND		configSave	~
   1.253 +		COMMAND		busDevComm	~
   1.254 +	END_TEST_BLOCK
   1.255 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1003
   1.256 +
   1.257 +
   1.258 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1004
   1.259 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1004
   1.260 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
   1.261 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
   1.262 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
   1.263 +//! @SYMAuthor			Oleg Kuznetsov
   1.264 +//! @SYMCreationDate		10/04/2008
   1.265 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.266 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.267 +//!					port		= com<port>
   1.268 +//!					baud rate	= 9600
   1.269 +//!					data bits	= 8
   1.270 +//!					stop bits	= 1
   1.271 +//!					parity		= none
   1.272 +//!					flow control	= none
   1.273 +//!				2. Change configuration
   1.274 +//!					baud rate	= <baud>
   1.275 +//!					data bits	= 8
   1.276 +//!					stop bits	= 1
   1.277 +//!					parity		= none
   1.278 +//!					flow control	= none
   1.279 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
   1.280 +//!				4. Read data from com port without specifying the length of the data
   1.281 +//!				5. Restore configuration
   1.282 +//!				6. Destroy the object
   1.283 +//! @SYMTestStatus		Implemented
   1.284 +//! @SYMTestPriority		High
   1.285 +//! @SYMTestExpectedResults	Data read should be as expected
   1.286 +//! @SYMTestType		CIT
   1.287 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.288 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.289 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.290 +		CREATE_OBJECT	TCommConfigV01	config
   1.291 +		COMMAND		busDevComm	new
   1.292 +		COMMAND		configSave	new
   1.293 +		COMMAND		config		new
   1.294 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.295 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.296 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.297 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.298 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.299 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.300 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.301 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.302 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.303 +
   1.304 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.305 +		OUTSTANDING
   1.306 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.307 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.308 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.309 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.310 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.311 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.312 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.313 +		OUTSTANDING
   1.314 +
   1.315 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
   1.316 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
   1.317 +		OUTSTANDING
   1.318 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
   1.319 +		OUTSTANDING
   1.320 +
   1.321 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.322 +		OUTSTANDING
   1.323 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.324 +		COMMAND		busDevComm	Close
   1.325 +		COMMAND		config		~
   1.326 +		COMMAND		configSave	~
   1.327 +		COMMAND		busDevComm	~
   1.328 +	END_TEST_BLOCK
   1.329 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1004
   1.330 +
   1.331 +
   1.332 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1005
   1.333 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1005
   1.334 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.335 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.336 +//! @SYMAuthor			Oleg Kuznetsov
   1.337 +//! @SYMCreationDate		10/04/2008
   1.338 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.339 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.340 +//!					port		= com<port>
   1.341 +//!					baud rate	= 9600
   1.342 +//!					data bits	= 8
   1.343 +//!					stop bits	= 1
   1.344 +//!					parity		= none
   1.345 +//!					flow control	= none
   1.346 +//!				2. Change configuration
   1.347 +//!					baud rate	= <baud>
   1.348 +//!					data bits	= 8
   1.349 +//!					stop bits	= 1
   1.350 +//!					parity		= none
   1.351 +//!					flow control	= none
   1.352 +//!				3. Send data to com port without specifying the length of the data
   1.353 +//!				4. ReadOneOrMore data from com port
   1.354 +//!				5. Restore configuration
   1.355 +//!				6. Destroy the object
   1.356 +//! @SYMTestStatus		Implemented
   1.357 +//! @SYMTestPriority		High
   1.358 +//! @SYMTestExpectedResults	Data read should be as expected
   1.359 +//! @SYMTestType		CIT
   1.360 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.361 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.362 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.363 +		CREATE_OBJECT	TCommConfigV01	config
   1.364 +		COMMAND		busDevComm	new
   1.365 +		COMMAND		configSave	new
   1.366 +		COMMAND		config		new
   1.367 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.368 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.369 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.370 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.371 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.372 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.373 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.374 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.375 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.376 +
   1.377 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.378 +		OUTSTANDING
   1.379 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.380 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.381 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.382 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.383 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.384 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.385 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.386 +		OUTSTANDING
   1.387 +
   1.388 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
   1.389 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
   1.390 +		OUTSTANDING
   1.391 +
   1.392 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.393 +		OUTSTANDING
   1.394 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.395 +		COMMAND		busDevComm	Close
   1.396 +		COMMAND		config		~
   1.397 +		COMMAND		configSave	~
   1.398 +		COMMAND		busDevComm	~
   1.399 +	END_TEST_BLOCK
   1.400 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1005
   1.401 +
   1.402 +
   1.403 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1006
   1.404 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1006
   1.405 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.406 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
   1.407 +//!				RBusDevComm::QueryReceiveBuffer();
   1.408 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.409 +//! @SYMAuthor			Oleg Kuznetsov
   1.410 +//! @SYMCreationDate		10/04/2008
   1.411 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.412 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.413 +//!					port		= com<port>
   1.414 +//!					baud rate	= 9600
   1.415 +//!					data bits	= 8
   1.416 +//!					stop bits	= 1
   1.417 +//!					parity		= none
   1.418 +//!					flow control	= none
   1.419 +//!				2. Change configuration
   1.420 +//!					baud rate	= <baud>
   1.421 +//!					data bits	= 8
   1.422 +//!					stop bits	= 1
   1.423 +//!					parity		= none
   1.424 +//!					flow control	= none
   1.425 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
   1.426 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
   1.427 +//!				5. Restore configuration
   1.428 +//!				6. Destroy the object
   1.429 +//! @SYMTestStatus		Implemented
   1.430 +//! @SYMTestPriority		High
   1.431 +//! @SYMTestExpectedResults	Data read should be as expected
   1.432 +//! @SYMTestType		CIT
   1.433 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.434 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.435 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.436 +		CREATE_OBJECT	TCommConfigV01	config
   1.437 +		COMMAND		busDevComm	new
   1.438 +		COMMAND		configSave	new
   1.439 +		COMMAND		config		new
   1.440 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.441 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.442 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.443 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.444 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.445 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.446 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.447 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.448 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.449 +
   1.450 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.451 +		OUTSTANDING
   1.452 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.453 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.454 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.455 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.456 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.457 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.458 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.459 +		OUTSTANDING
   1.460 +
   1.461 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
   1.462 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
   1.463 +		OUTSTANDING
   1.464 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
   1.465 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
   1.466 +		OUTSTANDING
   1.467 +
   1.468 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.469 +		OUTSTANDING
   1.470 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.471 +		COMMAND		busDevComm	Close
   1.472 +		COMMAND		config		~
   1.473 +		COMMAND		configSave	~
   1.474 +		COMMAND		busDevComm	~
   1.475 +	END_TEST_BLOCK
   1.476 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1006
   1.477 +
   1.478 +
   1.479 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1007
   1.480 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1007
   1.481 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.482 +//!				RBusDevComm::WriteCancel();
   1.483 +//!				RBusDevComm::ResetBuffers()
   1.484 +//! @SYMAuthor			Oleg Kuznetsov
   1.485 +//! @SYMCreationDate		10/04/2008
   1.486 +//! @SYMTestCaseDesc		Cancel a write request
   1.487 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.488 +//!					port		= com<port>
   1.489 +//!					baud rate	= 9600
   1.490 +//!					data bits	= 8
   1.491 +//!					stop bits	= 1
   1.492 +//!					parity		= none
   1.493 +//!					flow control	= none
   1.494 +//!				2. Change configuration
   1.495 +//!					baud rate	= <baud>
   1.496 +//!					data bits	= 8
   1.497 +//!					stop bits	= 1
   1.498 +//!					parity		= none
   1.499 +//!					flow control	= none
   1.500 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
   1.501 +//!				4. Restore configuration
   1.502 +//!				5. Destroy the object
   1.503 +//! @SYMTestStatus		Implemented
   1.504 +//! @SYMTestPriority		High
   1.505 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
   1.506 +//! @SYMTestType		CIT
   1.507 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.508 +		CREATE_OBJECT		RBusDevComm	busDevComm
   1.509 +		CREATE_OBJECT		TCommConfigV01	configSave
   1.510 +		CREATE_OBJECT		TCommConfigV01	config
   1.511 +		COMMAND			busDevComm	new
   1.512 +		COMMAND			configSave	new
   1.513 +		COMMAND			config		new
   1.514 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.515 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.516 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.517 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.518 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.519 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.520 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.521 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.522 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.523 +
   1.524 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.525 +		OUTSTANDING
   1.526 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
   1.527 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
   1.528 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
   1.529 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityNone
   1.530 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.531 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.532 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.533 +		OUTSTANDING
   1.534 +
   1.535 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
   1.536 +		COMMAND			busDevComm	WriteCancel
   1.537 +		OUTSTANDING
   1.538 +		COMMAND			busDevComm	ResetBuffers
   1.539 +
   1.540 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.541 +		OUTSTANDING
   1.542 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.543 +		COMMAND			busDevComm	Close
   1.544 +		COMMAND			config		~
   1.545 +		COMMAND			configSave	~
   1.546 +		COMMAND			busDevComm	~
   1.547 +	END_TEST_BLOCK
   1.548 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1007
   1.549 +
   1.550 +
   1.551 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1008
   1.552 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1008
   1.553 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
   1.554 +//! @SYMAuthor			Oleg Kuznetsov
   1.555 +//! @SYMCreationDate		10/04/2008
   1.556 +//! @SYMTestCaseDesc		Break the connection for a period
   1.557 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.558 +//!					port		= com<port>
   1.559 +//!					baud rate	= 9600
   1.560 +//!					data bits	= 8
   1.561 +//!					stop bits	= 1
   1.562 +//!					parity		= none
   1.563 +//!					flow control	= none
   1.564 +//!				2. Change configuration
   1.565 +//!					baud rate	= <baud>
   1.566 +//!					data bits	= 8
   1.567 +//!					stop bits	= 1
   1.568 +//!					parity		= none
   1.569 +//!					flow control	= none
   1.570 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
   1.571 +//!				4. Restore configuration
   1.572 +//!				5. Destroy the object
   1.573 +//! @SYMTestStatus		Implemented
   1.574 +//! @SYMTestPriority		High
   1.575 +//! @SYMTestExpectedResults	Break should run with no errors
   1.576 +//! @SYMTestType		CIT
   1.577 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.578 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.579 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.580 +		CREATE_OBJECT	TCommConfigV01	config
   1.581 +		COMMAND		busDevComm	new
   1.582 +		COMMAND		configSave	new
   1.583 +		COMMAND		config		new
   1.584 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.585 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.586 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.587 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.588 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.589 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.590 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.591 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.592 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.593 +
   1.594 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.595 +		OUTSTANDING
   1.596 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.597 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.598 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.599 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.600 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.601 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.602 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.603 +		OUTSTANDING
   1.604 +
   1.605 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
   1.606 +		OUTSTANDING
   1.607 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
   1.608 +		OUTSTANDING
   1.609 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
   1.610 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
   1.611 +		OUTSTANDING
   1.612 +
   1.613 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.614 +		OUTSTANDING
   1.615 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.616 +		COMMAND		busDevComm	Close
   1.617 +		COMMAND		config		~
   1.618 +		COMMAND		configSave	~
   1.619 +		COMMAND		busDevComm	~
   1.620 +	END_TEST_BLOCK
   1.621 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1008
   1.622 +
   1.623 +
   1.624 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1009
   1.625 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1009
   1.626 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
   1.627 +//!				RBusDevComm::BreakCancel()
   1.628 +//! @SYMAuthor			Oleg Kuznetsov
   1.629 +//! @SYMCreationDate		10/04/2008
   1.630 +//! @SYMTestCaseDesc		Cancel a Break from the connection
   1.631 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.632 +//!					port		= com<port>
   1.633 +//!					baud rate	= 9600
   1.634 +//!					data bits	= 8
   1.635 +//!					stop bits	= 1
   1.636 +//!					parity		= none
   1.637 +//!					flow control	= none
   1.638 +//!				2. Change configuration
   1.639 +//!					baud rate	= <baud>
   1.640 +//!					data bits	= 8
   1.641 +//!					stop bits	= 1
   1.642 +//!					parity		= none
   1.643 +//!					flow control	= none
   1.644 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
   1.645 +//!				4. Restore configuration
   1.646 +//!				5. Destroy the object
   1.647 +//! @SYMTestStatus		Implemented
   1.648 +//! @SYMTestPriority		High
   1.649 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
   1.650 +//! @SYMTestType		CIT
   1.651 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.652 +		CREATE_OBJECT		RBusDevComm	busDevComm
   1.653 +		CREATE_OBJECT		TCommConfigV01	configSave
   1.654 +		CREATE_OBJECT		TCommConfigV01	config
   1.655 +		COMMAND			busDevComm	new
   1.656 +		COMMAND			configSave	new
   1.657 +		COMMAND			config		new
   1.658 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.659 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.660 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.661 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.662 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.663 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.664 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.665 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.666 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.667 +
   1.668 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-none-Write_config
   1.669 +		OUTSTANDING
   1.670 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.671 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.672 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
   1.673 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.674 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.675 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.676 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.677 +		OUTSTANDING
   1.678 +
   1.679 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
   1.680 +		OUTSTANDING
   1.681 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
   1.682 +		COMMAND			busDevComm	BreakCancel
   1.683 +		OUTSTANDING
   1.684 +
   1.685 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.686 +		OUTSTANDING
   1.687 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.688 +		COMMAND			busDevComm	Close
   1.689 +		COMMAND			config		~
   1.690 +		COMMAND			configSave	~
   1.691 +		COMMAND			busDevComm	~
   1.692 +	END_TEST_BLOCK
   1.693 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_none-1009
   1.694 +
   1.695 +
   1.696 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1001
   1.697 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1001
   1.698 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.699 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.700 +//! @SYMAuthor			Oleg Kuznetsov
   1.701 +//! @SYMCreationDate		10/04/2008
   1.702 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.703 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.704 +//!					port		= com<port>
   1.705 +//!					baud rate	= 9600
   1.706 +//!					data bits	= 8
   1.707 +//!					stop bits	= 1
   1.708 +//!					parity		= none
   1.709 +//!					flow control	= none
   1.710 +//!				2. Change configuration
   1.711 +//!					baud rate	= <baud>
   1.712 +//!					data bits	= 8
   1.713 +//!					stop bits	= 2
   1.714 +//!					parity		= none
   1.715 +//!					flow control	= none
   1.716 +//!					flow control	= none
   1.717 +//!				3. Send data to com port without specifying the length of the data
   1.718 +//!				4. Read data from com port specifying the length of the data
   1.719 +//!				5. Restore configuration
   1.720 +//!				6. Destroy the object
   1.721 +//! @SYMTestStatus		Implemented
   1.722 +//! @SYMTestPriority		High
   1.723 +//! @SYMTestExpectedResults	Data read should be as expected
   1.724 +//! @SYMTestType		CIT
   1.725 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.726 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.727 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.728 +		CREATE_OBJECT	TCommConfigV01	config
   1.729 +		COMMAND		busDevComm	new
   1.730 +		COMMAND		configSave	new
   1.731 +		COMMAND		config		new
   1.732 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.733 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.734 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.735 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.736 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.737 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.738 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.739 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.740 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.741 +
   1.742 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
   1.743 +		OUTSTANDING
   1.744 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.745 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.746 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
   1.747 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.748 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.749 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.750 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.751 +		OUTSTANDING
   1.752 +
   1.753 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
   1.754 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
   1.755 +		OUTSTANDING
   1.756 +
   1.757 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.758 +		OUTSTANDING
   1.759 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.760 +		COMMAND		busDevComm	Close
   1.761 +		COMMAND		config		~
   1.762 +		COMMAND		configSave	~
   1.763 +		COMMAND		busDevComm	~
   1.764 +	END_TEST_BLOCK
   1.765 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1001
   1.766 +
   1.767 +
   1.768 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1002
   1.769 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1002
   1.770 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
   1.771 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
   1.772 +//!				RBusDevComm::QueryReceiveBuffer();
   1.773 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.774 +//! @SYMAuthor			Oleg Kuznetsov
   1.775 +//! @SYMCreationDate		10/04/2008
   1.776 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.777 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.778 +//!					port		= com<port>
   1.779 +//!					baud rate	= 9600
   1.780 +//!					data bits	= 8
   1.781 +//!					stop bits	= 1
   1.782 +//!					parity		= none
   1.783 +//!					flow control	= none
   1.784 +//!				2. Change configuration
   1.785 +//!					baud rate	= <baud>
   1.786 +//!					data bits	= 8
   1.787 +//!					stop bits	= 2
   1.788 +//!					parity		= none
   1.789 +//!					flow control	= none
   1.790 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
   1.791 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
   1.792 +//!				5. Restore configuration
   1.793 +//!				6. Destroy the object
   1.794 +//! @SYMTestStatus		Implemented
   1.795 +//! @SYMTestPriority		High
   1.796 +//! @SYMTestExpectedResults	Data read should be as expected
   1.797 +//! @SYMTestType		CIT
   1.798 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.799 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.800 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.801 +		CREATE_OBJECT	TCommConfigV01	config
   1.802 +		COMMAND		busDevComm	new
   1.803 +		COMMAND		configSave	new
   1.804 +		COMMAND		config		new
   1.805 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.806 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.807 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.808 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.809 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.810 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.811 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.812 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.813 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.814 +
   1.815 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
   1.816 +		OUTSTANDING
   1.817 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.818 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.819 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
   1.820 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.821 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.822 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.823 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.824 +		OUTSTANDING
   1.825 +
   1.826 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
   1.827 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
   1.828 +		OUTSTANDING
   1.829 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
   1.830 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
   1.831 +		OUTSTANDING
   1.832 +
   1.833 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.834 +		OUTSTANDING
   1.835 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.836 +		COMMAND		busDevComm	Close
   1.837 +		COMMAND		config		~
   1.838 +		COMMAND		configSave	~
   1.839 +		COMMAND		busDevComm	~
   1.840 +	END_TEST_BLOCK
   1.841 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1002
   1.842 +
   1.843 +
   1.844 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1003
   1.845 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1003
   1.846 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.847 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
   1.848 +//! @SYMAuthor			Oleg Kuznetsov
   1.849 +//! @SYMCreationDate		10/04/2008
   1.850 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.851 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.852 +//!					port		= com<port>
   1.853 +//!					baud rate	= 9600
   1.854 +//!					data bits	= 8
   1.855 +//!					stop bits	= 1
   1.856 +//!					parity		= none
   1.857 +//!					flow control	= none
   1.858 +//!				2. Change configuration
   1.859 +//!					baud rate	= <baud>
   1.860 +//!					data bits	= 8
   1.861 +//!					stop bits	= 2
   1.862 +//!					parity		= none
   1.863 +//!					flow control	= none
   1.864 +//!				3. Send data to com port witout specifying the length of the data
   1.865 +//!				4. Read data from com port without specifying the length of the data
   1.866 +//!				5. Restore configuration
   1.867 +//!				6. Destroy the object
   1.868 +//! @SYMTestStatus		Implemented
   1.869 +//! @SYMTestPriority		High
   1.870 +//! @SYMTestExpectedResults	Data read should be as expected
   1.871 +//! @SYMTestType		CIT
   1.872 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.873 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.874 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.875 +		CREATE_OBJECT	TCommConfigV01	config
   1.876 +		COMMAND		busDevComm	new
   1.877 +		COMMAND		configSave	new
   1.878 +		COMMAND		config		new
   1.879 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.880 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.881 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.882 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.883 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.884 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.885 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.886 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.887 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.888 +
   1.889 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
   1.890 +		OUTSTANDING
   1.891 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.892 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.893 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
   1.894 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.895 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.896 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.897 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.898 +		OUTSTANDING
   1.899 +
   1.900 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
   1.901 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
   1.902 +		OUTSTANDING
   1.903 +
   1.904 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.905 +		OUTSTANDING
   1.906 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.907 +		COMMAND		busDevComm	Close
   1.908 +		COMMAND		config		~
   1.909 +		COMMAND		configSave	~
   1.910 +		COMMAND		busDevComm	~
   1.911 +	END_TEST_BLOCK
   1.912 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1003
   1.913 +
   1.914 +
   1.915 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1004
   1.916 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1004
   1.917 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
   1.918 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
   1.919 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
   1.920 +//! @SYMAuthor			Oleg Kuznetsov
   1.921 +//! @SYMCreationDate		10/04/2008
   1.922 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.923 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.924 +//!					port		= com<port>
   1.925 +//!					baud rate	= 9600
   1.926 +//!					data bits	= 8
   1.927 +//!					stop bits	= 1
   1.928 +//!					parity		= none
   1.929 +//!					flow control	= none
   1.930 +//!				2. Change configuration
   1.931 +//!					baud rate	= <baud>
   1.932 +//!					data bits	= 8
   1.933 +//!					stop bits	= 2
   1.934 +//!					parity		= none
   1.935 +//!					flow control	= none
   1.936 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
   1.937 +//!				4. Read data from com port without specifying the length of the data
   1.938 +//!				5. Restore configuration
   1.939 +//!				6. Destroy the object
   1.940 +//! @SYMTestStatus		Implemented
   1.941 +//! @SYMTestPriority		High
   1.942 +//! @SYMTestExpectedResults	Data read should be as expected
   1.943 +//! @SYMTestType		CIT
   1.944 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
   1.945 +		CREATE_OBJECT	RBusDevComm	busDevComm
   1.946 +		CREATE_OBJECT	TCommConfigV01	configSave
   1.947 +		CREATE_OBJECT	TCommConfigV01	config
   1.948 +		COMMAND		busDevComm	new
   1.949 +		COMMAND		configSave	new
   1.950 +		COMMAND		config		new
   1.951 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
   1.952 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.953 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.954 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
   1.955 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
   1.956 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
   1.957 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
   1.958 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
   1.959 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.960 +
   1.961 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
   1.962 +		OUTSTANDING
   1.963 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
   1.964 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
   1.965 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
   1.966 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
   1.967 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
   1.968 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
   1.969 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
   1.970 +		OUTSTANDING
   1.971 +
   1.972 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
   1.973 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
   1.974 +		OUTSTANDING
   1.975 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
   1.976 +		OUTSTANDING
   1.977 +
   1.978 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
   1.979 +		OUTSTANDING
   1.980 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
   1.981 +		COMMAND		busDevComm	Close
   1.982 +		COMMAND		config		~
   1.983 +		COMMAND		configSave	~
   1.984 +		COMMAND		busDevComm	~
   1.985 +	END_TEST_BLOCK
   1.986 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1004
   1.987 +
   1.988 +
   1.989 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1005
   1.990 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1005
   1.991 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
   1.992 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
   1.993 +//! @SYMAuthor			Oleg Kuznetsov
   1.994 +//! @SYMCreationDate		10/04/2008
   1.995 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
   1.996 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
   1.997 +//!					port		= com<port>
   1.998 +//!					baud rate	= 9600
   1.999 +//!					data bits	= 8
  1.1000 +//!					stop bits	= 1
  1.1001 +//!					parity		= none
  1.1002 +//!					flow control	= none
  1.1003 +//!				2. Change configuration
  1.1004 +//!					baud rate	= <baud>
  1.1005 +//!					data bits	= 8
  1.1006 +//!					stop bits	= 2
  1.1007 +//!					parity		= none
  1.1008 +//!					flow control	= none
  1.1009 +//!				3. Send data to com port witout specifying the length of the data
  1.1010 +//!				4. ReadOneOrMore data from com port
  1.1011 +//!				5. Restore configuration
  1.1012 +//!				6. Destroy the object
  1.1013 +//! @SYMTestStatus		Implemented
  1.1014 +//! @SYMTestPriority		High
  1.1015 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1016 +//! @SYMTestType		CIT
  1.1017 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1018 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1019 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1020 +		CREATE_OBJECT	TCommConfigV01	config
  1.1021 +		COMMAND		busDevComm	new
  1.1022 +		COMMAND		configSave	new
  1.1023 +		COMMAND		config		new
  1.1024 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1025 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1026 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1027 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1028 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1029 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1030 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1031 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1032 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1033 +
  1.1034 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
  1.1035 +		OUTSTANDING
  1.1036 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1037 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1038 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.1039 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.1040 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1041 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1042 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1043 +		OUTSTANDING
  1.1044 +
  1.1045 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.1046 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.1047 +		OUTSTANDING
  1.1048 +
  1.1049 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1050 +		OUTSTANDING
  1.1051 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1052 +		COMMAND		busDevComm	Close
  1.1053 +		COMMAND		config		~
  1.1054 +		COMMAND		configSave	~
  1.1055 +		COMMAND		busDevComm	~
  1.1056 +	END_TEST_BLOCK
  1.1057 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1005
  1.1058 +
  1.1059 +
  1.1060 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1006
  1.1061 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1006
  1.1062 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1063 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.1064 +//!				RBusDevComm::QueryReceiveBuffer();
  1.1065 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.1066 +//! @SYMAuthor			Oleg Kuznetsov
  1.1067 +//! @SYMCreationDate		10/04/2008
  1.1068 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1069 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1070 +//!					port		= com<port>
  1.1071 +//!					baud rate	= 9600
  1.1072 +//!					data bits	= 8
  1.1073 +//!					stop bits	= 1
  1.1074 +//!					parity		= none
  1.1075 +//!					flow control	= none
  1.1076 +//!				2. Change configuration
  1.1077 +//!					baud rate	= <baud>
  1.1078 +//!					data bits	= 8
  1.1079 +//!					stop bits	= 2
  1.1080 +//!					parity		= none
  1.1081 +//!					flow control	= none
  1.1082 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.1083 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.1084 +//!				5. Restore configuration
  1.1085 +//!				6. Destroy the object
  1.1086 +//! @SYMTestStatus		Implemented
  1.1087 +//! @SYMTestPriority		High
  1.1088 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1089 +//! @SYMTestType		CIT
  1.1090 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1091 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1092 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1093 +		CREATE_OBJECT	TCommConfigV01	config
  1.1094 +		COMMAND		busDevComm	new
  1.1095 +		COMMAND		configSave	new
  1.1096 +		COMMAND		config		new
  1.1097 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1098 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1099 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1100 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1101 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1102 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1103 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1104 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1105 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1106 +
  1.1107 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
  1.1108 +		OUTSTANDING
  1.1109 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1110 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1111 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.1112 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.1113 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1114 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1115 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1116 +		OUTSTANDING
  1.1117 +
  1.1118 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.1119 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.1120 +		OUTSTANDING
  1.1121 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.1122 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.1123 +		OUTSTANDING
  1.1124 +
  1.1125 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1126 +		OUTSTANDING
  1.1127 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1128 +		COMMAND		busDevComm	Close
  1.1129 +		COMMAND		config		~
  1.1130 +		COMMAND		configSave	~
  1.1131 +		COMMAND		busDevComm	~
  1.1132 +	END_TEST_BLOCK
  1.1133 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1006
  1.1134 +
  1.1135 +
  1.1136 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1007
  1.1137 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1007
  1.1138 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1139 +//!				RBusDevComm::WriteCancel();
  1.1140 +//!				RBusDevComm::ResetBuffers()
  1.1141 +//! @SYMAuthor			Oleg Kuznetsov
  1.1142 +//! @SYMCreationDate		10/04/2008
  1.1143 +//! @SYMTestCaseDesc		Cancel a write request
  1.1144 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1145 +//!					port		= com<port>
  1.1146 +//!					baud rate	= 9600
  1.1147 +//!					data bits	= 8
  1.1148 +//!					stop bits	= 1
  1.1149 +//!					parity		= none
  1.1150 +//!					flow control	= none
  1.1151 +//!				2. Change configuration
  1.1152 +//!					baud rate	= <baud>
  1.1153 +//!					data bits	= 8
  1.1154 +//!					stop bits	= 2
  1.1155 +//!					parity		= none
  1.1156 +//!					flow control	= none
  1.1157 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.1158 +//!				4. Restore configuration
  1.1159 +//!				5. Destroy the object
  1.1160 +//! @SYMTestStatus		Implemented
  1.1161 +//! @SYMTestPriority		High
  1.1162 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.1163 +//! @SYMTestType		CIT
  1.1164 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1165 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.1166 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.1167 +		CREATE_OBJECT		TCommConfigV01	config
  1.1168 +		COMMAND			busDevComm	new
  1.1169 +		COMMAND			configSave	new
  1.1170 +		COMMAND			config		new
  1.1171 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1172 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1173 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1174 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1175 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1176 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1177 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1178 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1179 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1180 +
  1.1181 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
  1.1182 +		OUTSTANDING
  1.1183 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.1184 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.1185 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop2
  1.1186 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityNone
  1.1187 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1188 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1189 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1190 +		OUTSTANDING
  1.1191 +
  1.1192 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.1193 +		COMMAND			busDevComm	WriteCancel
  1.1194 +		OUTSTANDING
  1.1195 +		COMMAND			busDevComm	ResetBuffers
  1.1196 +
  1.1197 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1198 +		OUTSTANDING
  1.1199 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1200 +		COMMAND			busDevComm	Close
  1.1201 +		COMMAND			config		~
  1.1202 +		COMMAND			configSave	~
  1.1203 +		COMMAND			busDevComm	~
  1.1204 +	END_TEST_BLOCK
  1.1205 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1007
  1.1206 +
  1.1207 +
  1.1208 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1008
  1.1209 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1008
  1.1210 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.1211 +//! @SYMAuthor			Oleg Kuznetsov
  1.1212 +//! @SYMCreationDate		10/04/2008
  1.1213 +//! @SYMTestCaseDesc		Break the connection for a period
  1.1214 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1215 +//!					port		= com<port>
  1.1216 +//!					baud rate	= 9600
  1.1217 +//!					data bits	= 8
  1.1218 +//!					stop bits	= 1
  1.1219 +//!					parity		= none
  1.1220 +//!					flow control	= none
  1.1221 +//!				2. Change configuration
  1.1222 +//!					baud rate	= <baud>
  1.1223 +//!					data bits	= 8
  1.1224 +//!					stop bits	= 2
  1.1225 +//!					parity		= none
  1.1226 +//!					flow control	= none
  1.1227 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.1228 +//!				4. Restore configuration
  1.1229 +//!				5. Destroy the object
  1.1230 +//! @SYMTestStatus		Implemented
  1.1231 +//! @SYMTestPriority		High
  1.1232 +//! @SYMTestExpectedResults	Break should run with no errors
  1.1233 +//! @SYMTestType		CIT
  1.1234 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1235 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1236 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1237 +		CREATE_OBJECT	TCommConfigV01	config
  1.1238 +		COMMAND		busDevComm	new
  1.1239 +		COMMAND		configSave	new
  1.1240 +		COMMAND		config		new
  1.1241 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1242 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1243 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1244 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1245 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1246 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1247 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1248 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1249 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1250 +
  1.1251 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
  1.1252 +		OUTSTANDING
  1.1253 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1254 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1255 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.1256 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.1257 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1258 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1259 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1260 +		OUTSTANDING
  1.1261 +
  1.1262 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.1263 +		OUTSTANDING
  1.1264 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.1265 +		OUTSTANDING
  1.1266 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.1267 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.1268 +		OUTSTANDING
  1.1269 +
  1.1270 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1271 +		OUTSTANDING
  1.1272 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1273 +		COMMAND		busDevComm	Close
  1.1274 +		COMMAND		config		~
  1.1275 +		COMMAND		configSave	~
  1.1276 +		COMMAND		busDevComm	~
  1.1277 +	END_TEST_BLOCK
  1.1278 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1008
  1.1279 +
  1.1280 +
  1.1281 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1009
  1.1282 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1009
  1.1283 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.1284 +//!				RBusDevComm::BreakCancel()
  1.1285 +//! @SYMAuthor			Oleg Kuznetsov
  1.1286 +//! @SYMCreationDate		10/04/2008
  1.1287 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.1288 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1289 +//!					port		= com<port>
  1.1290 +//!					baud rate	= 9600
  1.1291 +//!					data bits	= 8
  1.1292 +//!					stop bits	= 1
  1.1293 +//!					parity		= none
  1.1294 +//!					flow control	= none
  1.1295 +//!				2. Change configuration
  1.1296 +//!					baud rate	= <baud>
  1.1297 +//!					data bits	= 8
  1.1298 +//!					stop bits	= 2
  1.1299 +//!					parity		= none
  1.1300 +//!					flow control	= none
  1.1301 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.1302 +//!				4. Restore configuration
  1.1303 +//!				5. Destroy the object
  1.1304 +//! @SYMTestStatus		Implemented
  1.1305 +//! @SYMTestPriority		High
  1.1306 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.1307 +//! @SYMTestType		CIT
  1.1308 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1309 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.1310 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.1311 +		CREATE_OBJECT		TCommConfigV01	config
  1.1312 +		COMMAND			busDevComm	new
  1.1313 +		COMMAND			configSave	new
  1.1314 +		COMMAND			config		new
  1.1315 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1316 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1317 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1318 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1319 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1320 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1321 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1322 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1323 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1324 +
  1.1325 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-none-Write_config
  1.1326 +		OUTSTANDING
  1.1327 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1328 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1329 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.1330 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.1331 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1332 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1333 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1334 +		OUTSTANDING
  1.1335 +
  1.1336 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.1337 +		OUTSTANDING
  1.1338 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.1339 +		COMMAND			busDevComm	BreakCancel
  1.1340 +		OUTSTANDING
  1.1341 +
  1.1342 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1343 +		OUTSTANDING
  1.1344 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1345 +		COMMAND			busDevComm	Close
  1.1346 +		COMMAND			config		~
  1.1347 +		COMMAND			configSave	~
  1.1348 +		COMMAND			busDevComm	~
  1.1349 +	END_TEST_BLOCK
  1.1350 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_none-1009
  1.1351 +
  1.1352 +
  1.1353 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1001
  1.1354 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1001
  1.1355 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1356 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.1357 +//! @SYMAuthor			Oleg Kuznetsov
  1.1358 +//! @SYMCreationDate		10/04/2008
  1.1359 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1360 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1361 +//!					port		= com<port>
  1.1362 +//!					baud rate	= 9600
  1.1363 +//!					data bits	= 8
  1.1364 +//!					stop bits	= 1
  1.1365 +//!					parity		= none
  1.1366 +//!					flow control	= none
  1.1367 +//!				2. Change configuration
  1.1368 +//!					baud rate	= <baud>
  1.1369 +//!					data bits	= 8
  1.1370 +//!					stop bits	= 1
  1.1371 +//!					parity		= even
  1.1372 +//!					flow control	= none
  1.1373 +//!				3. Send data to com port witout specifying the length of the data
  1.1374 +//!				4. Read data from com port specifying the length of the data
  1.1375 +//!				5. Restore configuration
  1.1376 +//!				6. Destroy the object
  1.1377 +//! @SYMTestStatus		Implemented
  1.1378 +//! @SYMTestPriority		High
  1.1379 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1380 +//! @SYMTestType		CIT
  1.1381 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1382 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1383 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1384 +		CREATE_OBJECT	TCommConfigV01	config
  1.1385 +		COMMAND		busDevComm	new
  1.1386 +		COMMAND		configSave	new
  1.1387 +		COMMAND		config		new
  1.1388 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1389 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1390 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1391 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1392 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1393 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1394 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1395 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1396 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1397 +
  1.1398 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1399 +		OUTSTANDING
  1.1400 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1401 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1402 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1403 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1404 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1405 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1406 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1407 +		OUTSTANDING
  1.1408 +
  1.1409 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.1410 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.1411 +		OUTSTANDING
  1.1412 +
  1.1413 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1414 +		OUTSTANDING
  1.1415 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1416 +		COMMAND		busDevComm	Close
  1.1417 +		COMMAND		config		~
  1.1418 +		COMMAND		configSave	~
  1.1419 +		COMMAND		busDevComm	~
  1.1420 +	END_TEST_BLOCK
  1.1421 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1001
  1.1422 +
  1.1423 +
  1.1424 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1002
  1.1425 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1002
  1.1426 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.1427 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.1428 +//!				RBusDevComm::QueryReceiveBuffer();
  1.1429 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.1430 +//! @SYMAuthor			Oleg Kuznetsov
  1.1431 +//! @SYMCreationDate		10/04/2008
  1.1432 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1433 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1434 +//!					port		= com<port>
  1.1435 +//!					baud rate	= 9600
  1.1436 +//!					data bits	= 8
  1.1437 +//!					stop bits	= 1
  1.1438 +//!					parity		= none
  1.1439 +//!					flow control	= none
  1.1440 +//!				2. Change configuration
  1.1441 +//!					baud rate	= <baud>
  1.1442 +//!					data bits	= 8
  1.1443 +//!					stop bits	= 1
  1.1444 +//!					parity		= even
  1.1445 +//!					flow control	= none
  1.1446 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.1447 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.1448 +//!				5. Restore configuration
  1.1449 +//!				6. Destroy the object
  1.1450 +//! @SYMTestStatus		Implemented
  1.1451 +//! @SYMTestPriority		High
  1.1452 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1453 +//! @SYMTestType		CIT
  1.1454 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1455 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1456 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1457 +		CREATE_OBJECT	TCommConfigV01	config
  1.1458 +		COMMAND		busDevComm	new
  1.1459 +		COMMAND		configSave	new
  1.1460 +		COMMAND		config		new
  1.1461 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1462 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1463 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1464 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1465 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1466 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1467 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1468 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1469 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1470 +
  1.1471 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1472 +		OUTSTANDING
  1.1473 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1474 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1475 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1476 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1477 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1478 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1479 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1480 +		OUTSTANDING
  1.1481 +
  1.1482 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.1483 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.1484 +		OUTSTANDING
  1.1485 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.1486 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.1487 +		OUTSTANDING
  1.1488 +
  1.1489 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1490 +		OUTSTANDING
  1.1491 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1492 +		COMMAND		busDevComm	Close
  1.1493 +		COMMAND		config		~
  1.1494 +		COMMAND		configSave	~
  1.1495 +		COMMAND		busDevComm	~
  1.1496 +	END_TEST_BLOCK
  1.1497 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1002
  1.1498 +
  1.1499 +
  1.1500 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1003
  1.1501 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1003
  1.1502 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1503 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.1504 +//! @SYMAuthor			Oleg Kuznetsov
  1.1505 +//! @SYMCreationDate		10/04/2008
  1.1506 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1507 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1508 +//!					port		= com<port>
  1.1509 +//!					baud rate	= 9600
  1.1510 +//!					data bits	= 8
  1.1511 +//!					stop bits	= 1
  1.1512 +//!					parity		= none
  1.1513 +//!					flow control	= none
  1.1514 +//!				2. Change configuration
  1.1515 +//!					baud rate	= <baud>
  1.1516 +//!					data bits	= 8
  1.1517 +//!					stop bits	= 1
  1.1518 +//!					parity		= even
  1.1519 +//!					flow control	= none
  1.1520 +//!				3. Send data to com port witout specifying the length of the data
  1.1521 +//!				4. Read data from com port without specifying the length of the data
  1.1522 +//!				5. Restore configuration
  1.1523 +//!				6. Destroy the object
  1.1524 +//! @SYMTestStatus		Implemented
  1.1525 +//! @SYMTestPriority		High
  1.1526 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1527 +//! @SYMTestType		CIT
  1.1528 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1529 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1530 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1531 +		CREATE_OBJECT	TCommConfigV01	config
  1.1532 +		COMMAND		busDevComm	new
  1.1533 +		COMMAND		configSave	new
  1.1534 +		COMMAND		config		new
  1.1535 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1536 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1537 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1538 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1539 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1540 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1541 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1542 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1543 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1544 +
  1.1545 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1546 +		OUTSTANDING
  1.1547 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1548 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1549 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1550 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1551 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1552 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1553 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1554 +		OUTSTANDING
  1.1555 +
  1.1556 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.1557 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.1558 +		OUTSTANDING
  1.1559 +
  1.1560 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1561 +		OUTSTANDING
  1.1562 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1563 +		COMMAND		busDevComm	Close
  1.1564 +		COMMAND		config		~
  1.1565 +		COMMAND		configSave	~
  1.1566 +		COMMAND		busDevComm	~
  1.1567 +	END_TEST_BLOCK
  1.1568 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1003
  1.1569 +
  1.1570 +
  1.1571 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1004
  1.1572 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1004
  1.1573 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.1574 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.1575 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.1576 +//! @SYMAuthor			Oleg Kuznetsov
  1.1577 +//! @SYMCreationDate		10/04/2008
  1.1578 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1579 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1580 +//!					port		= com<port>
  1.1581 +//!					baud rate	= 9600
  1.1582 +//!					data bits	= 8
  1.1583 +//!					stop bits	= 1
  1.1584 +//!					parity		= none
  1.1585 +//!					flow control	= none
  1.1586 +//!				2. Change configuration
  1.1587 +//!					baud rate	= <baud>
  1.1588 +//!					data bits	= 8
  1.1589 +//!					stop bits	= 1
  1.1590 +//!					parity		= even
  1.1591 +//!					flow control	= none
  1.1592 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.1593 +//!				4. Read data from com port without specifying the length of the data
  1.1594 +//!				5. Restore configuration
  1.1595 +//!				6. Destroy the object
  1.1596 +//! @SYMTestStatus		Implemented
  1.1597 +//! @SYMTestPriority		High
  1.1598 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1599 +//! @SYMTestType		CIT
  1.1600 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1601 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1602 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1603 +		CREATE_OBJECT	TCommConfigV01	config
  1.1604 +		COMMAND		busDevComm	new
  1.1605 +		COMMAND		configSave	new
  1.1606 +		COMMAND		config		new
  1.1607 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1608 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1609 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1610 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1611 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1612 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1613 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1614 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1615 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1616 +
  1.1617 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1618 +		OUTSTANDING
  1.1619 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1620 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1621 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1622 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1623 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1624 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1625 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1626 +		OUTSTANDING
  1.1627 +
  1.1628 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.1629 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.1630 +		OUTSTANDING
  1.1631 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.1632 +		OUTSTANDING
  1.1633 +
  1.1634 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1635 +		OUTSTANDING
  1.1636 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1637 +		COMMAND		busDevComm	Close
  1.1638 +		COMMAND		config		~
  1.1639 +		COMMAND		configSave	~
  1.1640 +		COMMAND		busDevComm	~
  1.1641 +	END_TEST_BLOCK
  1.1642 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1004
  1.1643 +
  1.1644 +
  1.1645 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1005
  1.1646 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1005
  1.1647 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1648 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.1649 +//! @SYMAuthor			Oleg Kuznetsov
  1.1650 +//! @SYMCreationDate		10/04/2008
  1.1651 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1652 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1653 +//!					port		= com<port>
  1.1654 +//!					baud rate	= 9600
  1.1655 +//!					data bits	= 8
  1.1656 +//!					stop bits	= 1
  1.1657 +//!					parity		= none
  1.1658 +//!					flow control	= none
  1.1659 +//!				2. Change configuration
  1.1660 +//!					baud rate	= <baud>
  1.1661 +//!					data bits	= 8
  1.1662 +//!					stop bits	= 1
  1.1663 +//!					parity		= even
  1.1664 +//!					flow control	= none
  1.1665 +//!				3. Send data to com port without specifying the length of the data
  1.1666 +//!				4. ReadOneOrMore data from com port
  1.1667 +//!				5. Restore configuration
  1.1668 +//!				6. Destroy the object
  1.1669 +//! @SYMTestStatus		Implemented
  1.1670 +//! @SYMTestPriority		High
  1.1671 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1672 +//! @SYMTestType		CIT
  1.1673 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1674 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1675 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1676 +		CREATE_OBJECT	TCommConfigV01	config
  1.1677 +		COMMAND		busDevComm	new
  1.1678 +		COMMAND		configSave	new
  1.1679 +		COMMAND		config		new
  1.1680 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1681 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1682 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1683 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1684 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1685 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1686 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1687 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1688 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1689 +
  1.1690 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1691 +		OUTSTANDING
  1.1692 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1693 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1694 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1695 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1696 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1697 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1698 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1699 +		OUTSTANDING
  1.1700 +
  1.1701 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.1702 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.1703 +		OUTSTANDING
  1.1704 +
  1.1705 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1706 +		OUTSTANDING
  1.1707 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1708 +		COMMAND		busDevComm	Close
  1.1709 +		COMMAND		config		~
  1.1710 +		COMMAND		configSave	~
  1.1711 +		COMMAND		busDevComm	~
  1.1712 +	END_TEST_BLOCK
  1.1713 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1005
  1.1714 +
  1.1715 +
  1.1716 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1006
  1.1717 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1006
  1.1718 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1719 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.1720 +//!				RBusDevComm::QueryReceiveBuffer();
  1.1721 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.1722 +//! @SYMAuthor			Oleg Kuznetsov
  1.1723 +//! @SYMCreationDate		10/04/2008
  1.1724 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.1725 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1726 +//!					port		= com<port>
  1.1727 +//!					baud rate	= 9600
  1.1728 +//!					data bits	= 8
  1.1729 +//!					stop bits	= 1
  1.1730 +//!					parity		= none
  1.1731 +//!					flow control	= none
  1.1732 +//!				2. Change configuration
  1.1733 +//!					baud rate	= <baud>
  1.1734 +//!					data bits	= 8
  1.1735 +//!					stop bits	= 1
  1.1736 +//!					parity		= even
  1.1737 +//!					flow control	= none
  1.1738 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.1739 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.1740 +//!				5. Restore configuration
  1.1741 +//!				6. Destroy the object
  1.1742 +//! @SYMTestStatus		Implemented
  1.1743 +//! @SYMTestPriority		High
  1.1744 +//! @SYMTestExpectedResults	Data read should be as expected
  1.1745 +//! @SYMTestType		CIT
  1.1746 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1747 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1748 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1749 +		CREATE_OBJECT	TCommConfigV01	config
  1.1750 +		COMMAND		busDevComm	new
  1.1751 +		COMMAND		configSave	new
  1.1752 +		COMMAND		config		new
  1.1753 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1754 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1755 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1756 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1757 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1758 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1759 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1760 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1761 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1762 +
  1.1763 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1764 +		OUTSTANDING
  1.1765 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1766 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1767 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1768 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1769 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1770 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1771 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1772 +		OUTSTANDING
  1.1773 +
  1.1774 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.1775 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.1776 +		OUTSTANDING
  1.1777 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.1778 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.1779 +		OUTSTANDING
  1.1780 +
  1.1781 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1782 +		OUTSTANDING
  1.1783 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1784 +		COMMAND		busDevComm	Close
  1.1785 +		COMMAND		config		~
  1.1786 +		COMMAND		configSave	~
  1.1787 +		COMMAND		busDevComm	~
  1.1788 +	END_TEST_BLOCK
  1.1789 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1006
  1.1790 +
  1.1791 +
  1.1792 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1007
  1.1793 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1007
  1.1794 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.1795 +//!				RBusDevComm::WriteCancel();
  1.1796 +//!				RBusDevComm::ResetBuffers()
  1.1797 +//! @SYMAuthor			Oleg Kuznetsov
  1.1798 +//! @SYMCreationDate		10/04/2008
  1.1799 +//! @SYMTestCaseDesc		Cancel a write request
  1.1800 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1801 +//!					port		= com<port>
  1.1802 +//!					baud rate	= 9600
  1.1803 +//!					data bits	= 8
  1.1804 +//!					stop bits	= 1
  1.1805 +//!					parity		= none
  1.1806 +//!					flow control	= none
  1.1807 +//!				2. Change configuration
  1.1808 +//!					baud rate	= <baud>
  1.1809 +//!					data bits	= 8
  1.1810 +//!					stop bits	= 1
  1.1811 +//!					parity		= even
  1.1812 +//!					flow control	= none
  1.1813 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.1814 +//!				4. Restore configuration
  1.1815 +//!				5. Destroy the object
  1.1816 +//! @SYMTestStatus		Implemented
  1.1817 +//! @SYMTestPriority		High
  1.1818 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.1819 +//! @SYMTestType		CIT
  1.1820 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1821 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.1822 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.1823 +		CREATE_OBJECT		TCommConfigV01	config
  1.1824 +		COMMAND			busDevComm	new
  1.1825 +		COMMAND			configSave	new
  1.1826 +		COMMAND			config		new
  1.1827 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1828 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1829 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1830 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1831 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1832 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1833 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1834 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1835 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1836 +
  1.1837 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1838 +		OUTSTANDING
  1.1839 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.1840 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.1841 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
  1.1842 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1843 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1844 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1845 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1846 +		OUTSTANDING
  1.1847 +
  1.1848 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.1849 +		COMMAND			busDevComm	WriteCancel
  1.1850 +		OUTSTANDING
  1.1851 +		COMMAND			busDevComm	ResetBuffers
  1.1852 +
  1.1853 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1854 +		OUTSTANDING
  1.1855 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1856 +		COMMAND			busDevComm	Close
  1.1857 +		COMMAND			config		~
  1.1858 +		COMMAND			configSave	~
  1.1859 +		COMMAND			busDevComm	~
  1.1860 +	END_TEST_BLOCK
  1.1861 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1007
  1.1862 +
  1.1863 +
  1.1864 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1008
  1.1865 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1008
  1.1866 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.1867 +//! @SYMAuthor			Oleg Kuznetsov
  1.1868 +//! @SYMCreationDate		10/04/2008
  1.1869 +//! @SYMTestCaseDesc		Break the connection for a period
  1.1870 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1871 +//!					port		= com<port>
  1.1872 +//!					baud rate	= 9600
  1.1873 +//!					data bits	= 8
  1.1874 +//!					stop bits	= 1
  1.1875 +//!					parity		= none
  1.1876 +//!					flow control	= none
  1.1877 +//!				2. Change configuration
  1.1878 +//!					baud rate	= <baud>
  1.1879 +//!					data bits	= 8
  1.1880 +//!					stop bits	= 1
  1.1881 +//!					parity		= even
  1.1882 +//!					flow control	= none
  1.1883 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.1884 +//!				4. Restore configuration
  1.1885 +//!				5. Destroy the object
  1.1886 +//! @SYMTestStatus		Implemented
  1.1887 +//! @SYMTestPriority		High
  1.1888 +//! @SYMTestExpectedResults	Break should run with no errors
  1.1889 +//! @SYMTestType		CIT
  1.1890 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1891 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.1892 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.1893 +		CREATE_OBJECT	TCommConfigV01	config
  1.1894 +		COMMAND		busDevComm	new
  1.1895 +		COMMAND		configSave	new
  1.1896 +		COMMAND		config		new
  1.1897 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1898 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1899 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1900 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1901 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1902 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1903 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1904 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1905 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1906 +
  1.1907 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1908 +		OUTSTANDING
  1.1909 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1910 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1911 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1912 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1913 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1914 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1915 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1916 +		OUTSTANDING
  1.1917 +
  1.1918 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.1919 +		OUTSTANDING
  1.1920 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.1921 +		OUTSTANDING
  1.1922 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.1923 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.1924 +		OUTSTANDING
  1.1925 +
  1.1926 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1927 +		OUTSTANDING
  1.1928 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1929 +		COMMAND		busDevComm	Close
  1.1930 +		COMMAND		config		~
  1.1931 +		COMMAND		configSave	~
  1.1932 +		COMMAND		busDevComm	~
  1.1933 +	END_TEST_BLOCK
  1.1934 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1008
  1.1935 +
  1.1936 +
  1.1937 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1009
  1.1938 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1009
  1.1939 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.1940 +//!				RBusDevComm::BreakCancel()
  1.1941 +//! @SYMAuthor			Oleg Kuznetsov
  1.1942 +//! @SYMCreationDate		10/04/2008
  1.1943 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.1944 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.1945 +//!					port		= com<port>
  1.1946 +//!					baud rate	= 9600
  1.1947 +//!					data bits	= 8
  1.1948 +//!					stop bits	= 1
  1.1949 +//!					parity		= none
  1.1950 +//!					flow control	= none
  1.1951 +//!				2. Change configuration
  1.1952 +//!					baud rate	= <baud>
  1.1953 +//!					data bits	= 8
  1.1954 +//!					stop bits	= 1
  1.1955 +//!					parity		= even
  1.1956 +//!					flow control	= none
  1.1957 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.1958 +//!				4. Restore configuration
  1.1959 +//!				5. Destroy the object
  1.1960 +//! @SYMTestStatus		Implemented
  1.1961 +//! @SYMTestPriority		High
  1.1962 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.1963 +//! @SYMTestType		CIT
  1.1964 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.1965 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.1966 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.1967 +		CREATE_OBJECT		TCommConfigV01	config
  1.1968 +		COMMAND			busDevComm	new
  1.1969 +		COMMAND			configSave	new
  1.1970 +		COMMAND			config		new
  1.1971 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.1972 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.1973 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1974 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.1975 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.1976 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.1977 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.1978 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.1979 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1980 +
  1.1981 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-none-Write_config
  1.1982 +		OUTSTANDING
  1.1983 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.1984 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.1985 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.1986 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.1987 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.1988 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.1989 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.1990 +		OUTSTANDING
  1.1991 +
  1.1992 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.1993 +		OUTSTANDING
  1.1994 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.1995 +		COMMAND			busDevComm	BreakCancel
  1.1996 +		OUTSTANDING
  1.1997 +
  1.1998 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.1999 +		OUTSTANDING
  1.2000 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2001 +		COMMAND			busDevComm	Close
  1.2002 +		COMMAND			config		~
  1.2003 +		COMMAND			configSave	~
  1.2004 +		COMMAND			busDevComm	~
  1.2005 +	END_TEST_BLOCK
  1.2006 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_none-1009
  1.2007 +
  1.2008 +
  1.2009 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1001
  1.2010 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1001
  1.2011 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2012 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2013 +//! @SYMAuthor			Oleg Kuznetsov
  1.2014 +//! @SYMCreationDate		10/04/2008
  1.2015 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2016 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2017 +//!					port		= com<port>
  1.2018 +//!					baud rate	= 9600
  1.2019 +//!					data bits	= 8
  1.2020 +//!					stop bits	= 1
  1.2021 +//!					parity		= none
  1.2022 +//!					flow control	= none
  1.2023 +//!				2. Change configuration
  1.2024 +//!					baud rate	= <baud>
  1.2025 +//!					data bits	= 8
  1.2026 +//!					stop bits	= 2
  1.2027 +//!					parity		= even
  1.2028 +//!					flow control	= none
  1.2029 +//!				3. Send data to com port without specifying the length of the data
  1.2030 +//!				4. Read data from com port specifying the length of the data
  1.2031 +//!				5. Restore configuration
  1.2032 +//!				6. Destroy the object
  1.2033 +//! @SYMTestStatus		Implemented
  1.2034 +//! @SYMTestPriority		High
  1.2035 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2036 +//! @SYMTestType		CIT
  1.2037 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2038 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2039 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2040 +		CREATE_OBJECT	TCommConfigV01	config
  1.2041 +		COMMAND		busDevComm	new
  1.2042 +		COMMAND		configSave	new
  1.2043 +		COMMAND		config		new
  1.2044 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2045 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2046 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2047 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2048 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2049 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2050 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2051 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2052 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2053 +
  1.2054 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2055 +		OUTSTANDING
  1.2056 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2057 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2058 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2059 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2060 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2061 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2062 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2063 +		OUTSTANDING
  1.2064 +
  1.2065 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.2066 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.2067 +		OUTSTANDING
  1.2068 +
  1.2069 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2070 +		OUTSTANDING
  1.2071 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2072 +		COMMAND		busDevComm	Close
  1.2073 +		COMMAND		config		~
  1.2074 +		COMMAND		configSave	~
  1.2075 +		COMMAND		busDevComm	~
  1.2076 +	END_TEST_BLOCK
  1.2077 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1001
  1.2078 +
  1.2079 +
  1.2080 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1002
  1.2081 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1002
  1.2082 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.2083 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.2084 +//!				RBusDevComm::QueryReceiveBuffer();
  1.2085 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2086 +//! @SYMAuthor			Oleg Kuznetsov
  1.2087 +//! @SYMCreationDate		10/04/2008
  1.2088 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2089 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2090 +//!					port		= com<port>
  1.2091 +//!					baud rate	= 9600
  1.2092 +//!					data bits	= 8
  1.2093 +//!					stop bits	= 1
  1.2094 +//!					parity		= none
  1.2095 +//!					flow control	= none
  1.2096 +//!				2. Change configuration
  1.2097 +//!					baud rate	= <baud>
  1.2098 +//!					data bits	= 8
  1.2099 +//!					stop bits	= 2
  1.2100 +//!					parity		= even
  1.2101 +//!					flow control	= none
  1.2102 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.2103 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.2104 +//!				5. Restore configuration
  1.2105 +//!				6. Destroy the object
  1.2106 +//! @SYMTestStatus		Implemented
  1.2107 +//! @SYMTestPriority		High
  1.2108 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2109 +//! @SYMTestType		CIT
  1.2110 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2111 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2112 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2113 +		CREATE_OBJECT	TCommConfigV01	config
  1.2114 +		COMMAND		busDevComm	new
  1.2115 +		COMMAND		configSave	new
  1.2116 +		COMMAND		config		new
  1.2117 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2118 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2119 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2120 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2121 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2122 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2123 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2124 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2125 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2126 +
  1.2127 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2128 +		OUTSTANDING
  1.2129 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2130 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2131 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2132 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2133 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2134 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2135 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2136 +		OUTSTANDING
  1.2137 +
  1.2138 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.2139 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.2140 +		OUTSTANDING
  1.2141 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.2142 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.2143 +		OUTSTANDING
  1.2144 +
  1.2145 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2146 +		OUTSTANDING
  1.2147 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2148 +		COMMAND		busDevComm	Close
  1.2149 +		COMMAND		config		~
  1.2150 +		COMMAND		configSave	~
  1.2151 +		COMMAND		busDevComm	~
  1.2152 +	END_TEST_BLOCK
  1.2153 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1002
  1.2154 +
  1.2155 +
  1.2156 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1003
  1.2157 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1003
  1.2158 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2159 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.2160 +//! @SYMAuthor			Oleg Kuznetsov
  1.2161 +//! @SYMCreationDate		10/04/2008
  1.2162 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2163 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2164 +//!					port		= com<port>
  1.2165 +//!					baud rate	= 9600
  1.2166 +//!					data bits	= 8
  1.2167 +//!					stop bits	= 1
  1.2168 +//!					parity		= none
  1.2169 +//!					flow control	= none
  1.2170 +//!				2. Change configuration
  1.2171 +//!					baud rate	= <baud>
  1.2172 +//!					data bits	= 8
  1.2173 +//!					stop bits	= 2
  1.2174 +//!					parity		= even
  1.2175 +//!					flow control	= none
  1.2176 +//!				3. Send data to com port without specifying the length of the data
  1.2177 +//!				4. Read data from com port without specifying the length of the data
  1.2178 +//!				5. Restore configuration
  1.2179 +//!				6. Destroy the object
  1.2180 +//! @SYMTestStatus		Implemented
  1.2181 +//! @SYMTestPriority		High
  1.2182 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2183 +//! @SYMTestType		CIT
  1.2184 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2185 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2186 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2187 +		CREATE_OBJECT	TCommConfigV01	config
  1.2188 +		COMMAND		busDevComm	new
  1.2189 +		COMMAND		configSave	new
  1.2190 +		COMMAND		config		new
  1.2191 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2192 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2193 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2194 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2195 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2196 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2197 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2198 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2199 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2200 +
  1.2201 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2202 +		OUTSTANDING
  1.2203 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2204 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2205 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2206 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2207 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2208 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2209 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2210 +		OUTSTANDING
  1.2211 +
  1.2212 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.2213 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.2214 +		OUTSTANDING
  1.2215 +
  1.2216 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2217 +		OUTSTANDING
  1.2218 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2219 +		COMMAND		busDevComm	Close
  1.2220 +		COMMAND		config		~
  1.2221 +		COMMAND		configSave	~
  1.2222 +		COMMAND		busDevComm	~
  1.2223 +	END_TEST_BLOCK
  1.2224 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1003
  1.2225 +
  1.2226 +
  1.2227 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1004
  1.2228 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1004
  1.2229 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.2230 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.2231 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.2232 +//! @SYMAuthor			Oleg Kuznetsov
  1.2233 +//! @SYMCreationDate		10/04/2008
  1.2234 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2235 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2236 +//!					port		= com<port>
  1.2237 +//!					baud rate	= 9600
  1.2238 +//!					data bits	= 8
  1.2239 +//!					stop bits	= 1
  1.2240 +//!					parity		= none
  1.2241 +//!					flow control	= none
  1.2242 +//!				2. Change configuration
  1.2243 +//!					baud rate	= <baud>
  1.2244 +//!					data bits	= 8
  1.2245 +//!					stop bits	= 2
  1.2246 +//!					parity		= even
  1.2247 +//!					flow control	= none
  1.2248 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.2249 +//!				4. Read data from com port without specifying the length of the data
  1.2250 +//!				5. Restore configuration
  1.2251 +//!				6. Destroy the object
  1.2252 +//! @SYMTestStatus		Implemented
  1.2253 +//! @SYMTestPriority		High
  1.2254 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2255 +//! @SYMTestType		CIT
  1.2256 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2257 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2258 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2259 +		CREATE_OBJECT	TCommConfigV01	config
  1.2260 +		COMMAND		busDevComm	new
  1.2261 +		COMMAND		configSave	new
  1.2262 +		COMMAND		config		new
  1.2263 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2264 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2265 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2266 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2267 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2268 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2269 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2270 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2271 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2272 +
  1.2273 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2274 +		OUTSTANDING
  1.2275 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2276 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2277 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2278 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2279 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2280 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2281 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2282 +		OUTSTANDING
  1.2283 +
  1.2284 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.2285 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.2286 +		OUTSTANDING
  1.2287 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.2288 +		OUTSTANDING
  1.2289 +
  1.2290 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2291 +		OUTSTANDING
  1.2292 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2293 +		COMMAND		busDevComm	Close
  1.2294 +		COMMAND		config		~
  1.2295 +		COMMAND		configSave	~
  1.2296 +		COMMAND		busDevComm	~
  1.2297 +	END_TEST_BLOCK
  1.2298 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1004
  1.2299 +
  1.2300 +
  1.2301 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1005
  1.2302 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1005
  1.2303 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2304 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2305 +//! @SYMAuthor			Oleg Kuznetsov
  1.2306 +//! @SYMCreationDate		10/04/2008
  1.2307 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2308 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2309 +//!					port		= com<port>
  1.2310 +//!					baud rate	= 9600
  1.2311 +//!					data bits	= 8
  1.2312 +//!					stop bits	= 1
  1.2313 +//!					parity		= none
  1.2314 +//!					flow control	= none
  1.2315 +//!				2. Change configuration
  1.2316 +//!					baud rate	= <baud>
  1.2317 +//!					data bits	= 8
  1.2318 +//!					stop bits	= 2
  1.2319 +//!					parity		= even
  1.2320 +//!					flow control	= none
  1.2321 +//!				3. Send data to com port without specifying the length of the data
  1.2322 +//!				4. ReadOneOrMore data from com port
  1.2323 +//!				5. Restore configuration
  1.2324 +//!				6. Destroy the object
  1.2325 +//! @SYMTestStatus		Implemented
  1.2326 +//! @SYMTestPriority		High
  1.2327 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2328 +//! @SYMTestType		CIT
  1.2329 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2330 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2331 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2332 +		CREATE_OBJECT	TCommConfigV01	config
  1.2333 +		COMMAND		busDevComm	new
  1.2334 +		COMMAND		configSave	new
  1.2335 +		COMMAND		config		new
  1.2336 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2337 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2338 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2339 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2340 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2341 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2342 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2343 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2344 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2345 +
  1.2346 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2347 +		OUTSTANDING
  1.2348 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2349 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2350 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2351 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2352 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2353 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2354 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2355 +		OUTSTANDING
  1.2356 +
  1.2357 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.2358 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.2359 +		OUTSTANDING
  1.2360 +
  1.2361 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2362 +		OUTSTANDING
  1.2363 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2364 +		COMMAND		busDevComm	Close
  1.2365 +		COMMAND		config		~
  1.2366 +		COMMAND		configSave	~
  1.2367 +		COMMAND		busDevComm	~
  1.2368 +	END_TEST_BLOCK
  1.2369 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1005
  1.2370 +
  1.2371 +
  1.2372 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1006
  1.2373 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1006
  1.2374 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2375 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.2376 +//!				RBusDevComm::QueryReceiveBuffer();
  1.2377 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2378 +//! @SYMAuthor			Oleg Kuznetsov
  1.2379 +//! @SYMCreationDate		10/04/2008
  1.2380 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2381 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2382 +//!					port		= com<port>
  1.2383 +//!					baud rate	= 9600
  1.2384 +//!					data bits	= 8
  1.2385 +//!					stop bits	= 1
  1.2386 +//!					parity		= none
  1.2387 +//!					flow control	= none
  1.2388 +//!				2. Change configuration
  1.2389 +//!					baud rate	= <baud>
  1.2390 +//!					data bits	= 8
  1.2391 +//!					stop bits	= 2
  1.2392 +//!					parity		= even
  1.2393 +//!					flow control	= none
  1.2394 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.2395 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.2396 +//!				5. Restore configuration
  1.2397 +//!				6. Destroy the object
  1.2398 +//! @SYMTestStatus		Implemented
  1.2399 +//! @SYMTestPriority		High
  1.2400 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2401 +//! @SYMTestType		CIT
  1.2402 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2403 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2404 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2405 +		CREATE_OBJECT	TCommConfigV01	config
  1.2406 +		COMMAND		busDevComm	new
  1.2407 +		COMMAND		configSave	new
  1.2408 +		COMMAND		config		new
  1.2409 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2410 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2411 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2412 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2413 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2414 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2415 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2416 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2417 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2418 +
  1.2419 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2420 +		OUTSTANDING
  1.2421 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2422 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2423 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2424 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2425 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2426 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2427 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2428 +		OUTSTANDING
  1.2429 +
  1.2430 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.2431 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.2432 +		OUTSTANDING
  1.2433 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.2434 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.2435 +		OUTSTANDING
  1.2436 +
  1.2437 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2438 +		OUTSTANDING
  1.2439 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2440 +		COMMAND		busDevComm	Close
  1.2441 +		COMMAND		config		~
  1.2442 +		COMMAND		configSave	~
  1.2443 +		COMMAND		busDevComm	~
  1.2444 +	END_TEST_BLOCK
  1.2445 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1006
  1.2446 +
  1.2447 +
  1.2448 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1007
  1.2449 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1007
  1.2450 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2451 +//!				RBusDevComm::WriteCancel();
  1.2452 +//!				RBusDevComm::ResetBuffers()
  1.2453 +//! @SYMAuthor			Oleg Kuznetsov
  1.2454 +//! @SYMCreationDate		10/04/2008
  1.2455 +//! @SYMTestCaseDesc		Cancel a write request
  1.2456 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2457 +//!					port		= com<port>
  1.2458 +//!					baud rate	= 9600
  1.2459 +//!					data bits	= 8
  1.2460 +//!					stop bits	= 1
  1.2461 +//!					parity		= none
  1.2462 +//!					flow control	= none
  1.2463 +//!				2. Change configuration
  1.2464 +//!					baud rate	= <baud>
  1.2465 +//!					data bits	= 8
  1.2466 +//!					stop bits	= 2
  1.2467 +//!					parity		= even
  1.2468 +//!					flow control	= none
  1.2469 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.2470 +//!				4. Restore configuration
  1.2471 +//!				5. Destroy the object
  1.2472 +//! @SYMTestStatus		Implemented
  1.2473 +//! @SYMTestPriority		High
  1.2474 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.2475 +//! @SYMTestType		CIT
  1.2476 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2477 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.2478 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.2479 +		CREATE_OBJECT		TCommConfigV01	config
  1.2480 +		COMMAND			busDevComm	new
  1.2481 +		COMMAND			configSave	new
  1.2482 +		COMMAND			config		new
  1.2483 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2484 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2485 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2486 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2487 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2488 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2489 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2490 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2491 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2492 +
  1.2493 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2494 +		OUTSTANDING
  1.2495 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.2496 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.2497 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop2
  1.2498 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2499 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2500 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2501 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2502 +		OUTSTANDING
  1.2503 +
  1.2504 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.2505 +		COMMAND			busDevComm	WriteCancel
  1.2506 +		OUTSTANDING
  1.2507 +		COMMAND			busDevComm	ResetBuffers
  1.2508 +
  1.2509 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2510 +		OUTSTANDING
  1.2511 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2512 +		COMMAND			busDevComm	Close
  1.2513 +		COMMAND			config		~
  1.2514 +		COMMAND			configSave	~
  1.2515 +		COMMAND			busDevComm	~
  1.2516 +	END_TEST_BLOCK
  1.2517 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1007
  1.2518 +
  1.2519 +
  1.2520 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1008
  1.2521 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1008
  1.2522 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.2523 +//! @SYMAuthor			Oleg Kuznetsov
  1.2524 +//! @SYMCreationDate		10/04/2008
  1.2525 +//! @SYMTestCaseDesc		Break the connection for a period
  1.2526 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2527 +//!					port		= com<port>
  1.2528 +//!					baud rate	= 9600
  1.2529 +//!					data bits	= 8
  1.2530 +//!					stop bits	= 1
  1.2531 +//!					parity		= none
  1.2532 +//!					flow control	= none
  1.2533 +//!				2. Change configuration
  1.2534 +//!					baud rate	= <baud>
  1.2535 +//!					data bits	= 8
  1.2536 +//!					stop bits	= 2
  1.2537 +//!					parity		= even
  1.2538 +//!					flow control	= none
  1.2539 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.2540 +//!				4. Restore configuration
  1.2541 +//!				5. Destroy the object
  1.2542 +//! @SYMTestStatus		Implemented
  1.2543 +//! @SYMTestPriority		High
  1.2544 +//! @SYMTestExpectedResults	Break should run with no errors
  1.2545 +//! @SYMTestType		CIT
  1.2546 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2547 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2548 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2549 +		CREATE_OBJECT	TCommConfigV01	config
  1.2550 +		COMMAND		busDevComm	new
  1.2551 +		COMMAND		configSave	new
  1.2552 +		COMMAND		config		new
  1.2553 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2554 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2555 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2556 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2557 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2558 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2559 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2560 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2561 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2562 +
  1.2563 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2564 +		OUTSTANDING
  1.2565 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2566 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2567 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2568 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2569 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2570 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2571 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2572 +		OUTSTANDING
  1.2573 +
  1.2574 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.2575 +		OUTSTANDING
  1.2576 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.2577 +		OUTSTANDING
  1.2578 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.2579 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.2580 +		OUTSTANDING
  1.2581 +
  1.2582 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2583 +		OUTSTANDING
  1.2584 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2585 +		COMMAND		busDevComm	Close
  1.2586 +		COMMAND		config		~
  1.2587 +		COMMAND		configSave	~
  1.2588 +		COMMAND		busDevComm	~
  1.2589 +	END_TEST_BLOCK
  1.2590 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1008
  1.2591 +
  1.2592 +
  1.2593 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1009
  1.2594 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1009
  1.2595 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.2596 +//!				RBusDevComm::BreakCancel()
  1.2597 +//! @SYMAuthor			Oleg Kuznetsov
  1.2598 +//! @SYMCreationDate		10/04/2008
  1.2599 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.2600 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2601 +//!					port		= com<port>
  1.2602 +//!					baud rate	= 9600
  1.2603 +//!					data bits	= 8
  1.2604 +//!					stop bits	= 1
  1.2605 +//!					parity		= none
  1.2606 +//!					flow control	= none
  1.2607 +//!				2. Change configuration
  1.2608 +//!					baud rate	= <baud>
  1.2609 +//!					data bits	= 8
  1.2610 +//!					stop bits	= 2
  1.2611 +//!					parity		= even
  1.2612 +//!					flow control	= none
  1.2613 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.2614 +//!				4. Restore configuration
  1.2615 +//!				5. Destroy the object
  1.2616 +//! @SYMTestStatus		Implemented
  1.2617 +//! @SYMTestPriority		High
  1.2618 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.2619 +//! @SYMTestType		CIT
  1.2620 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2621 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.2622 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.2623 +		CREATE_OBJECT		TCommConfigV01	config
  1.2624 +		COMMAND			busDevComm	new
  1.2625 +		COMMAND			configSave	new
  1.2626 +		COMMAND			config		new
  1.2627 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2628 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2629 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2630 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2631 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2632 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2633 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2634 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2635 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2636 +
  1.2637 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-none-Write_config
  1.2638 +		OUTSTANDING
  1.2639 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2640 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2641 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.2642 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.2643 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2644 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2645 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2646 +		OUTSTANDING
  1.2647 +
  1.2648 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.2649 +		OUTSTANDING
  1.2650 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.2651 +		COMMAND			busDevComm	BreakCancel
  1.2652 +		OUTSTANDING
  1.2653 +
  1.2654 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2655 +		OUTSTANDING
  1.2656 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2657 +		COMMAND			busDevComm	Close
  1.2658 +		COMMAND			config		~
  1.2659 +		COMMAND			configSave	~
  1.2660 +		COMMAND			busDevComm	~
  1.2661 +	END_TEST_BLOCK
  1.2662 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_none-1009
  1.2663 +
  1.2664 +
  1.2665 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1001
  1.2666 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1001
  1.2667 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2668 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2669 +//! @SYMAuthor			Oleg Kuznetsov
  1.2670 +//! @SYMCreationDate		10/04/2008
  1.2671 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2672 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2673 +//!					port		= com<port>
  1.2674 +//!					baud rate	= 9600
  1.2675 +//!					data bits	= 8
  1.2676 +//!					stop bits	= 1
  1.2677 +//!					parity		= none
  1.2678 +//!					flow control	= none
  1.2679 +//!				2. Change configuration
  1.2680 +//!					baud rate	= <baud>
  1.2681 +//!					data bits	= 8
  1.2682 +//!					stop bits	= 1
  1.2683 +//!					parity		= odd
  1.2684 +//!					flow control	= none
  1.2685 +//!				3. Send data to com port without specifying the length of the data
  1.2686 +//!				4. Read data from com port specifying the length of the data
  1.2687 +//!				5. Restore configuration
  1.2688 +//!				6. Destroy the object
  1.2689 +//! @SYMTestStatus		Implemented
  1.2690 +//! @SYMTestPriority		High
  1.2691 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2692 +//! @SYMTestType		CIT
  1.2693 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2694 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2695 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2696 +		CREATE_OBJECT	TCommConfigV01	config
  1.2697 +		COMMAND		busDevComm	new
  1.2698 +		COMMAND		configSave	new
  1.2699 +		COMMAND		config		new
  1.2700 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2701 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2702 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2703 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2704 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2705 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2706 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2707 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2708 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2709 +
  1.2710 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.2711 +		OUTSTANDING
  1.2712 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2713 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2714 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.2715 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.2716 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2717 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2718 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2719 +		OUTSTANDING
  1.2720 +
  1.2721 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.2722 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.2723 +		OUTSTANDING
  1.2724 +
  1.2725 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2726 +		OUTSTANDING
  1.2727 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2728 +		COMMAND		busDevComm	Close
  1.2729 +		COMMAND		config		~
  1.2730 +		COMMAND		configSave	~
  1.2731 +		COMMAND		busDevComm	~
  1.2732 +	END_TEST_BLOCK
  1.2733 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1001
  1.2734 +
  1.2735 +
  1.2736 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1002
  1.2737 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1002
  1.2738 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.2739 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.2740 +//!				RBusDevComm::QueryReceiveBuffer();
  1.2741 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2742 +//! @SYMAuthor			Oleg Kuznetsov
  1.2743 +//! @SYMCreationDate		10/04/2008
  1.2744 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2745 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2746 +//!					port		= com<port>
  1.2747 +//!					baud rate	= 9600
  1.2748 +//!					data bits	= 8
  1.2749 +//!					stop bits	= 1
  1.2750 +//!					parity		= none
  1.2751 +//!					flow control	= none
  1.2752 +//!				2. Change configuration
  1.2753 +//!					baud rate	= <baud>
  1.2754 +//!					data bits	= 8
  1.2755 +//!					stop bits	= 1
  1.2756 +//!					parity		= odd
  1.2757 +//!					flow control	= none
  1.2758 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.2759 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.2760 +//!				5. Restore configuration
  1.2761 +//!				6. Destroy the object
  1.2762 +//! @SYMTestStatus		Implemented
  1.2763 +//! @SYMTestPriority		High
  1.2764 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2765 +//! @SYMTestType		CIT
  1.2766 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2767 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2768 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2769 +		CREATE_OBJECT	TCommConfigV01	config
  1.2770 +		COMMAND		busDevComm	new
  1.2771 +		COMMAND		configSave	new
  1.2772 +		COMMAND		config		new
  1.2773 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2774 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2775 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2776 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2777 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2778 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2779 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2780 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2781 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2782 +
  1.2783 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.2784 +		OUTSTANDING
  1.2785 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2786 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2787 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.2788 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.2789 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2790 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2791 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2792 +		OUTSTANDING
  1.2793 +
  1.2794 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.2795 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.2796 +		OUTSTANDING
  1.2797 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.2798 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.2799 +		OUTSTANDING
  1.2800 +
  1.2801 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2802 +		OUTSTANDING
  1.2803 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2804 +		COMMAND		busDevComm	Close
  1.2805 +		COMMAND		config		~
  1.2806 +		COMMAND		configSave	~
  1.2807 +		COMMAND		busDevComm	~
  1.2808 +	END_TEST_BLOCK
  1.2809 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1002
  1.2810 +
  1.2811 +
  1.2812 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1003
  1.2813 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1003
  1.2814 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2815 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.2816 +//! @SYMAuthor			Oleg Kuznetsov
  1.2817 +//! @SYMCreationDate		10/04/2008
  1.2818 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2819 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2820 +//!					port		= com<port>
  1.2821 +//!					baud rate	= 9600
  1.2822 +//!					data bits	= 8
  1.2823 +//!					stop bits	= 1
  1.2824 +//!					parity		= none
  1.2825 +//!					flow control	= none
  1.2826 +//!				2. Change configuration
  1.2827 +//!					baud rate	= <baud>
  1.2828 +//!					data bits	= 8
  1.2829 +//!					stop bits	= 1
  1.2830 +//!					parity		= odd
  1.2831 +//!					flow control	= none
  1.2832 +//!				3. Send data to com port without specifying the length of the data
  1.2833 +//!				4. Read data from com port without specifying the length of the data
  1.2834 +//!				5. Restore configuration
  1.2835 +//!				6. Destroy the object
  1.2836 +//! @SYMTestStatus		Implemented
  1.2837 +//! @SYMTestPriority		High
  1.2838 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2839 +//! @SYMTestType		CIT
  1.2840 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2841 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2842 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2843 +		CREATE_OBJECT	TCommConfigV01	config
  1.2844 +		COMMAND		busDevComm	new
  1.2845 +		COMMAND		configSave	new
  1.2846 +		COMMAND		config		new
  1.2847 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2848 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2849 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2850 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2851 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2852 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2853 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2854 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2855 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2856 +
  1.2857 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.2858 +		OUTSTANDING
  1.2859 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2860 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2861 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.2862 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.2863 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2864 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2865 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2866 +		OUTSTANDING
  1.2867 +
  1.2868 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.2869 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.2870 +		OUTSTANDING
  1.2871 +
  1.2872 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2873 +		OUTSTANDING
  1.2874 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2875 +		COMMAND		busDevComm	Close
  1.2876 +		COMMAND		config		~
  1.2877 +		COMMAND		configSave	~
  1.2878 +		COMMAND		busDevComm	~
  1.2879 +	END_TEST_BLOCK
  1.2880 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1003
  1.2881 +
  1.2882 +
  1.2883 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1004
  1.2884 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1004
  1.2885 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.2886 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.2887 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.2888 +//! @SYMAuthor			Oleg Kuznetsov
  1.2889 +//! @SYMCreationDate		10/04/2008
  1.2890 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2891 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2892 +//!					port		= com<port>
  1.2893 +//!					baud rate	= 9600
  1.2894 +//!					data bits	= 8
  1.2895 +//!					stop bits	= 1
  1.2896 +//!					parity		= none
  1.2897 +//!					flow control	= none
  1.2898 +//!				2. Change configuration
  1.2899 +//!					baud rate	= <baud>
  1.2900 +//!					data bits	= 8
  1.2901 +//!					stop bits	= 1
  1.2902 +//!					parity		= odd
  1.2903 +//!					flow control	= none
  1.2904 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.2905 +//!				4. Read data from com port without specifying the length of the data
  1.2906 +//!				5. Restore configuration
  1.2907 +//!				6. Destroy the object
  1.2908 +//! @SYMTestStatus		Implemented
  1.2909 +//! @SYMTestPriority		High
  1.2910 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2911 +//! @SYMTestType		CIT
  1.2912 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2913 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2914 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2915 +		CREATE_OBJECT	TCommConfigV01	config
  1.2916 +		COMMAND		busDevComm	new
  1.2917 +		COMMAND		configSave	new
  1.2918 +		COMMAND		config		new
  1.2919 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2920 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2921 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2922 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2923 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2924 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2925 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2926 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.2927 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2928 +
  1.2929 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.2930 +		OUTSTANDING
  1.2931 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.2932 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.2933 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.2934 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.2935 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.2936 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2937 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.2938 +		OUTSTANDING
  1.2939 +
  1.2940 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.2941 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.2942 +		OUTSTANDING
  1.2943 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.2944 +		OUTSTANDING
  1.2945 +
  1.2946 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.2947 +		OUTSTANDING
  1.2948 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2949 +		COMMAND		busDevComm	Close
  1.2950 +		COMMAND		config		~
  1.2951 +		COMMAND		configSave	~
  1.2952 +		COMMAND		busDevComm	~
  1.2953 +	END_TEST_BLOCK
  1.2954 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1004
  1.2955 +
  1.2956 +
  1.2957 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1005
  1.2958 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1005
  1.2959 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.2960 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.2961 +//! @SYMAuthor			Oleg Kuznetsov
  1.2962 +//! @SYMCreationDate		10/04/2008
  1.2963 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.2964 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.2965 +//!					port		= com<port>
  1.2966 +//!					baud rate	= 9600
  1.2967 +//!					data bits	= 8
  1.2968 +//!					stop bits	= 1
  1.2969 +//!					parity		= none
  1.2970 +//!					flow control	= none
  1.2971 +//!				2. Change configuration
  1.2972 +//!					baud rate	= <baud>
  1.2973 +//!					data bits	= 8
  1.2974 +//!					stop bits	= 1
  1.2975 +//!					parity		= odd
  1.2976 +//!					flow control	= none
  1.2977 +//!				3. Send data to com port without specifying the length of the data
  1.2978 +//!				4. ReadOneOrMore data from com port
  1.2979 +//!				5. Restore configuration
  1.2980 +//!				6. Destroy the object
  1.2981 +//! @SYMTestStatus		Implemented
  1.2982 +//! @SYMTestPriority		High
  1.2983 +//! @SYMTestExpectedResults	Data read should be as expected
  1.2984 +//! @SYMTestType		CIT
  1.2985 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.2986 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.2987 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.2988 +		CREATE_OBJECT	TCommConfigV01	config
  1.2989 +		COMMAND		busDevComm	new
  1.2990 +		COMMAND		configSave	new
  1.2991 +		COMMAND		config		new
  1.2992 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.2993 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.2994 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.2995 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.2996 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.2997 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.2998 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.2999 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3000 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3001 +
  1.3002 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.3003 +		OUTSTANDING
  1.3004 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3005 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3006 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.3007 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3008 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3009 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3010 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3011 +		OUTSTANDING
  1.3012 +
  1.3013 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.3014 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.3015 +		OUTSTANDING
  1.3016 +
  1.3017 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3018 +		OUTSTANDING
  1.3019 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3020 +		COMMAND		busDevComm	Close
  1.3021 +		COMMAND		config		~
  1.3022 +		COMMAND		configSave	~
  1.3023 +		COMMAND		busDevComm	~
  1.3024 +	END_TEST_BLOCK
  1.3025 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1005
  1.3026 +
  1.3027 +
  1.3028 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1006
  1.3029 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1006
  1.3030 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3031 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.3032 +//!				RBusDevComm::QueryReceiveBuffer();
  1.3033 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3034 +//! @SYMAuthor			Oleg Kuznetsov
  1.3035 +//! @SYMCreationDate		10/04/2008
  1.3036 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3037 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3038 +//!					port		= com<port>
  1.3039 +//!					baud rate	= 9600
  1.3040 +//!					data bits	= 8
  1.3041 +//!					stop bits	= 1
  1.3042 +//!					parity		= none
  1.3043 +//!					flow control	= none
  1.3044 +//!				2. Change configuration
  1.3045 +//!					baud rate	= <baud>
  1.3046 +//!					data bits	= 8
  1.3047 +//!					stop bits	= 1
  1.3048 +//!					parity		= odd
  1.3049 +//!					flow control	= none
  1.3050 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.3051 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.3052 +//!				5. Restore configuration
  1.3053 +//!				6. Destroy the object
  1.3054 +//! @SYMTestStatus		Implemented
  1.3055 +//! @SYMTestPriority		High
  1.3056 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3057 +//! @SYMTestType		CIT
  1.3058 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3059 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3060 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3061 +		CREATE_OBJECT	TCommConfigV01	config
  1.3062 +		COMMAND		busDevComm	new
  1.3063 +		COMMAND		configSave	new
  1.3064 +		COMMAND		config		new
  1.3065 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3066 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3067 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3068 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3069 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3070 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3071 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3072 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3073 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3074 +
  1.3075 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.3076 +		OUTSTANDING
  1.3077 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3078 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3079 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.3080 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3081 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3082 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3083 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3084 +		OUTSTANDING
  1.3085 +
  1.3086 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.3087 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.3088 +		OUTSTANDING
  1.3089 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.3090 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.3091 +		OUTSTANDING
  1.3092 +
  1.3093 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3094 +		OUTSTANDING
  1.3095 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3096 +		COMMAND		busDevComm	Close
  1.3097 +		COMMAND		config		~
  1.3098 +		COMMAND		configSave	~
  1.3099 +		COMMAND		busDevComm	~
  1.3100 +	END_TEST_BLOCK
  1.3101 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1006
  1.3102 +
  1.3103 +
  1.3104 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1007
  1.3105 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1007
  1.3106 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3107 +//!				RBusDevComm::WriteCancel();
  1.3108 +//!				RBusDevComm::ResetBuffers()
  1.3109 +//! @SYMAuthor			Oleg Kuznetsov
  1.3110 +//! @SYMCreationDate		10/04/2008
  1.3111 +//! @SYMTestCaseDesc		Cancel a write request
  1.3112 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3113 +//!					port		= com<port>
  1.3114 +//!					baud rate	= 9600
  1.3115 +//!					data bits	= 8
  1.3116 +//!					stop bits	= 1
  1.3117 +//!					parity		= none
  1.3118 +//!					flow control	= none
  1.3119 +//!				2. Change configuration
  1.3120 +//!					baud rate	= <baud>
  1.3121 +//!					data bits	= 8
  1.3122 +//!					stop bits	= 1
  1.3123 +//!					parity		= odd
  1.3124 +//!					flow control	= none
  1.3125 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.3126 +//!				4. Restore configuration
  1.3127 +//!				5. Destroy the object
  1.3128 +//! @SYMTestStatus		Implemented
  1.3129 +//! @SYMTestPriority		High
  1.3130 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.3131 +//! @SYMTestType		CIT
  1.3132 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3133 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.3134 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.3135 +		CREATE_OBJECT		TCommConfigV01	config
  1.3136 +		COMMAND			busDevComm	new
  1.3137 +		COMMAND			configSave	new
  1.3138 +		COMMAND			config		new
  1.3139 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3140 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3141 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3142 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3143 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3144 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3145 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3146 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3147 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3148 +
  1.3149 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.3150 +		OUTSTANDING
  1.3151 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.3152 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.3153 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
  1.3154 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3155 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3156 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3157 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3158 +		OUTSTANDING
  1.3159 +
  1.3160 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.3161 +		COMMAND			busDevComm	WriteCancel
  1.3162 +		OUTSTANDING
  1.3163 +		COMMAND			busDevComm	ResetBuffers
  1.3164 +
  1.3165 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3166 +		OUTSTANDING
  1.3167 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3168 +		COMMAND			busDevComm	Close
  1.3169 +		COMMAND			config		~
  1.3170 +		COMMAND			configSave	~
  1.3171 +		COMMAND			busDevComm	~
  1.3172 +	END_TEST_BLOCK
  1.3173 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1007
  1.3174 +
  1.3175 +
  1.3176 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1008
  1.3177 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1008
  1.3178 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.3179 +//! @SYMAuthor			Oleg Kuznetsov
  1.3180 +//! @SYMCreationDate		10/04/2008
  1.3181 +//! @SYMTestCaseDesc		Break the connection for a period
  1.3182 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3183 +//!					port		= com<port>
  1.3184 +//!					baud rate	= 9600
  1.3185 +//!					data bits	= 8
  1.3186 +//!					stop bits	= 1
  1.3187 +//!					parity		= none
  1.3188 +//!					flow control	= none
  1.3189 +//!				2. Change configuration
  1.3190 +//!					baud rate	= <baud>
  1.3191 +//!					data bits	= 8
  1.3192 +//!					stop bits	= 1
  1.3193 +//!					parity		= odd
  1.3194 +//!					flow control	= none
  1.3195 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.3196 +//!				4. Restore configuration
  1.3197 +//!				5. Destroy the object
  1.3198 +//! @SYMTestStatus		Implemented
  1.3199 +//! @SYMTestPriority		High
  1.3200 +//! @SYMTestExpectedResults	Break should run with no errors
  1.3201 +//! @SYMTestType		CIT
  1.3202 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3203 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3204 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3205 +		CREATE_OBJECT	TCommConfigV01	config
  1.3206 +		COMMAND		busDevComm	new
  1.3207 +		COMMAND		configSave	new
  1.3208 +		COMMAND		config		new
  1.3209 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3210 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3211 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3212 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3213 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3214 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3215 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3216 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3217 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3218 +
  1.3219 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.3220 +		OUTSTANDING
  1.3221 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3222 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3223 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.3224 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3225 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3226 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3227 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3228 +		OUTSTANDING
  1.3229 +
  1.3230 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.3231 +		OUTSTANDING
  1.3232 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.3233 +		OUTSTANDING
  1.3234 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.3235 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.3236 +		OUTSTANDING
  1.3237 +
  1.3238 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3239 +		OUTSTANDING
  1.3240 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3241 +		COMMAND		busDevComm	Close
  1.3242 +		COMMAND		config		~
  1.3243 +		COMMAND		configSave	~
  1.3244 +		COMMAND		busDevComm	~
  1.3245 +	END_TEST_BLOCK
  1.3246 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1008
  1.3247 +
  1.3248 +
  1.3249 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1009
  1.3250 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1009
  1.3251 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.3252 +//!				RBusDevComm::BreakCancel()
  1.3253 +//! @SYMAuthor			Oleg Kuznetsov
  1.3254 +//! @SYMCreationDate		10/04/2008
  1.3255 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.3256 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3257 +//!					port		= com<port>
  1.3258 +//!					baud rate	= 9600
  1.3259 +//!					data bits	= 8
  1.3260 +//!					stop bits	= 1
  1.3261 +//!					parity		= none
  1.3262 +//!					flow control	= none
  1.3263 +//!				2. Change configuration
  1.3264 +//!					baud rate	= <baud>
  1.3265 +//!					data bits	= 8
  1.3266 +//!					stop bits	= 1
  1.3267 +//!					parity		= odd
  1.3268 +//!					flow control	= none
  1.3269 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.3270 +//!				4. Restore configuration
  1.3271 +//!				5. Destroy the object
  1.3272 +//! @SYMTestStatus		Implemented
  1.3273 +//! @SYMTestPriority		High
  1.3274 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.3275 +//! @SYMTestType		CIT
  1.3276 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3277 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.3278 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.3279 +		CREATE_OBJECT		TCommConfigV01	config
  1.3280 +		COMMAND			busDevComm	new
  1.3281 +		COMMAND			configSave	new
  1.3282 +		COMMAND			config		new
  1.3283 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3284 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3285 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3286 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3287 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3288 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3289 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3290 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3291 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3292 +
  1.3293 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-none-Write_config
  1.3294 +		OUTSTANDING
  1.3295 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3296 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3297 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.3298 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3299 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3300 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3301 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3302 +		OUTSTANDING
  1.3303 +
  1.3304 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.3305 +		OUTSTANDING
  1.3306 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.3307 +		COMMAND			busDevComm	BreakCancel
  1.3308 +		OUTSTANDING
  1.3309 +
  1.3310 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3311 +		OUTSTANDING
  1.3312 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3313 +		COMMAND			busDevComm	Close
  1.3314 +		COMMAND			config		~
  1.3315 +		COMMAND			configSave	~
  1.3316 +		COMMAND			busDevComm	~
  1.3317 +	END_TEST_BLOCK
  1.3318 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_none-1009
  1.3319 +
  1.3320 +
  1.3321 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1001
  1.3322 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1001
  1.3323 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3324 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3325 +//! @SYMAuthor			Oleg Kuznetsov
  1.3326 +//! @SYMCreationDate		10/04/2008
  1.3327 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3328 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3329 +//!					port		= com<port>
  1.3330 +//!					baud rate	= 9600
  1.3331 +//!					data bits	= 8
  1.3332 +//!					stop bits	= 1
  1.3333 +//!					parity		= none
  1.3334 +//!					flow control	= none
  1.3335 +//!				2. Change configuration
  1.3336 +//!					baud rate	= <baud>
  1.3337 +//!					data bits	= 8
  1.3338 +//!					stop bits	= 2
  1.3339 +//!					parity		= odd
  1.3340 +//!					flow control	= none
  1.3341 +//!				3. Send data to com port without specifying the length of the data
  1.3342 +//!				4. Read data from com port specifying the length of the data
  1.3343 +//!				5. Restore configuration
  1.3344 +//!				6. Destroy the object
  1.3345 +//! @SYMTestStatus		Implemented
  1.3346 +//! @SYMTestPriority		High
  1.3347 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3348 +//! @SYMTestType		CIT
  1.3349 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3350 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3351 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3352 +		CREATE_OBJECT	TCommConfigV01	config
  1.3353 +		COMMAND		busDevComm	new
  1.3354 +		COMMAND		configSave	new
  1.3355 +		COMMAND		config		new
  1.3356 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3357 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3358 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3359 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3360 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3361 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3362 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3363 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3364 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3365 +
  1.3366 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3367 +		OUTSTANDING
  1.3368 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3369 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3370 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3371 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3372 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3373 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3374 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3375 +		OUTSTANDING
  1.3376 +
  1.3377 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.3378 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.3379 +		OUTSTANDING
  1.3380 +
  1.3381 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3382 +		OUTSTANDING
  1.3383 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3384 +		COMMAND		busDevComm	Close
  1.3385 +		COMMAND		config		~
  1.3386 +		COMMAND		configSave	~
  1.3387 +		COMMAND		busDevComm	~
  1.3388 +	END_TEST_BLOCK
  1.3389 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1001
  1.3390 +
  1.3391 +
  1.3392 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1002
  1.3393 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1002
  1.3394 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.3395 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.3396 +//!				RBusDevComm::QueryReceiveBuffer();
  1.3397 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3398 +//! @SYMAuthor			Oleg Kuznetsov
  1.3399 +//! @SYMCreationDate		10/04/2008
  1.3400 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3401 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3402 +//!					port		= com<port>
  1.3403 +//!					baud rate	= 9600
  1.3404 +//!					data bits	= 8
  1.3405 +//!					stop bits	= 1
  1.3406 +//!					parity		= none
  1.3407 +//!					flow control	= none
  1.3408 +//!				2. Change configuration
  1.3409 +//!					baud rate	= <baud>
  1.3410 +//!					data bits	= 8
  1.3411 +//!					stop bits	= 2
  1.3412 +//!					parity		= odd
  1.3413 +//!					flow control	= none
  1.3414 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.3415 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.3416 +//!				5. Restore configuration
  1.3417 +//!				6. Destroy the object
  1.3418 +//! @SYMTestStatus		Implemented
  1.3419 +//! @SYMTestPriority		High
  1.3420 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3421 +//! @SYMTestType		CIT
  1.3422 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3423 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3424 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3425 +		CREATE_OBJECT	TCommConfigV01	config
  1.3426 +		COMMAND		busDevComm	new
  1.3427 +		COMMAND		configSave	new
  1.3428 +		COMMAND		config		new
  1.3429 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3430 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3431 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3432 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3433 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3434 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3435 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3436 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3437 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3438 +
  1.3439 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3440 +		OUTSTANDING
  1.3441 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3442 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3443 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3444 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3445 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3446 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3447 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3448 +		OUTSTANDING
  1.3449 +
  1.3450 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.3451 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.3452 +		OUTSTANDING
  1.3453 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.3454 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.3455 +		OUTSTANDING
  1.3456 +
  1.3457 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3458 +		OUTSTANDING
  1.3459 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3460 +		COMMAND		busDevComm	Close
  1.3461 +		COMMAND		config		~
  1.3462 +		COMMAND		configSave	~
  1.3463 +		COMMAND		busDevComm	~
  1.3464 +	END_TEST_BLOCK
  1.3465 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1002
  1.3466 +
  1.3467 +
  1.3468 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1003
  1.3469 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1003
  1.3470 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3471 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.3472 +//! @SYMAuthor			Oleg Kuznetsov
  1.3473 +//! @SYMCreationDate		10/04/2008
  1.3474 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3475 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3476 +//!					port		= com<port>
  1.3477 +//!					baud rate	= 9600
  1.3478 +//!					data bits	= 8
  1.3479 +//!					stop bits	= 1
  1.3480 +//!					parity		= none
  1.3481 +//!					flow control	= none
  1.3482 +//!				2. Change configuration
  1.3483 +//!					baud rate	= <baud>
  1.3484 +//!					data bits	= 8
  1.3485 +//!					stop bits	= 2
  1.3486 +//!					parity		= odd
  1.3487 +//!					flow control	= none
  1.3488 +//!				3. Send data to com port without specifying the length of the data
  1.3489 +//!				4. Read data from com port without specifying the length of the data
  1.3490 +//!				5. Restore configuration
  1.3491 +//!				6. Destroy the object
  1.3492 +//! @SYMTestStatus		Implemented
  1.3493 +//! @SYMTestPriority		High
  1.3494 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3495 +//! @SYMTestType		CIT
  1.3496 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3497 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3498 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3499 +		CREATE_OBJECT	TCommConfigV01	config
  1.3500 +		COMMAND		busDevComm	new
  1.3501 +		COMMAND		configSave	new
  1.3502 +		COMMAND		config		new
  1.3503 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3504 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3505 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3506 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3507 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3508 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3509 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3510 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3511 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3512 +
  1.3513 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3514 +		OUTSTANDING
  1.3515 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3516 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3517 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3518 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3519 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3520 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3521 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3522 +		OUTSTANDING
  1.3523 +
  1.3524 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.3525 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.3526 +		OUTSTANDING
  1.3527 +
  1.3528 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3529 +		OUTSTANDING
  1.3530 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3531 +		COMMAND		busDevComm	Close
  1.3532 +		COMMAND		config		~
  1.3533 +		COMMAND		configSave	~
  1.3534 +		COMMAND		busDevComm	~
  1.3535 +	END_TEST_BLOCK
  1.3536 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1003
  1.3537 +
  1.3538 +
  1.3539 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1004
  1.3540 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1004
  1.3541 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.3542 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.3543 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.3544 +//! @SYMAuthor			Oleg Kuznetsov
  1.3545 +//! @SYMCreationDate		10/04/2008
  1.3546 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3547 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3548 +//!					port		= com<port>
  1.3549 +//!					baud rate	= 9600
  1.3550 +//!					data bits	= 8
  1.3551 +//!					stop bits	= 1
  1.3552 +//!					parity		= none
  1.3553 +//!					flow control	= none
  1.3554 +//!				2. Change configuration
  1.3555 +//!					baud rate	= <baud>
  1.3556 +//!					data bits	= 8
  1.3557 +//!					stop bits	= 2
  1.3558 +//!					parity		= odd
  1.3559 +//!					flow control	= none
  1.3560 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.3561 +//!				4. Read data from com port without specifying the length of the data
  1.3562 +//!				5. Restore configuration
  1.3563 +//!				6. Destroy the object
  1.3564 +//! @SYMTestStatus		Implemented
  1.3565 +//! @SYMTestPriority		High
  1.3566 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3567 +//! @SYMTestType		CIT
  1.3568 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3569 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3570 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3571 +		CREATE_OBJECT	TCommConfigV01	config
  1.3572 +		COMMAND		busDevComm	new
  1.3573 +		COMMAND		configSave	new
  1.3574 +		COMMAND		config		new
  1.3575 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3576 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3577 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3578 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3579 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3580 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3581 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3582 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3583 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3584 +
  1.3585 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3586 +		OUTSTANDING
  1.3587 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3588 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3589 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3590 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3591 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3592 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3593 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3594 +		OUTSTANDING
  1.3595 +
  1.3596 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.3597 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.3598 +		OUTSTANDING
  1.3599 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.3600 +		OUTSTANDING
  1.3601 +
  1.3602 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3603 +		OUTSTANDING
  1.3604 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3605 +		COMMAND		busDevComm	Close
  1.3606 +		COMMAND		config		~
  1.3607 +		COMMAND		configSave	~
  1.3608 +		COMMAND		busDevComm	~
  1.3609 +	END_TEST_BLOCK
  1.3610 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1004
  1.3611 +
  1.3612 +
  1.3613 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1005
  1.3614 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1005
  1.3615 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3616 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3617 +//! @SYMAuthor			Oleg Kuznetsov
  1.3618 +//! @SYMCreationDate		10/04/2008
  1.3619 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3620 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3621 +//!					port		= com<port>
  1.3622 +//!					baud rate	= 9600
  1.3623 +//!					data bits	= 8
  1.3624 +//!					stop bits	= 1
  1.3625 +//!					parity		= none
  1.3626 +//!					flow control	= none
  1.3627 +//!				2. Change configuration
  1.3628 +//!					baud rate	= <baud>
  1.3629 +//!					data bits	= 8
  1.3630 +//!					stop bits	= 2
  1.3631 +//!					parity		= odd
  1.3632 +//!					flow control	= none
  1.3633 +//!				3. Send data to com port without specifying the length of the data
  1.3634 +//!				4. ReadOneOrMore data from com port
  1.3635 +//!				5. Restore configuration
  1.3636 +//!				6. Destroy the object
  1.3637 +//! @SYMTestStatus		Implemented
  1.3638 +//! @SYMTestPriority		High
  1.3639 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3640 +//! @SYMTestType		CIT
  1.3641 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3642 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3643 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3644 +		CREATE_OBJECT	TCommConfigV01	config
  1.3645 +		COMMAND		busDevComm	new
  1.3646 +		COMMAND		configSave	new
  1.3647 +		COMMAND		config		new
  1.3648 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3649 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3650 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3651 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3652 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3653 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3654 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3655 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3656 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3657 +
  1.3658 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3659 +		OUTSTANDING
  1.3660 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3661 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3662 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3663 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3664 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3665 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3666 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3667 +		OUTSTANDING
  1.3668 +
  1.3669 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.3670 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.3671 +		OUTSTANDING
  1.3672 +
  1.3673 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3674 +		OUTSTANDING
  1.3675 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3676 +		COMMAND		busDevComm	Close
  1.3677 +		COMMAND		config		~
  1.3678 +		COMMAND		configSave	~
  1.3679 +		COMMAND		busDevComm	~
  1.3680 +	END_TEST_BLOCK
  1.3681 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1005
  1.3682 +
  1.3683 +
  1.3684 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1006
  1.3685 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1006
  1.3686 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3687 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.3688 +//!				RBusDevComm::QueryReceiveBuffer();
  1.3689 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3690 +//! @SYMAuthor			Oleg Kuznetsov
  1.3691 +//! @SYMCreationDate		10/04/2008
  1.3692 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3693 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3694 +//!					port		= com<port>
  1.3695 +//!					baud rate	= 9600
  1.3696 +//!					data bits	= 8
  1.3697 +//!					stop bits	= 1
  1.3698 +//!					parity		= none
  1.3699 +//!					flow control	= none
  1.3700 +//!				2. Change configuration
  1.3701 +//!					baud rate	= <baud>
  1.3702 +//!					data bits	= 8
  1.3703 +//!					stop bits	= 2
  1.3704 +//!					parity		= odd
  1.3705 +//!					flow control	= none
  1.3706 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.3707 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.3708 +//!				5. Restore configuration
  1.3709 +//!				6. Destroy the object
  1.3710 +//! @SYMTestStatus		Implemented
  1.3711 +//! @SYMTestPriority		High
  1.3712 +//! @SYMTestExpectedResults	Data read should be as expected
  1.3713 +//! @SYMTestType		CIT
  1.3714 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3715 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3716 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3717 +		CREATE_OBJECT	TCommConfigV01	config
  1.3718 +		COMMAND		busDevComm	new
  1.3719 +		COMMAND		configSave	new
  1.3720 +		COMMAND		config		new
  1.3721 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3722 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3723 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3724 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3725 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3726 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3727 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3728 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3729 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3730 +
  1.3731 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3732 +		OUTSTANDING
  1.3733 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3734 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3735 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3736 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3737 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3738 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3739 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3740 +		OUTSTANDING
  1.3741 +
  1.3742 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.3743 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.3744 +		OUTSTANDING
  1.3745 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.3746 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.3747 +		OUTSTANDING
  1.3748 +
  1.3749 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3750 +		OUTSTANDING
  1.3751 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3752 +		COMMAND		busDevComm	Close
  1.3753 +		COMMAND		config		~
  1.3754 +		COMMAND		configSave	~
  1.3755 +		COMMAND		busDevComm	~
  1.3756 +	END_TEST_BLOCK
  1.3757 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1006
  1.3758 +
  1.3759 +
  1.3760 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1007
  1.3761 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1007
  1.3762 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3763 +//!				RBusDevComm::WriteCancel();
  1.3764 +//!				RBusDevComm::ResetBuffers()
  1.3765 +//! @SYMAuthor			Oleg Kuznetsov
  1.3766 +//! @SYMCreationDate		10/04/2008
  1.3767 +//! @SYMTestCaseDesc		Cancel a write request
  1.3768 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3769 +//!					port		= com<port>
  1.3770 +//!					baud rate	= 9600
  1.3771 +//!					data bits	= 8
  1.3772 +//!					stop bits	= 1
  1.3773 +//!					parity		= none
  1.3774 +//!					flow control	= none
  1.3775 +//!				2. Change configuration
  1.3776 +//!					baud rate	= <baud>
  1.3777 +//!					data bits	= 8
  1.3778 +//!					stop bits	= 2
  1.3779 +//!					parity		= odd
  1.3780 +//!					flow control	= none
  1.3781 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.3782 +//!				4. Restore configuration
  1.3783 +//!				5. Destroy the object
  1.3784 +//! @SYMTestStatus		Implemented
  1.3785 +//! @SYMTestPriority		High
  1.3786 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.3787 +//! @SYMTestType		CIT
  1.3788 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3789 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.3790 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.3791 +		CREATE_OBJECT		TCommConfigV01	config
  1.3792 +		COMMAND			busDevComm	new
  1.3793 +		COMMAND			configSave	new
  1.3794 +		COMMAND			config		new
  1.3795 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3796 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3797 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3798 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3799 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3800 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3801 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3802 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3803 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3804 +
  1.3805 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3806 +		OUTSTANDING
  1.3807 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.3808 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.3809 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop2
  1.3810 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3811 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3812 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3813 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3814 +		OUTSTANDING
  1.3815 +
  1.3816 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.3817 +		COMMAND			busDevComm	WriteCancel
  1.3818 +		OUTSTANDING
  1.3819 +		COMMAND			busDevComm	ResetBuffers
  1.3820 +
  1.3821 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3822 +		OUTSTANDING
  1.3823 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3824 +		COMMAND			busDevComm	Close
  1.3825 +		COMMAND			config		~
  1.3826 +		COMMAND			configSave	~
  1.3827 +		COMMAND			busDevComm	~
  1.3828 +	END_TEST_BLOCK
  1.3829 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1007
  1.3830 +
  1.3831 +
  1.3832 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1008
  1.3833 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1008
  1.3834 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.3835 +//! @SYMAuthor			Oleg Kuznetsov
  1.3836 +//! @SYMCreationDate		10/04/2008
  1.3837 +//! @SYMTestCaseDesc		Break the connection for a period
  1.3838 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3839 +//!					port		= com<port>
  1.3840 +//!					baud rate	= 9600
  1.3841 +//!					data bits	= 8
  1.3842 +//!					stop bits	= 1
  1.3843 +//!					parity		= none
  1.3844 +//!					flow control	= none
  1.3845 +//!				2. Change configuration
  1.3846 +//!					baud rate	= <baud>
  1.3847 +//!					data bits	= 8
  1.3848 +//!					stop bits	= 2
  1.3849 +//!					parity		= odd
  1.3850 +//!					flow control	= none
  1.3851 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.3852 +//!				4. Restore configuration
  1.3853 +//!				5. Destroy the object
  1.3854 +//! @SYMTestStatus		Implemented
  1.3855 +//! @SYMTestPriority		High
  1.3856 +//! @SYMTestExpectedResults	Break should run with no errors
  1.3857 +//! @SYMTestType		CIT
  1.3858 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3859 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.3860 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.3861 +		CREATE_OBJECT	TCommConfigV01	config
  1.3862 +		COMMAND		busDevComm	new
  1.3863 +		COMMAND		configSave	new
  1.3864 +		COMMAND		config		new
  1.3865 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3866 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3867 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3868 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3869 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3870 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3871 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3872 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3873 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3874 +
  1.3875 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3876 +		OUTSTANDING
  1.3877 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3878 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3879 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3880 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3881 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3882 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3883 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3884 +		OUTSTANDING
  1.3885 +
  1.3886 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.3887 +		OUTSTANDING
  1.3888 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.3889 +		OUTSTANDING
  1.3890 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.3891 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.3892 +		OUTSTANDING
  1.3893 +
  1.3894 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3895 +		OUTSTANDING
  1.3896 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3897 +		COMMAND		busDevComm	Close
  1.3898 +		COMMAND		config		~
  1.3899 +		COMMAND		configSave	~
  1.3900 +		COMMAND		busDevComm	~
  1.3901 +	END_TEST_BLOCK
  1.3902 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1008
  1.3903 +
  1.3904 +
  1.3905 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1009
  1.3906 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1009
  1.3907 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.3908 +//!				RBusDevComm::BreakCancel()
  1.3909 +//! @SYMAuthor			Oleg Kuznetsov
  1.3910 +//! @SYMCreationDate		10/04/2008
  1.3911 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.3912 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3913 +//!					port		= com<port>
  1.3914 +//!					baud rate	= 9600
  1.3915 +//!					data bits	= 8
  1.3916 +//!					stop bits	= 1
  1.3917 +//!					parity		= none
  1.3918 +//!					flow control	= none
  1.3919 +//!				2. Change configuration
  1.3920 +//!					baud rate	= <baud>
  1.3921 +//!					data bits	= 8
  1.3922 +//!					stop bits	= 2
  1.3923 +//!					parity		= odd
  1.3924 +//!					flow control	= none
  1.3925 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.3926 +//!				4. Restore configuration
  1.3927 +//!				5. Destroy the object
  1.3928 +//! @SYMTestStatus		Implemented
  1.3929 +//! @SYMTestPriority		High
  1.3930 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.3931 +//! @SYMTestType		CIT
  1.3932 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.3933 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.3934 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.3935 +		CREATE_OBJECT		TCommConfigV01	config
  1.3936 +		COMMAND			busDevComm	new
  1.3937 +		COMMAND			configSave	new
  1.3938 +		COMMAND			config		new
  1.3939 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.3940 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3941 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3942 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.3943 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.3944 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.3945 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.3946 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.3947 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3948 +
  1.3949 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-none-Write_config
  1.3950 +		OUTSTANDING
  1.3951 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.3952 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.3953 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.3954 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.3955 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeNone
  1.3956 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.3957 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.3958 +		OUTSTANDING
  1.3959 +
  1.3960 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.3961 +		OUTSTANDING
  1.3962 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.3963 +		COMMAND			busDevComm	BreakCancel
  1.3964 +		OUTSTANDING
  1.3965 +
  1.3966 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.3967 +		OUTSTANDING
  1.3968 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.3969 +		COMMAND			busDevComm	Close
  1.3970 +		COMMAND			config		~
  1.3971 +		COMMAND			configSave	~
  1.3972 +		COMMAND			busDevComm	~
  1.3973 +	END_TEST_BLOCK
  1.3974 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_none-1009
  1.3975 +
  1.3976 +
  1.3977 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1001
  1.3978 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1001
  1.3979 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.3980 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.3981 +//! @SYMAuthor			Oleg Kuznetsov
  1.3982 +//! @SYMCreationDate		10/04/2008
  1.3983 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.3984 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.3985 +//!					port		= com<port>
  1.3986 +//!					baud rate	= 9600
  1.3987 +//!					data bits	= 8
  1.3988 +//!					stop bits	= 1
  1.3989 +//!					parity		= none
  1.3990 +//!					flow control	= none
  1.3991 +//!				2. Change configuration
  1.3992 +//!					baud rate	= <baud>
  1.3993 +//!					data bits	= 8
  1.3994 +//!					stop bits	= 1
  1.3995 +//!					parity		= none
  1.3996 +//!					flow control	= rtscts
  1.3997 +//!				3. Send data to com port without specifying the length of the data
  1.3998 +//!				4. Read data from com port specifying the length of the data
  1.3999 +//!				5. Restore configuration
  1.4000 +//!				6. Destroy the object
  1.4001 +//! @SYMTestStatus		Implemented
  1.4002 +//! @SYMTestPriority		High
  1.4003 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4004 +//! @SYMTestType		CIT
  1.4005 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4006 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4007 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4008 +		CREATE_OBJECT	TCommConfigV01	config
  1.4009 +		COMMAND		busDevComm	new
  1.4010 +		COMMAND		configSave	new
  1.4011 +		COMMAND		config		new
  1.4012 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4013 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4014 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4015 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4016 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4017 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4018 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4019 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4020 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4021 +
  1.4022 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4023 +		OUTSTANDING
  1.4024 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4025 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4026 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4027 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4028 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4029 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4030 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4031 +		OUTSTANDING
  1.4032 +
  1.4033 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.4034 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.4035 +		OUTSTANDING
  1.4036 +
  1.4037 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4038 +		OUTSTANDING
  1.4039 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4040 +		COMMAND		busDevComm	Close
  1.4041 +		COMMAND		config		~
  1.4042 +		COMMAND		configSave	~
  1.4043 +		COMMAND		busDevComm	~
  1.4044 +	END_TEST_BLOCK
  1.4045 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1001
  1.4046 +
  1.4047 +
  1.4048 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1002
  1.4049 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1002
  1.4050 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.4051 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.4052 +//!				RBusDevComm::QueryReceiveBuffer();
  1.4053 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4054 +//! @SYMAuthor			Oleg Kuznetsov
  1.4055 +//! @SYMCreationDate		10/04/2008
  1.4056 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4057 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4058 +//!					port		= com<port>
  1.4059 +//!					baud rate	= 9600
  1.4060 +//!					data bits	= 8
  1.4061 +//!					stop bits	= 1
  1.4062 +//!					parity		= none
  1.4063 +//!					flow control	= none
  1.4064 +//!				2. Change configuration
  1.4065 +//!					baud rate	= <baud>
  1.4066 +//!					data bits	= 8
  1.4067 +//!					stop bits	= 1
  1.4068 +//!					parity		= none
  1.4069 +//!					flow control	= rtscts
  1.4070 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.4071 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.4072 +//!				5. Restore configuration
  1.4073 +//!				6. Destroy the object
  1.4074 +//! @SYMTestStatus		Implemented
  1.4075 +//! @SYMTestPriority		High
  1.4076 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4077 +//! @SYMTestType		CIT
  1.4078 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4079 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4080 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4081 +		CREATE_OBJECT	TCommConfigV01	config
  1.4082 +		COMMAND		busDevComm	new
  1.4083 +		COMMAND		configSave	new
  1.4084 +		COMMAND		config		new
  1.4085 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4086 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4087 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4088 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4089 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4090 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4091 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4092 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4093 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4094 +
  1.4095 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4096 +		OUTSTANDING
  1.4097 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4098 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4099 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4100 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4101 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4102 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4103 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4104 +		OUTSTANDING
  1.4105 +
  1.4106 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.4107 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.4108 +		OUTSTANDING
  1.4109 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.4110 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.4111 +		OUTSTANDING
  1.4112 +
  1.4113 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4114 +		OUTSTANDING
  1.4115 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4116 +		COMMAND		busDevComm	Close
  1.4117 +		COMMAND		config		~
  1.4118 +		COMMAND		configSave	~
  1.4119 +		COMMAND		busDevComm	~
  1.4120 +	END_TEST_BLOCK
  1.4121 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1002
  1.4122 +
  1.4123 +
  1.4124 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1003
  1.4125 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1003
  1.4126 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4127 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.4128 +//! @SYMAuthor			Oleg Kuznetsov
  1.4129 +//! @SYMCreationDate		10/04/2008
  1.4130 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4131 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4132 +//!					port		= com<port>
  1.4133 +//!					baud rate	= 9600
  1.4134 +//!					data bits	= 8
  1.4135 +//!					stop bits	= 1
  1.4136 +//!					parity		= none
  1.4137 +//!					flow control	= none
  1.4138 +//!				2. Change configuration
  1.4139 +//!					baud rate	= <baud>
  1.4140 +//!					data bits	= 8
  1.4141 +//!					stop bits	= 1
  1.4142 +//!					parity		= none
  1.4143 +//!					flow control	= rtscts
  1.4144 +//!				3. Send data to com port without specifying the length of the data
  1.4145 +//!				4. Read data from com port without specifying the length of the data
  1.4146 +//!				5. Restore configuration
  1.4147 +//!				6. Destroy the object
  1.4148 +//! @SYMTestStatus		Implemented
  1.4149 +//! @SYMTestPriority		High
  1.4150 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4151 +//! @SYMTestType		CIT
  1.4152 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4153 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4154 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4155 +		CREATE_OBJECT	TCommConfigV01	config
  1.4156 +		COMMAND		busDevComm	new
  1.4157 +		COMMAND		configSave	new
  1.4158 +		COMMAND		config		new
  1.4159 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4160 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4161 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4162 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4163 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4164 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4165 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4166 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4167 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4168 +
  1.4169 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4170 +		OUTSTANDING
  1.4171 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4172 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4173 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4174 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4175 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4176 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4177 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4178 +		OUTSTANDING
  1.4179 +
  1.4180 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.4181 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.4182 +		OUTSTANDING
  1.4183 +
  1.4184 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4185 +		OUTSTANDING
  1.4186 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4187 +		COMMAND		busDevComm	Close
  1.4188 +		COMMAND		config		~
  1.4189 +		COMMAND		configSave	~
  1.4190 +		COMMAND		busDevComm	~
  1.4191 +	END_TEST_BLOCK
  1.4192 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1003
  1.4193 +
  1.4194 +
  1.4195 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1004
  1.4196 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1004
  1.4197 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.4198 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.4199 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.4200 +//! @SYMAuthor			Oleg Kuznetsov
  1.4201 +//! @SYMCreationDate		10/04/2008
  1.4202 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4203 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4204 +//!					port		= com<port>
  1.4205 +//!					baud rate	= 9600
  1.4206 +//!					data bits	= 8
  1.4207 +//!					stop bits	= 1
  1.4208 +//!					parity		= none
  1.4209 +//!					flow control	= none
  1.4210 +//!				2. Change configuration
  1.4211 +//!					baud rate	= <baud>
  1.4212 +//!					data bits	= 8
  1.4213 +//!					stop bits	= 1
  1.4214 +//!					parity		= none
  1.4215 +//!					flow control	= rtscts
  1.4216 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.4217 +//!				4. Read data from com port without specifying the length of the data
  1.4218 +//!				5. Restore configuration
  1.4219 +//!				6. Destroy the object
  1.4220 +//! @SYMTestStatus		Implemented
  1.4221 +//! @SYMTestPriority		High
  1.4222 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4223 +//! @SYMTestType		CIT
  1.4224 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4225 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4226 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4227 +		CREATE_OBJECT	TCommConfigV01	config
  1.4228 +		COMMAND		busDevComm	new
  1.4229 +		COMMAND		configSave	new
  1.4230 +		COMMAND		config		new
  1.4231 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4232 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4233 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4234 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4235 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4236 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4237 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4238 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4239 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4240 +
  1.4241 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4242 +		OUTSTANDING
  1.4243 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4244 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4245 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4246 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4247 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4248 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4249 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4250 +		OUTSTANDING
  1.4251 +
  1.4252 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.4253 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.4254 +		OUTSTANDING
  1.4255 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.4256 +		OUTSTANDING
  1.4257 +
  1.4258 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4259 +		OUTSTANDING
  1.4260 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4261 +		COMMAND		busDevComm	Close
  1.4262 +		COMMAND		config		~
  1.4263 +		COMMAND		configSave	~
  1.4264 +		COMMAND		busDevComm	~
  1.4265 +	END_TEST_BLOCK
  1.4266 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1004
  1.4267 +
  1.4268 +
  1.4269 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1005
  1.4270 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1005
  1.4271 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4272 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4273 +//! @SYMAuthor			Oleg Kuznetsov
  1.4274 +//! @SYMCreationDate		10/04/2008
  1.4275 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4276 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4277 +//!					port		= com<port>
  1.4278 +//!					baud rate	= 9600
  1.4279 +//!					data bits	= 8
  1.4280 +//!					stop bits	= 1
  1.4281 +//!					parity		= none
  1.4282 +//!					flow control	= none
  1.4283 +//!				2. Change configuration
  1.4284 +//!					baud rate	= <baud>
  1.4285 +//!					data bits	= 8
  1.4286 +//!					stop bits	= 1
  1.4287 +//!					parity		= none
  1.4288 +//!					flow control	= rtscts
  1.4289 +//!				3. Send data to com port without specifying the length of the data
  1.4290 +//!				4. ReadOneOrMore data from com port
  1.4291 +//!				5. Restore configuration
  1.4292 +//!				6. Destroy the object
  1.4293 +//! @SYMTestStatus		Implemented
  1.4294 +//! @SYMTestPriority		High
  1.4295 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4296 +//! @SYMTestType		CIT
  1.4297 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4298 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4299 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4300 +		CREATE_OBJECT	TCommConfigV01	config
  1.4301 +		COMMAND		busDevComm	new
  1.4302 +		COMMAND		configSave	new
  1.4303 +		COMMAND		config		new
  1.4304 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4305 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4306 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4307 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4308 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4309 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4310 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4311 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4312 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4313 +
  1.4314 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4315 +		OUTSTANDING
  1.4316 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4317 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4318 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4319 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4320 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4321 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4322 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4323 +		OUTSTANDING
  1.4324 +
  1.4325 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.4326 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.4327 +		OUTSTANDING
  1.4328 +
  1.4329 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4330 +		OUTSTANDING
  1.4331 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4332 +		COMMAND		busDevComm	Close
  1.4333 +		COMMAND		config		~
  1.4334 +		COMMAND		configSave	~
  1.4335 +		COMMAND		busDevComm	~
  1.4336 +	END_TEST_BLOCK
  1.4337 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1005
  1.4338 +
  1.4339 +
  1.4340 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1006
  1.4341 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1006
  1.4342 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4343 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.4344 +//!				RBusDevComm::QueryReceiveBuffer();
  1.4345 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4346 +//! @SYMAuthor			Oleg Kuznetsov
  1.4347 +//! @SYMCreationDate		10/04/2008
  1.4348 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4349 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4350 +//!					port		= com<port>
  1.4351 +//!					baud rate	= 9600
  1.4352 +//!					data bits	= 8
  1.4353 +//!					stop bits	= 1
  1.4354 +//!					parity		= none
  1.4355 +//!					flow control	= none
  1.4356 +//!				2. Change configuration
  1.4357 +//!					baud rate	= <baud>
  1.4358 +//!					data bits	= 8
  1.4359 +//!					stop bits	= 1
  1.4360 +//!					parity		= none
  1.4361 +//!					flow control	= rtscts
  1.4362 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.4363 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.4364 +//!				5. Restore configuration
  1.4365 +//!				6. Destroy the object
  1.4366 +//! @SYMTestStatus		Implemented
  1.4367 +//! @SYMTestPriority		High
  1.4368 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4369 +//! @SYMTestType		CIT
  1.4370 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4371 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4372 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4373 +		CREATE_OBJECT	TCommConfigV01	config
  1.4374 +		COMMAND		busDevComm	new
  1.4375 +		COMMAND		configSave	new
  1.4376 +		COMMAND		config		new
  1.4377 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4378 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4379 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4380 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4381 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4382 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4383 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4384 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4385 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4386 +
  1.4387 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4388 +		OUTSTANDING
  1.4389 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4390 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4391 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4392 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4393 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4394 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4395 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4396 +		OUTSTANDING
  1.4397 +
  1.4398 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.4399 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.4400 +		OUTSTANDING
  1.4401 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.4402 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.4403 +		OUTSTANDING
  1.4404 +
  1.4405 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4406 +		OUTSTANDING
  1.4407 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4408 +		COMMAND		busDevComm	Close
  1.4409 +		COMMAND		config		~
  1.4410 +		COMMAND		configSave	~
  1.4411 +		COMMAND		busDevComm	~
  1.4412 +	END_TEST_BLOCK
  1.4413 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1006
  1.4414 +
  1.4415 +
  1.4416 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1007
  1.4417 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1007
  1.4418 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4419 +//!				RBusDevComm::WriteCancel();
  1.4420 +//!				RBusDevComm::ResetBuffers()
  1.4421 +//! @SYMAuthor			Oleg Kuznetsov
  1.4422 +//! @SYMCreationDate		10/04/2008
  1.4423 +//! @SYMTestCaseDesc		Cancel a write request
  1.4424 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4425 +//!					port		= com<port>
  1.4426 +//!					baud rate	= 9600
  1.4427 +//!					data bits	= 8
  1.4428 +//!					stop bits	= 1
  1.4429 +//!					parity		= none
  1.4430 +//!					flow control	= none
  1.4431 +//!				2. Change configuration
  1.4432 +//!					baud rate	= <baud>
  1.4433 +//!					data bits	= 8
  1.4434 +//!					stop bits	= 1
  1.4435 +//!					parity		= none
  1.4436 +//!					flow control	= rtscts
  1.4437 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.4438 +//!				4. Restore configuration
  1.4439 +//!				5. Destroy the object
  1.4440 +//! @SYMTestStatus		Implemented
  1.4441 +//! @SYMTestPriority		High
  1.4442 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.4443 +//! @SYMTestType		CIT
  1.4444 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4445 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.4446 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.4447 +		CREATE_OBJECT		TCommConfigV01	config
  1.4448 +		COMMAND			busDevComm	new
  1.4449 +		COMMAND			configSave	new
  1.4450 +		COMMAND			config		new
  1.4451 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4452 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4453 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4454 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4455 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4456 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4457 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4458 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4459 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4460 +
  1.4461 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4462 +		OUTSTANDING
  1.4463 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.4464 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.4465 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
  1.4466 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4467 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4468 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4469 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4470 +		OUTSTANDING
  1.4471 +
  1.4472 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.4473 +		COMMAND			busDevComm	WriteCancel
  1.4474 +		OUTSTANDING
  1.4475 +		COMMAND			busDevComm	ResetBuffers
  1.4476 +
  1.4477 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4478 +		OUTSTANDING
  1.4479 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4480 +		COMMAND			busDevComm	Close
  1.4481 +		COMMAND			config		~
  1.4482 +		COMMAND			configSave	~
  1.4483 +		COMMAND			busDevComm	~
  1.4484 +	END_TEST_BLOCK
  1.4485 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1007
  1.4486 +
  1.4487 +
  1.4488 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1008
  1.4489 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1008
  1.4490 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.4491 +//! @SYMAuthor			Oleg Kuznetsov
  1.4492 +//! @SYMCreationDate		10/04/2008
  1.4493 +//! @SYMTestCaseDesc		Break the connection for a period
  1.4494 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4495 +//!					port		= com<port>
  1.4496 +//!					baud rate	= 9600
  1.4497 +//!					data bits	= 8
  1.4498 +//!					stop bits	= 1
  1.4499 +//!					parity		= none
  1.4500 +//!					flow control	= none
  1.4501 +//!				2. Change configuration
  1.4502 +//!					baud rate	= <baud>
  1.4503 +//!					data bits	= 8
  1.4504 +//!					stop bits	= 1
  1.4505 +//!					parity		= none
  1.4506 +//!					flow control	= rtscts
  1.4507 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.4508 +//!				4. Restore configuration
  1.4509 +//!				5. Destroy the object
  1.4510 +//! @SYMTestStatus		Implemented
  1.4511 +//! @SYMTestPriority		High
  1.4512 +//! @SYMTestExpectedResults	Break should run with no errors
  1.4513 +//! @SYMTestType		CIT
  1.4514 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4515 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4516 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4517 +		CREATE_OBJECT	TCommConfigV01	config
  1.4518 +		COMMAND		busDevComm	new
  1.4519 +		COMMAND		configSave	new
  1.4520 +		COMMAND		config		new
  1.4521 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4522 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4523 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4524 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4525 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4526 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4527 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4528 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4529 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4530 +
  1.4531 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4532 +		OUTSTANDING
  1.4533 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4534 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4535 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4536 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4537 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4538 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4539 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4540 +		OUTSTANDING
  1.4541 +
  1.4542 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.4543 +		OUTSTANDING
  1.4544 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.4545 +		OUTSTANDING
  1.4546 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.4547 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.4548 +		OUTSTANDING
  1.4549 +
  1.4550 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4551 +		OUTSTANDING
  1.4552 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4553 +		COMMAND		busDevComm	Close
  1.4554 +		COMMAND		config		~
  1.4555 +		COMMAND		configSave	~
  1.4556 +		COMMAND		busDevComm	~
  1.4557 +	END_TEST_BLOCK
  1.4558 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1008
  1.4559 +
  1.4560 +
  1.4561 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1009
  1.4562 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1009
  1.4563 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.4564 +//!				RBusDevComm::BreakCancel()
  1.4565 +//! @SYMAuthor			Oleg Kuznetsov
  1.4566 +//! @SYMCreationDate		10/04/2008
  1.4567 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.4568 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4569 +//!					port		= com<port>
  1.4570 +//!					baud rate	= 9600
  1.4571 +//!					data bits	= 8
  1.4572 +//!					stop bits	= 1
  1.4573 +//!					parity		= none
  1.4574 +//!					flow control	= none
  1.4575 +//!				2. Change configuration
  1.4576 +//!					baud rate	= <baud>
  1.4577 +//!					data bits	= 8
  1.4578 +//!					stop bits	= 1
  1.4579 +//!					parity		= none
  1.4580 +//!					flow control	= rtscts
  1.4581 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.4582 +//!				4. Restore configuration
  1.4583 +//!				5. Destroy the object
  1.4584 +//! @SYMTestStatus		Implemented
  1.4585 +//! @SYMTestPriority		High
  1.4586 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.4587 +//! @SYMTestType		CIT
  1.4588 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4589 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.4590 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.4591 +		CREATE_OBJECT		TCommConfigV01	config
  1.4592 +		COMMAND			busDevComm	new
  1.4593 +		COMMAND			configSave	new
  1.4594 +		COMMAND			config		new
  1.4595 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4596 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4597 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4598 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4599 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4600 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4601 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4602 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4603 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4604 +
  1.4605 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-none-rtscts-Write_config
  1.4606 +		OUTSTANDING
  1.4607 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4608 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4609 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.4610 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4611 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4612 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4613 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4614 +		OUTSTANDING
  1.4615 +
  1.4616 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.4617 +		OUTSTANDING
  1.4618 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.4619 +		COMMAND			busDevComm	BreakCancel
  1.4620 +		OUTSTANDING
  1.4621 +
  1.4622 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4623 +		OUTSTANDING
  1.4624 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4625 +		COMMAND			busDevComm	Close
  1.4626 +		COMMAND			config		~
  1.4627 +		COMMAND			configSave	~
  1.4628 +		COMMAND			busDevComm	~
  1.4629 +	END_TEST_BLOCK
  1.4630 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_none_rtscts-1009
  1.4631 +
  1.4632 +
  1.4633 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1001
  1.4634 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1001
  1.4635 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4636 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4637 +//! @SYMAuthor			Oleg Kuznetsov
  1.4638 +//! @SYMCreationDate		10/04/2008
  1.4639 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4640 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4641 +//!					port		= com<port>
  1.4642 +//!					baud rate	= 9600
  1.4643 +//!					data bits	= 8
  1.4644 +//!					stop bits	= 1
  1.4645 +//!					parity		= none
  1.4646 +//!					flow control	= none
  1.4647 +//!				2. Change configuration
  1.4648 +//!					baud rate	= <baud>
  1.4649 +//!					data bits	= 8
  1.4650 +//!					stop bits	= 2
  1.4651 +//!					parity		= none
  1.4652 +//!					flow control	= rtscts
  1.4653 +//!				3. Send data to com port without specifying the length of the data
  1.4654 +//!				4. Read data from com port specifying the length of the data
  1.4655 +//!				5. Restore configuration
  1.4656 +//!				6. Destroy the object
  1.4657 +//! @SYMTestStatus		Implemented
  1.4658 +//! @SYMTestPriority		High
  1.4659 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4660 +//! @SYMTestType		CIT
  1.4661 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4662 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4663 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4664 +		CREATE_OBJECT	TCommConfigV01	config
  1.4665 +		COMMAND		busDevComm	new
  1.4666 +		COMMAND		configSave	new
  1.4667 +		COMMAND		config		new
  1.4668 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4669 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4670 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4671 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4672 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4673 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4674 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4675 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4676 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4677 +
  1.4678 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.4679 +		OUTSTANDING
  1.4680 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4681 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4682 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.4683 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4684 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4685 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4686 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4687 +		OUTSTANDING
  1.4688 +
  1.4689 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.4690 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.4691 +		OUTSTANDING
  1.4692 +
  1.4693 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4694 +		OUTSTANDING
  1.4695 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4696 +		COMMAND		busDevComm	Close
  1.4697 +		COMMAND		config		~
  1.4698 +		COMMAND		configSave	~
  1.4699 +		COMMAND		busDevComm	~
  1.4700 +	END_TEST_BLOCK
  1.4701 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1001
  1.4702 +
  1.4703 +
  1.4704 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1002
  1.4705 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1002
  1.4706 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.4707 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.4708 +//!				RBusDevComm::QueryReceiveBuffer();
  1.4709 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4710 +//! @SYMAuthor			Oleg Kuznetsov
  1.4711 +//! @SYMCreationDate		10/04/2008
  1.4712 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4713 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4714 +//!					port		= com<port>
  1.4715 +//!					baud rate	= 9600
  1.4716 +//!					data bits	= 8
  1.4717 +//!					stop bits	= 1
  1.4718 +//!					parity		= none
  1.4719 +//!					flow control	= none
  1.4720 +//!				2. Change configuration
  1.4721 +//!					baud rate	= <baud>
  1.4722 +//!					data bits	= 8
  1.4723 +//!					stop bits	= 2
  1.4724 +//!					parity		= none
  1.4725 +//!					flow control	= rtscts
  1.4726 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.4727 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.4728 +//!				5. Restore configuration
  1.4729 +//!				6. Destroy the object
  1.4730 +//! @SYMTestStatus		Implemented
  1.4731 +//! @SYMTestPriority		High
  1.4732 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4733 +//! @SYMTestType		CIT
  1.4734 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4735 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4736 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4737 +		CREATE_OBJECT	TCommConfigV01	config
  1.4738 +		COMMAND		busDevComm	new
  1.4739 +		COMMAND		configSave	new
  1.4740 +		COMMAND		config		new
  1.4741 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4742 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4743 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4744 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4745 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4746 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4747 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4748 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4749 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4750 +
  1.4751 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.4752 +		OUTSTANDING
  1.4753 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4754 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4755 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.4756 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4757 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4758 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4759 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4760 +		OUTSTANDING
  1.4761 +
  1.4762 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.4763 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.4764 +		OUTSTANDING
  1.4765 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.4766 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.4767 +		OUTSTANDING
  1.4768 +
  1.4769 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4770 +		OUTSTANDING
  1.4771 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4772 +		COMMAND		busDevComm	Close
  1.4773 +		COMMAND		config		~
  1.4774 +		COMMAND		configSave	~
  1.4775 +		COMMAND		busDevComm	~
  1.4776 +	END_TEST_BLOCK
  1.4777 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1002
  1.4778 +
  1.4779 +
  1.4780 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1003
  1.4781 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1003
  1.4782 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4783 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.4784 +//! @SYMAuthor			Oleg Kuznetsov
  1.4785 +//! @SYMCreationDate		10/04/2008
  1.4786 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4787 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4788 +//!					port		= com<port>
  1.4789 +//!					baud rate	= 9600
  1.4790 +//!					data bits	= 8
  1.4791 +//!					stop bits	= 1
  1.4792 +//!					parity		= none
  1.4793 +//!					flow control	= none
  1.4794 +//!				2. Change configuration
  1.4795 +//!					baud rate	= <baud>
  1.4796 +//!					data bits	= 8
  1.4797 +//!					stop bits	= 2
  1.4798 +//!					parity		= none
  1.4799 +//!					flow control	= rtscts
  1.4800 +//!				3. Send data to com port
  1.4801 +//!				4. Read data from com port without specifying the length of the data (must be length with multiple of 4)
  1.4802 +//!				5. Restore configuration
  1.4803 +//!				6. Destroy the object
  1.4804 +//! @SYMTestStatus		Implemented
  1.4805 +//! @SYMTestPriority		High
  1.4806 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4807 +//! @SYMTestType		CIT
  1.4808 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4809 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4810 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4811 +		CREATE_OBJECT	TCommConfigV01	config
  1.4812 +		COMMAND		busDevComm	new
  1.4813 +		COMMAND		configSave	new
  1.4814 +		COMMAND		config		new
  1.4815 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4816 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4817 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4818 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4819 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4820 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4821 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4822 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4823 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4824 +
  1.4825 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.4826 +		OUTSTANDING
  1.4827 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4828 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4829 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.4830 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4831 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4832 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4833 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4834 +		OUTSTANDING
  1.4835 +
  1.4836 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.4837 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.4838 +		OUTSTANDING
  1.4839 +
  1.4840 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4841 +		OUTSTANDING
  1.4842 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4843 +		COMMAND		busDevComm	Close
  1.4844 +		COMMAND		config		~
  1.4845 +		COMMAND		configSave	~
  1.4846 +		COMMAND		busDevComm	~
  1.4847 +	END_TEST_BLOCK
  1.4848 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1003
  1.4849 +
  1.4850 +
  1.4851 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1004
  1.4852 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1004
  1.4853 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.4854 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.4855 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.4856 +//! @SYMAuthor			Oleg Kuznetsov
  1.4857 +//! @SYMCreationDate		10/04/2008
  1.4858 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4859 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4860 +//!					port		= com<port>
  1.4861 +//!					baud rate	= 9600
  1.4862 +//!					data bits	= 8
  1.4863 +//!					stop bits	= 1
  1.4864 +//!					parity		= none
  1.4865 +//!					flow control	= none
  1.4866 +//!				2. Change configuration
  1.4867 +//!					baud rate	= <baud>
  1.4868 +//!					data bits	= 8
  1.4869 +//!					stop bits	= 2
  1.4870 +//!					parity		= none
  1.4871 +//!					flow control	= rtscts
  1.4872 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.4873 +//!				4. Read data from com port without specifying the length of the data
  1.4874 +//!				5. Restore configuration
  1.4875 +//!				6. Destroy the object
  1.4876 +//! @SYMTestStatus		Implemented
  1.4877 +//! @SYMTestPriority		High
  1.4878 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4879 +//! @SYMTestType		CIT
  1.4880 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4881 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4882 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4883 +		CREATE_OBJECT	TCommConfigV01	config
  1.4884 +		COMMAND		busDevComm	new
  1.4885 +		COMMAND		configSave	new
  1.4886 +		COMMAND		config		new
  1.4887 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4888 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4889 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4890 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4891 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4892 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4893 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4894 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4895 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4896 +
  1.4897 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.4898 +		OUTSTANDING
  1.4899 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4900 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4901 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.4902 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4903 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4904 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4905 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4906 +		OUTSTANDING
  1.4907 +
  1.4908 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.4909 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.4910 +		OUTSTANDING
  1.4911 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.4912 +		OUTSTANDING
  1.4913 +
  1.4914 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4915 +		OUTSTANDING
  1.4916 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4917 +		COMMAND		busDevComm	Close
  1.4918 +		COMMAND		config		~
  1.4919 +		COMMAND		configSave	~
  1.4920 +		COMMAND		busDevComm	~
  1.4921 +	END_TEST_BLOCK
  1.4922 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1004
  1.4923 +
  1.4924 +
  1.4925 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1005
  1.4926 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1005
  1.4927 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4928 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.4929 +//! @SYMAuthor			Oleg Kuznetsov
  1.4930 +//! @SYMCreationDate		10/04/2008
  1.4931 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.4932 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.4933 +//!					port		= com<port>
  1.4934 +//!					baud rate	= 9600
  1.4935 +//!					data bits	= 8
  1.4936 +//!					stop bits	= 1
  1.4937 +//!					parity		= none
  1.4938 +//!					flow control	= none
  1.4939 +//!				2. Change configuration
  1.4940 +//!					baud rate	= <baud>
  1.4941 +//!					data bits	= 8
  1.4942 +//!					stop bits	= 2
  1.4943 +//!					parity		= none
  1.4944 +//!					flow control	= rtscts
  1.4945 +//!				3. Send data to com port without specifying the length of the data
  1.4946 +//!				4. ReadOneOrMore data from com port
  1.4947 +//!				5. Restore configuration
  1.4948 +//!				6. Destroy the object
  1.4949 +//! @SYMTestStatus		Implemented
  1.4950 +//! @SYMTestPriority		High
  1.4951 +//! @SYMTestExpectedResults	Data read should be as expected
  1.4952 +//! @SYMTestType		CIT
  1.4953 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.4954 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.4955 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.4956 +		CREATE_OBJECT	TCommConfigV01	config
  1.4957 +		COMMAND		busDevComm	new
  1.4958 +		COMMAND		configSave	new
  1.4959 +		COMMAND		config		new
  1.4960 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.4961 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4962 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4963 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.4964 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.4965 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.4966 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.4967 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.4968 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4969 +
  1.4970 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.4971 +		OUTSTANDING
  1.4972 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.4973 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.4974 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.4975 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.4976 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.4977 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.4978 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.4979 +		OUTSTANDING
  1.4980 +
  1.4981 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.4982 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.4983 +		OUTSTANDING
  1.4984 +
  1.4985 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.4986 +		OUTSTANDING
  1.4987 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.4988 +		COMMAND		busDevComm	Close
  1.4989 +		COMMAND		config		~
  1.4990 +		COMMAND		configSave	~
  1.4991 +		COMMAND		busDevComm	~
  1.4992 +	END_TEST_BLOCK
  1.4993 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1005
  1.4994 +
  1.4995 +
  1.4996 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1006
  1.4997 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1006
  1.4998 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.4999 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.5000 +//!				RBusDevComm::QueryReceiveBuffer();
  1.5001 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5002 +//! @SYMAuthor			Oleg Kuznetsov
  1.5003 +//! @SYMCreationDate		10/04/2008
  1.5004 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5005 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5006 +//!					port		= com<port>
  1.5007 +//!					baud rate	= 9600
  1.5008 +//!					data bits	= 8
  1.5009 +//!					stop bits	= 1
  1.5010 +//!					parity		= none
  1.5011 +//!					flow control	= none
  1.5012 +//!				2. Change configuration
  1.5013 +//!					baud rate	= <baud>
  1.5014 +//!					data bits	= 8
  1.5015 +//!					stop bits	= 2
  1.5016 +//!					parity		= none
  1.5017 +//!					flow control	= rtscts
  1.5018 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.5019 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.5020 +//!				5. Restore configuration
  1.5021 +//!				6. Destroy the object
  1.5022 +//! @SYMTestStatus		Implemented
  1.5023 +//! @SYMTestPriority		High
  1.5024 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5025 +//! @SYMTestType		CIT
  1.5026 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5027 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5028 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5029 +		CREATE_OBJECT	TCommConfigV01	config
  1.5030 +		COMMAND		busDevComm	new
  1.5031 +		COMMAND		configSave	new
  1.5032 +		COMMAND		config		new
  1.5033 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5034 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5035 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5036 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5037 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5038 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5039 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5040 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5041 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5042 +
  1.5043 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.5044 +		OUTSTANDING
  1.5045 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5046 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5047 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.5048 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.5049 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5050 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5051 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5052 +		OUTSTANDING
  1.5053 +
  1.5054 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.5055 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.5056 +		OUTSTANDING
  1.5057 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.5058 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.5059 +		OUTSTANDING
  1.5060 +
  1.5061 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5062 +		OUTSTANDING
  1.5063 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5064 +		COMMAND		busDevComm	Close
  1.5065 +		COMMAND		config		~
  1.5066 +		COMMAND		configSave	~
  1.5067 +		COMMAND		busDevComm	~
  1.5068 +	END_TEST_BLOCK
  1.5069 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1006
  1.5070 +
  1.5071 +
  1.5072 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1007
  1.5073 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1007
  1.5074 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5075 +//!				RBusDevComm::WriteCancel();
  1.5076 +//!				RBusDevComm::ResetBuffers()
  1.5077 +//! @SYMAuthor			Oleg Kuznetsov
  1.5078 +//! @SYMCreationDate		10/04/2008
  1.5079 +//! @SYMTestCaseDesc		Cancel a write request
  1.5080 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5081 +//!					port		= com<port>
  1.5082 +//!					baud rate	= 9600
  1.5083 +//!					data bits	= 8
  1.5084 +//!					stop bits	= 1
  1.5085 +//!					parity		= none
  1.5086 +//!					flow control	= none
  1.5087 +//!				2. Change configuration
  1.5088 +//!					baud rate	= <baud>
  1.5089 +//!					data bits	= 8
  1.5090 +//!					stop bits	= 2
  1.5091 +//!					parity		= none
  1.5092 +//!					flow control	= rtscts
  1.5093 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.5094 +//!				4. Restore configuration
  1.5095 +//!				5. Destroy the object
  1.5096 +//! @SYMTestStatus		Implemented
  1.5097 +//! @SYMTestPriority		High
  1.5098 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.5099 +//! @SYMTestType		CIT
  1.5100 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5101 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.5102 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.5103 +		CREATE_OBJECT		TCommConfigV01	config
  1.5104 +		COMMAND			busDevComm	new
  1.5105 +		COMMAND			configSave	new
  1.5106 +		COMMAND			config		new
  1.5107 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5108 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5109 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5110 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5111 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5112 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5113 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5114 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5115 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5116 +
  1.5117 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.5118 +		OUTSTANDING
  1.5119 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.5120 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.5121 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop2
  1.5122 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityNone
  1.5123 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5124 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5125 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5126 +		OUTSTANDING
  1.5127 +
  1.5128 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.5129 +		COMMAND			busDevComm	WriteCancel
  1.5130 +		OUTSTANDING
  1.5131 +		COMMAND			busDevComm	ResetBuffers
  1.5132 +
  1.5133 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5134 +		OUTSTANDING
  1.5135 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5136 +		COMMAND			busDevComm	Close
  1.5137 +		COMMAND			config		~
  1.5138 +		COMMAND			configSave	~
  1.5139 +		COMMAND			busDevComm	~
  1.5140 +	END_TEST_BLOCK
  1.5141 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1007
  1.5142 +
  1.5143 +
  1.5144 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1008
  1.5145 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1008
  1.5146 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.5147 +//! @SYMAuthor			Oleg Kuznetsov
  1.5148 +//! @SYMCreationDate		10/04/2008
  1.5149 +//! @SYMTestCaseDesc		Break the connection for a period
  1.5150 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5151 +//!					port		= com<port>
  1.5152 +//!					baud rate	= 9600
  1.5153 +//!					data bits	= 8
  1.5154 +//!					stop bits	= 1
  1.5155 +//!					parity		= none
  1.5156 +//!					flow control	= none
  1.5157 +//!				2. Change configuration
  1.5158 +//!					baud rate	= <baud>
  1.5159 +//!					data bits	= 8
  1.5160 +//!					stop bits	= 2
  1.5161 +//!					parity		= none
  1.5162 +//!					flow control	= rtscts
  1.5163 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.5164 +//!				4. Restore configuration
  1.5165 +//!				5. Destroy the object
  1.5166 +//! @SYMTestStatus		Implemented
  1.5167 +//! @SYMTestPriority		High
  1.5168 +//! @SYMTestExpectedResults	Break should run with no errors
  1.5169 +//! @SYMTestType		CIT
  1.5170 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5171 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5172 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5173 +		CREATE_OBJECT	TCommConfigV01	config
  1.5174 +		COMMAND		busDevComm	new
  1.5175 +		COMMAND		configSave	new
  1.5176 +		COMMAND		config		new
  1.5177 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5178 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5179 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5180 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5181 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5182 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5183 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5184 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5185 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5186 +
  1.5187 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.5188 +		OUTSTANDING
  1.5189 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5190 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5191 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.5192 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.5193 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5194 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5195 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5196 +		OUTSTANDING
  1.5197 +
  1.5198 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.5199 +		OUTSTANDING
  1.5200 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.5201 +		OUTSTANDING
  1.5202 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.5203 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.5204 +		OUTSTANDING
  1.5205 +
  1.5206 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5207 +		OUTSTANDING
  1.5208 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5209 +		COMMAND		busDevComm	Close
  1.5210 +		COMMAND		config		~
  1.5211 +		COMMAND		configSave	~
  1.5212 +		COMMAND		busDevComm	~
  1.5213 +	END_TEST_BLOCK
  1.5214 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1008
  1.5215 +
  1.5216 +
  1.5217 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1009
  1.5218 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1009
  1.5219 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.5220 +//!				RBusDevComm::BreakCancel()
  1.5221 +//! @SYMAuthor			Oleg Kuznetsov
  1.5222 +//! @SYMCreationDate		10/04/2008
  1.5223 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.5224 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5225 +//!					port		= com<port>
  1.5226 +//!					baud rate	= 9600
  1.5227 +//!					data bits	= 8
  1.5228 +//!					stop bits	= 1
  1.5229 +//!					parity		= none
  1.5230 +//!					flow control	= none
  1.5231 +//!				2. Change configuration
  1.5232 +//!					baud rate	= <baud>
  1.5233 +//!					data bits	= 8
  1.5234 +//!					stop bits	= 2
  1.5235 +//!					parity		= none
  1.5236 +//!					flow control	= rtscts
  1.5237 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.5238 +//!				4. Restore configuration
  1.5239 +//!				5. Destroy the object
  1.5240 +//! @SYMTestStatus		Implemented
  1.5241 +//! @SYMTestPriority		High
  1.5242 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.5243 +//! @SYMTestType		CIT
  1.5244 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5245 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.5246 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.5247 +		CREATE_OBJECT		TCommConfigV01	config
  1.5248 +		COMMAND			busDevComm	new
  1.5249 +		COMMAND			configSave	new
  1.5250 +		COMMAND			config		new
  1.5251 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5252 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5253 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5254 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5255 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5256 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5257 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5258 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5259 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5260 +
  1.5261 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-none-rtscts-Write_config
  1.5262 +		OUTSTANDING
  1.5263 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5264 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5265 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.5266 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityNone
  1.5267 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5268 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5269 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5270 +		OUTSTANDING
  1.5271 +
  1.5272 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.5273 +		OUTSTANDING
  1.5274 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.5275 +		COMMAND			busDevComm	BreakCancel
  1.5276 +		OUTSTANDING
  1.5277 +
  1.5278 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5279 +		OUTSTANDING
  1.5280 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5281 +		COMMAND			busDevComm	Close
  1.5282 +		COMMAND			config		~
  1.5283 +		COMMAND			configSave	~
  1.5284 +		COMMAND			busDevComm	~
  1.5285 +	END_TEST_BLOCK
  1.5286 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_none_rtscts-1009
  1.5287 +
  1.5288 +
  1.5289 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1001
  1.5290 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1001
  1.5291 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5292 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5293 +//! @SYMAuthor			Oleg Kuznetsov
  1.5294 +//! @SYMCreationDate		10/04/2008
  1.5295 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5296 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5297 +//!					port		= com<port>
  1.5298 +//!					baud rate	= 9600
  1.5299 +//!					data bits	= 8
  1.5300 +//!					stop bits	= 1
  1.5301 +//!					parity		= none
  1.5302 +//!					flow control	= none
  1.5303 +//!				2. Change configuration
  1.5304 +//!					baud rate	= <baud>
  1.5305 +//!					data bits	= 8
  1.5306 +//!					stop bits	= 1
  1.5307 +//!					parity		= even
  1.5308 +//!					flow control	= rtscts
  1.5309 +//!				3. Send data to com port without specifying the length of the data
  1.5310 +//!				4. Read data from com port specifying the length of the data
  1.5311 +//!				5. Restore configuration
  1.5312 +//!				6. Destroy the object
  1.5313 +//! @SYMTestStatus		Implemented
  1.5314 +//! @SYMTestPriority		High
  1.5315 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5316 +//! @SYMTestType		CIT
  1.5317 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5318 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5319 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5320 +		CREATE_OBJECT	TCommConfigV01	config
  1.5321 +		COMMAND		busDevComm	new
  1.5322 +		COMMAND		configSave	new
  1.5323 +		COMMAND		config		new
  1.5324 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5325 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5326 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5327 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5328 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5329 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5330 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5331 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5332 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5333 +
  1.5334 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5335 +		OUTSTANDING
  1.5336 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5337 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5338 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5339 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5340 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5341 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5342 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5343 +		OUTSTANDING
  1.5344 +
  1.5345 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.5346 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.5347 +		OUTSTANDING
  1.5348 +
  1.5349 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5350 +		OUTSTANDING
  1.5351 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5352 +		COMMAND		busDevComm	Close
  1.5353 +		COMMAND		config		~
  1.5354 +		COMMAND		configSave	~
  1.5355 +		COMMAND		busDevComm	~
  1.5356 +	END_TEST_BLOCK
  1.5357 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1001
  1.5358 +
  1.5359 +
  1.5360 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1002
  1.5361 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1002
  1.5362 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.5363 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.5364 +//!				RBusDevComm::QueryReceiveBuffer();
  1.5365 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5366 +//! @SYMAuthor			Oleg Kuznetsov
  1.5367 +//! @SYMCreationDate		10/04/2008
  1.5368 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5369 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5370 +//!					port		= com<port>
  1.5371 +//!					baud rate	= 9600
  1.5372 +//!					data bits	= 8
  1.5373 +//!					stop bits	= 1
  1.5374 +//!					parity		= none
  1.5375 +//!					flow control	= none
  1.5376 +//!				2. Change configuration
  1.5377 +//!					baud rate	= <baud>
  1.5378 +//!					data bits	= 8
  1.5379 +//!					stop bits	= 1
  1.5380 +//!					parity		= even
  1.5381 +//!					flow control	= rtscts
  1.5382 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.5383 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.5384 +//!				5. Restore configuration
  1.5385 +//!				6. Destroy the object
  1.5386 +//! @SYMTestStatus		Implemented
  1.5387 +//! @SYMTestPriority		High
  1.5388 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5389 +//! @SYMTestType		CIT
  1.5390 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5391 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5392 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5393 +		CREATE_OBJECT	TCommConfigV01	config
  1.5394 +		COMMAND		busDevComm	new
  1.5395 +		COMMAND		configSave	new
  1.5396 +		COMMAND		config		new
  1.5397 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5398 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5399 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5400 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5401 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5402 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5403 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5404 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5405 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5406 +
  1.5407 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5408 +		OUTSTANDING
  1.5409 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5410 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5411 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5412 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5413 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5414 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5415 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5416 +		OUTSTANDING
  1.5417 +
  1.5418 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.5419 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.5420 +		OUTSTANDING
  1.5421 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.5422 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.5423 +		OUTSTANDING
  1.5424 +
  1.5425 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5426 +		OUTSTANDING
  1.5427 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5428 +		COMMAND		busDevComm	Close
  1.5429 +		COMMAND		config		~
  1.5430 +		COMMAND		configSave	~
  1.5431 +		COMMAND		busDevComm	~
  1.5432 +	END_TEST_BLOCK
  1.5433 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1002
  1.5434 +
  1.5435 +
  1.5436 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1003
  1.5437 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1003
  1.5438 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5439 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.5440 +//! @SYMAuthor			Oleg Kuznetsov
  1.5441 +//! @SYMCreationDate		10/04/2008
  1.5442 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5443 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5444 +//!					port		= com<port>
  1.5445 +//!					baud rate	= 9600
  1.5446 +//!					data bits	= 8
  1.5447 +//!					stop bits	= 1
  1.5448 +//!					parity		= none
  1.5449 +//!					flow control	= none
  1.5450 +//!				2. Change configuration
  1.5451 +//!					baud rate	= <baud>
  1.5452 +//!					data bits	= 8
  1.5453 +//!					stop bits	= 1
  1.5454 +//!					parity		= even
  1.5455 +//!					flow control	= rtscts
  1.5456 +//!				3. Send data to com port without specifying the length of the data
  1.5457 +//!				4. Read data from com port without specifying the length of the data
  1.5458 +//!				5. Restore configuration
  1.5459 +//!				6. Destroy the object
  1.5460 +//! @SYMTestStatus		Implemented
  1.5461 +//! @SYMTestPriority		High
  1.5462 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5463 +//! @SYMTestType		CIT
  1.5464 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5465 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5466 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5467 +		CREATE_OBJECT	TCommConfigV01	config
  1.5468 +		COMMAND		busDevComm	new
  1.5469 +		COMMAND		configSave	new
  1.5470 +		COMMAND		config		new
  1.5471 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5472 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5473 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5474 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5475 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5476 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5477 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5478 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5479 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5480 +
  1.5481 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5482 +		OUTSTANDING
  1.5483 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5484 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5485 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5486 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5487 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5488 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5489 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5490 +		OUTSTANDING
  1.5491 +
  1.5492 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.5493 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.5494 +		OUTSTANDING
  1.5495 +
  1.5496 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5497 +		OUTSTANDING
  1.5498 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5499 +		COMMAND		busDevComm	Close
  1.5500 +		COMMAND		config		~
  1.5501 +		COMMAND		configSave	~
  1.5502 +		COMMAND		busDevComm	~
  1.5503 +	END_TEST_BLOCK
  1.5504 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1003
  1.5505 +
  1.5506 +
  1.5507 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1004
  1.5508 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1004
  1.5509 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.5510 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.5511 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.5512 +//! @SYMAuthor			Oleg Kuznetsov
  1.5513 +//! @SYMCreationDate		10/04/2008
  1.5514 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5515 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5516 +//!					port		= com<port>
  1.5517 +//!					baud rate	= 9600
  1.5518 +//!					data bits	= 8
  1.5519 +//!					stop bits	= 1
  1.5520 +//!					parity		= none
  1.5521 +//!					flow control	= none
  1.5522 +//!				2. Change configuration
  1.5523 +//!					baud rate	= <baud>
  1.5524 +//!					data bits	= 8
  1.5525 +//!					stop bits	= 1
  1.5526 +//!					parity		= even
  1.5527 +//!					flow control	= rtscts
  1.5528 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.5529 +//!				4. Read data from com port without specifying the length of the data
  1.5530 +//!				5. Restore configuration
  1.5531 +//!				6. Destroy the object
  1.5532 +//! @SYMTestStatus		Implemented
  1.5533 +//! @SYMTestPriority		High
  1.5534 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5535 +//! @SYMTestType		CIT
  1.5536 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5537 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5538 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5539 +		CREATE_OBJECT	TCommConfigV01	config
  1.5540 +		COMMAND		busDevComm	new
  1.5541 +		COMMAND		configSave	new
  1.5542 +		COMMAND		config		new
  1.5543 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5544 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5545 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5546 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5547 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5548 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5549 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5550 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5551 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5552 +
  1.5553 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5554 +		OUTSTANDING
  1.5555 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5556 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5557 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5558 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5559 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5560 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5561 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5562 +		OUTSTANDING
  1.5563 +
  1.5564 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.5565 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.5566 +		OUTSTANDING
  1.5567 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.5568 +		OUTSTANDING
  1.5569 +
  1.5570 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5571 +		OUTSTANDING
  1.5572 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5573 +		COMMAND		busDevComm	Close
  1.5574 +		COMMAND		config		~
  1.5575 +		COMMAND		configSave	~
  1.5576 +		COMMAND		busDevComm	~
  1.5577 +	END_TEST_BLOCK
  1.5578 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1004
  1.5579 +
  1.5580 +
  1.5581 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1005
  1.5582 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1005
  1.5583 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5584 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5585 +//! @SYMAuthor			Oleg Kuznetsov
  1.5586 +//! @SYMCreationDate		10/04/2008
  1.5587 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5588 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5589 +//!					port		= com<port>
  1.5590 +//!					baud rate	= 9600
  1.5591 +//!					data bits	= 8
  1.5592 +//!					stop bits	= 1
  1.5593 +//!					parity		= none
  1.5594 +//!					flow control	= none
  1.5595 +//!				2. Change configuration
  1.5596 +//!					baud rate	= <baud>
  1.5597 +//!					data bits	= 8
  1.5598 +//!					stop bits	= 1
  1.5599 +//!					parity		= even
  1.5600 +//!					flow control	= rtscts
  1.5601 +//!				3. Send data to com port without specifying the length of the data
  1.5602 +//!				4. ReadOneOrMore data from com port
  1.5603 +//!				5. Restore configuration
  1.5604 +//!				6. Destroy the object
  1.5605 +//! @SYMTestStatus		Implemented
  1.5606 +//! @SYMTestPriority		High
  1.5607 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5608 +//! @SYMTestType		CIT
  1.5609 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5610 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5611 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5612 +		CREATE_OBJECT	TCommConfigV01	config
  1.5613 +		COMMAND		busDevComm	new
  1.5614 +		COMMAND		configSave	new
  1.5615 +		COMMAND		config		new
  1.5616 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5617 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5618 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5619 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5620 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5621 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5622 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5623 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5624 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5625 +
  1.5626 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5627 +		OUTSTANDING
  1.5628 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5629 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5630 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5631 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5632 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5633 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5634 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5635 +		OUTSTANDING
  1.5636 +
  1.5637 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.5638 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.5639 +		OUTSTANDING
  1.5640 +
  1.5641 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5642 +		OUTSTANDING
  1.5643 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5644 +		COMMAND		busDevComm	Close
  1.5645 +		COMMAND		config		~
  1.5646 +		COMMAND		configSave	~
  1.5647 +		COMMAND		busDevComm	~
  1.5648 +	END_TEST_BLOCK
  1.5649 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1005
  1.5650 +
  1.5651 +
  1.5652 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1006
  1.5653 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1006
  1.5654 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5655 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.5656 +//!				RBusDevComm::QueryReceiveBuffer();
  1.5657 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5658 +//! @SYMAuthor			Oleg Kuznetsov
  1.5659 +//! @SYMCreationDate		10/04/2008
  1.5660 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5661 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5662 +//!					port		= com<port>
  1.5663 +//!					baud rate	= 9600
  1.5664 +//!					data bits	= 8
  1.5665 +//!					stop bits	= 1
  1.5666 +//!					parity		= none
  1.5667 +//!					flow control	= none
  1.5668 +//!				2. Change configuration
  1.5669 +//!					baud rate	= <baud>
  1.5670 +//!					data bits	= 8
  1.5671 +//!					stop bits	= 1
  1.5672 +//!					parity		= even
  1.5673 +//!					flow control	= rtscts
  1.5674 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.5675 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.5676 +//!				5. Restore configuration
  1.5677 +//!				6. Destroy the object
  1.5678 +//! @SYMTestStatus		Implemented
  1.5679 +//! @SYMTestPriority		High
  1.5680 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5681 +//! @SYMTestType		CIT
  1.5682 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5683 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5684 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5685 +		CREATE_OBJECT	TCommConfigV01	config
  1.5686 +		COMMAND		busDevComm	new
  1.5687 +		COMMAND		configSave	new
  1.5688 +		COMMAND		config		new
  1.5689 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5690 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5691 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5692 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5693 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5694 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5695 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5696 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5697 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5698 +
  1.5699 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5700 +		OUTSTANDING
  1.5701 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5702 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5703 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5704 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5705 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5706 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5707 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5708 +		OUTSTANDING
  1.5709 +
  1.5710 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.5711 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.5712 +		OUTSTANDING
  1.5713 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.5714 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.5715 +		OUTSTANDING
  1.5716 +
  1.5717 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5718 +		OUTSTANDING
  1.5719 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5720 +		COMMAND		busDevComm	Close
  1.5721 +		COMMAND		config		~
  1.5722 +		COMMAND		configSave	~
  1.5723 +		COMMAND		busDevComm	~
  1.5724 +	END_TEST_BLOCK
  1.5725 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1006
  1.5726 +
  1.5727 +
  1.5728 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1007
  1.5729 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1007
  1.5730 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5731 +//!				RBusDevComm::WriteCancel()
  1.5732 +//!				RBusDevComm::ResetBuffers()
  1.5733 +//! @SYMAuthor			Oleg Kuznetsov
  1.5734 +//! @SYMCreationDate		10/04/2008
  1.5735 +//! @SYMTestCaseDesc		Cancel a write request
  1.5736 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5737 +//!					port		= com<port>
  1.5738 +//!					baud rate	= 9600
  1.5739 +//!					data bits	= 8
  1.5740 +//!					stop bits	= 1
  1.5741 +//!					parity		= none
  1.5742 +//!					flow control	= none
  1.5743 +//!				2. Change configuration
  1.5744 +//!					baud rate	= <baud>
  1.5745 +//!					data bits	= 8
  1.5746 +//!					stop bits	= 1
  1.5747 +//!					parity		= even
  1.5748 +//!					flow control	= rtscts
  1.5749 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.5750 +//!				4. Restore configuration
  1.5751 +//!				5. Destroy the object
  1.5752 +//! @SYMTestStatus		Implemented
  1.5753 +//! @SYMTestPriority		High
  1.5754 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.5755 +//! @SYMTestType		CIT
  1.5756 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5757 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.5758 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.5759 +		CREATE_OBJECT		TCommConfigV01	config
  1.5760 +		COMMAND			busDevComm	new
  1.5761 +		COMMAND			configSave	new
  1.5762 +		COMMAND			config		new
  1.5763 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5764 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5765 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5766 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5767 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5768 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5769 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5770 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5771 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5772 +
  1.5773 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5774 +		OUTSTANDING
  1.5775 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.5776 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.5777 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
  1.5778 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5779 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5780 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5781 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5782 +		OUTSTANDING
  1.5783 +
  1.5784 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.5785 +		COMMAND			busDevComm	WriteCancel
  1.5786 +		OUTSTANDING
  1.5787 +		COMMAND			busDevComm	ResetBuffers
  1.5788 +
  1.5789 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5790 +		OUTSTANDING
  1.5791 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5792 +		COMMAND			busDevComm	Close
  1.5793 +		COMMAND			config		~
  1.5794 +		COMMAND			configSave	~
  1.5795 +		COMMAND			busDevComm	~
  1.5796 +	END_TEST_BLOCK
  1.5797 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1007
  1.5798 +
  1.5799 +
  1.5800 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1008
  1.5801 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1008
  1.5802 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.5803 +//! @SYMAuthor			Oleg Kuznetsov
  1.5804 +//! @SYMCreationDate		10/04/2008
  1.5805 +//! @SYMTestCaseDesc		Break the connection for a period
  1.5806 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5807 +//!					port		= com<port>
  1.5808 +//!					baud rate	= 9600
  1.5809 +//!					data bits	= 8
  1.5810 +//!					stop bits	= 1
  1.5811 +//!					parity		= none
  1.5812 +//!					flow control	= none
  1.5813 +//!				2. Change configuration
  1.5814 +//!					baud rate	= <baud>
  1.5815 +//!					data bits	= 8
  1.5816 +//!					stop bits	= 1
  1.5817 +//!					parity		= even
  1.5818 +//!					flow control	= rtscts
  1.5819 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.5820 +//!				4. Restore configuration
  1.5821 +//!				5. Destroy the object
  1.5822 +//! @SYMTestStatus		Implemented
  1.5823 +//! @SYMTestPriority		High
  1.5824 +//! @SYMTestExpectedResults	Break should run with no errors
  1.5825 +//! @SYMTestType		CIT
  1.5826 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5827 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5828 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5829 +		CREATE_OBJECT	TCommConfigV01	config
  1.5830 +		COMMAND		busDevComm	new
  1.5831 +		COMMAND		configSave	new
  1.5832 +		COMMAND		config		new
  1.5833 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5834 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5835 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5836 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5837 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5838 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5839 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5840 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5841 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5842 +
  1.5843 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5844 +		OUTSTANDING
  1.5845 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5846 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5847 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5848 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5849 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5850 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5851 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5852 +		OUTSTANDING
  1.5853 +
  1.5854 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.5855 +		OUTSTANDING
  1.5856 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.5857 +		OUTSTANDING
  1.5858 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.5859 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.5860 +		OUTSTANDING
  1.5861 +
  1.5862 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5863 +		OUTSTANDING
  1.5864 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5865 +		COMMAND		busDevComm	Close
  1.5866 +		COMMAND		config		~
  1.5867 +		COMMAND		configSave	~
  1.5868 +		COMMAND		busDevComm	~
  1.5869 +	END_TEST_BLOCK
  1.5870 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1008
  1.5871 +
  1.5872 +
  1.5873 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1009
  1.5874 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1009
  1.5875 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.5876 +//!				RBusDevComm::BreakCancel()
  1.5877 +//! @SYMAuthor			Oleg Kuznetsov
  1.5878 +//! @SYMCreationDate		10/04/2008
  1.5879 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.5880 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5881 +//!					port		= com<port>
  1.5882 +//!					baud rate	= 9600
  1.5883 +//!					data bits	= 8
  1.5884 +//!					stop bits	= 1
  1.5885 +//!					parity		= none
  1.5886 +//!					flow control	= none
  1.5887 +//!				2. Change configuration
  1.5888 +//!					baud rate	= <baud>
  1.5889 +//!					data bits	= 8
  1.5890 +//!					stop bits	= 1
  1.5891 +//!					parity		= even
  1.5892 +//!					flow control	= rtscts
  1.5893 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.5894 +//!				4. Restore configuration
  1.5895 +//!				5. Destroy the object
  1.5896 +//! @SYMTestStatus		Implemented
  1.5897 +//! @SYMTestPriority		High
  1.5898 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.5899 +//! @SYMTestType		CIT
  1.5900 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5901 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.5902 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.5903 +		CREATE_OBJECT		TCommConfigV01	config
  1.5904 +		COMMAND			busDevComm	new
  1.5905 +		COMMAND			configSave	new
  1.5906 +		COMMAND			config		new
  1.5907 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5908 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5909 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5910 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5911 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5912 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5913 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5914 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5915 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5916 +
  1.5917 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-even-rtscts-Write_config
  1.5918 +		OUTSTANDING
  1.5919 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5920 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5921 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.5922 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5923 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5924 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5925 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5926 +		OUTSTANDING
  1.5927 +
  1.5928 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.5929 +		OUTSTANDING
  1.5930 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.5931 +		COMMAND			busDevComm	BreakCancel
  1.5932 +		OUTSTANDING
  1.5933 +
  1.5934 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.5935 +		OUTSTANDING
  1.5936 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5937 +		COMMAND			busDevComm	Close
  1.5938 +		COMMAND			config		~
  1.5939 +		COMMAND			configSave	~
  1.5940 +		COMMAND			busDevComm	~
  1.5941 +	END_TEST_BLOCK
  1.5942 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_even_rtscts-1009
  1.5943 +
  1.5944 +
  1.5945 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1001
  1.5946 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1001
  1.5947 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.5948 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.5949 +//! @SYMAuthor			Oleg Kuznetsov
  1.5950 +//! @SYMCreationDate		10/04/2008
  1.5951 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.5952 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.5953 +//!					port		= com<port>
  1.5954 +//!					baud rate	= 9600
  1.5955 +//!					data bits	= 8
  1.5956 +//!					stop bits	= 1
  1.5957 +//!					parity		= none
  1.5958 +//!					flow control	= none
  1.5959 +//!				2. Change configuration
  1.5960 +//!					baud rate	= <baud>
  1.5961 +//!					data bits	= 8
  1.5962 +//!					stop bits	= 2
  1.5963 +//!					parity		= even
  1.5964 +//!					flow control	= rtscts
  1.5965 +//!				3. Send data to com port without specifying the length of the data
  1.5966 +//!				4. Read data from com port specifying the length of the data
  1.5967 +//!				5. Restore configuration
  1.5968 +//!				6. Destroy the object
  1.5969 +//! @SYMTestStatus		Implemented
  1.5970 +//! @SYMTestPriority		High
  1.5971 +//! @SYMTestExpectedResults	Data read should be as expected
  1.5972 +//! @SYMTestType		CIT
  1.5973 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.5974 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.5975 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.5976 +		CREATE_OBJECT	TCommConfigV01	config
  1.5977 +		COMMAND		busDevComm	new
  1.5978 +		COMMAND		configSave	new
  1.5979 +		COMMAND		config		new
  1.5980 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.5981 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.5982 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5983 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.5984 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.5985 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.5986 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.5987 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.5988 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5989 +
  1.5990 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.5991 +		OUTSTANDING
  1.5992 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.5993 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.5994 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.5995 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.5996 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.5997 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.5998 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.5999 +		OUTSTANDING
  1.6000 +
  1.6001 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.6002 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.6003 +		OUTSTANDING
  1.6004 +
  1.6005 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6006 +		OUTSTANDING
  1.6007 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6008 +		COMMAND		busDevComm	Close
  1.6009 +		COMMAND		config		~
  1.6010 +		COMMAND		configSave	~
  1.6011 +		COMMAND		busDevComm	~
  1.6012 +	END_TEST_BLOCK
  1.6013 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1001
  1.6014 +
  1.6015 +
  1.6016 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1002
  1.6017 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1002
  1.6018 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.6019 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6020 +//!				RBusDevComm::QueryReceiveBuffer();
  1.6021 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6022 +//! @SYMAuthor			Oleg Kuznetsov
  1.6023 +//! @SYMCreationDate		10/04/2008
  1.6024 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6025 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6026 +//!					port		= com<port>
  1.6027 +//!					baud rate	= 9600
  1.6028 +//!					data bits	= 8
  1.6029 +//!					stop bits	= 1
  1.6030 +//!					parity		= none
  1.6031 +//!					flow control	= none
  1.6032 +//!				2. Change configuration
  1.6033 +//!					baud rate	= <baud>
  1.6034 +//!					data bits	= 8
  1.6035 +//!					stop bits	= 2
  1.6036 +//!					parity		= even
  1.6037 +//!					flow control	= rtscts
  1.6038 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.6039 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.6040 +//!				5. Restore configuration
  1.6041 +//!				6. Destroy the object
  1.6042 +//! @SYMTestStatus		Implemented
  1.6043 +//! @SYMTestPriority		High
  1.6044 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6045 +//! @SYMTestType		CIT
  1.6046 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6047 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6048 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6049 +		CREATE_OBJECT	TCommConfigV01	config
  1.6050 +		COMMAND		busDevComm	new
  1.6051 +		COMMAND		configSave	new
  1.6052 +		COMMAND		config		new
  1.6053 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6054 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6055 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6056 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6057 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6058 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6059 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6060 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6061 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6062 +
  1.6063 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6064 +		OUTSTANDING
  1.6065 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6066 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6067 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6068 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6069 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6070 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6071 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6072 +		OUTSTANDING
  1.6073 +
  1.6074 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.6075 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.6076 +		OUTSTANDING
  1.6077 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.6078 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.6079 +		OUTSTANDING
  1.6080 +
  1.6081 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6082 +		OUTSTANDING
  1.6083 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6084 +		COMMAND		busDevComm	Close
  1.6085 +		COMMAND		config		~
  1.6086 +		COMMAND		configSave	~
  1.6087 +		COMMAND		busDevComm	~
  1.6088 +	END_TEST_BLOCK
  1.6089 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1002
  1.6090 +
  1.6091 +
  1.6092 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1003
  1.6093 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1003
  1.6094 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6095 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.6096 +//! @SYMAuthor			Oleg Kuznetsov
  1.6097 +//! @SYMCreationDate		10/04/2008
  1.6098 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6099 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6100 +//!					port		= com<port>
  1.6101 +//!					baud rate	= 9600
  1.6102 +//!					data bits	= 8
  1.6103 +//!					stop bits	= 1
  1.6104 +//!					parity		= none
  1.6105 +//!					flow control	= none
  1.6106 +//!				2. Change configuration
  1.6107 +//!					baud rate	= <baud>
  1.6108 +//!					data bits	= 8
  1.6109 +//!					stop bits	= 2
  1.6110 +//!					parity		= even
  1.6111 +//!					flow control	= rtscts
  1.6112 +//!				3. Send data to com port without specifying the length of the data
  1.6113 +//!				4. Read data from com port without specifying the length of the data
  1.6114 +//!				5. Restore configuration
  1.6115 +//!				6. Destroy the object
  1.6116 +//! @SYMTestStatus		Implemented
  1.6117 +//! @SYMTestPriority		High
  1.6118 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6119 +//! @SYMTestType		CIT
  1.6120 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6121 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6122 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6123 +		CREATE_OBJECT	TCommConfigV01	config
  1.6124 +		COMMAND		busDevComm	new
  1.6125 +		COMMAND		configSave	new
  1.6126 +		COMMAND		config		new
  1.6127 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6128 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6129 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6130 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6131 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6132 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6133 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6134 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6135 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6136 +
  1.6137 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6138 +		OUTSTANDING
  1.6139 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6140 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6141 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6142 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6143 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6144 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6145 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6146 +		OUTSTANDING
  1.6147 +
  1.6148 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.6149 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.6150 +		OUTSTANDING
  1.6151 +
  1.6152 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6153 +		OUTSTANDING
  1.6154 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6155 +		COMMAND		busDevComm	Close
  1.6156 +		COMMAND		config		~
  1.6157 +		COMMAND		configSave	~
  1.6158 +		COMMAND		busDevComm	~
  1.6159 +	END_TEST_BLOCK
  1.6160 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1003
  1.6161 +
  1.6162 +
  1.6163 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1004
  1.6164 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1004
  1.6165 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.6166 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6167 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.6168 +//! @SYMAuthor			Oleg Kuznetsov
  1.6169 +//! @SYMCreationDate		10/04/2008
  1.6170 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6171 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6172 +//!					port		= com<port>
  1.6173 +//!					baud rate	= 9600
  1.6174 +//!					data bits	= 8
  1.6175 +//!					stop bits	= 1
  1.6176 +//!					parity		= none
  1.6177 +//!					flow control	= none
  1.6178 +//!				2. Change configuration
  1.6179 +//!					baud rate	= <baud>
  1.6180 +//!					data bits	= 8
  1.6181 +//!					stop bits	= 2
  1.6182 +//!					parity		= even
  1.6183 +//!					flow control	= rtscts
  1.6184 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.6185 +//!				4. Read data from com port without specifying the length of the data
  1.6186 +//!				5. Restore configuration
  1.6187 +//!				6. Destroy the object
  1.6188 +//! @SYMTestStatus		Implemented
  1.6189 +//! @SYMTestPriority		High
  1.6190 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6191 +//! @SYMTestType		CIT
  1.6192 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6193 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6194 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6195 +		CREATE_OBJECT	TCommConfigV01	config
  1.6196 +		COMMAND		busDevComm	new
  1.6197 +		COMMAND		configSave	new
  1.6198 +		COMMAND		config		new
  1.6199 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6200 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6201 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6202 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6203 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6204 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6205 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6206 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6207 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6208 +
  1.6209 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6210 +		OUTSTANDING
  1.6211 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6212 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6213 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6214 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6215 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6216 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6217 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6218 +		OUTSTANDING
  1.6219 +
  1.6220 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.6221 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.6222 +		OUTSTANDING
  1.6223 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.6224 +		OUTSTANDING
  1.6225 +
  1.6226 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6227 +		OUTSTANDING
  1.6228 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6229 +		COMMAND		busDevComm	Close
  1.6230 +		COMMAND		config		~
  1.6231 +		COMMAND		configSave	~
  1.6232 +		COMMAND		busDevComm	~
  1.6233 +	END_TEST_BLOCK
  1.6234 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1004
  1.6235 +
  1.6236 +
  1.6237 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1005
  1.6238 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1005
  1.6239 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6240 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6241 +//! @SYMAuthor			Oleg Kuznetsov
  1.6242 +//! @SYMCreationDate		10/04/2008
  1.6243 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6244 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6245 +//!					port		= com<port>
  1.6246 +//!					baud rate	= 9600
  1.6247 +//!					data bits	= 8
  1.6248 +//!					stop bits	= 1
  1.6249 +//!					parity		= none
  1.6250 +//!					flow control	= none
  1.6251 +//!				2. Change configuration
  1.6252 +//!					baud rate	= <baud>
  1.6253 +//!					data bits	= 8
  1.6254 +//!					stop bits	= 2
  1.6255 +//!					parity		= even
  1.6256 +//!					flow control	= rtscts
  1.6257 +//!				3. Send data to com port without specifying the length of the data
  1.6258 +//!				4. ReadOneOrMore data from com port
  1.6259 +//!				5. Restore configuration
  1.6260 +//!				6. Destroy the object
  1.6261 +//! @SYMTestStatus		Implemented
  1.6262 +//! @SYMTestPriority		High
  1.6263 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6264 +//! @SYMTestType		CIT
  1.6265 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6266 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6267 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6268 +		CREATE_OBJECT	TCommConfigV01	config
  1.6269 +		COMMAND		busDevComm	new
  1.6270 +		COMMAND		configSave	new
  1.6271 +		COMMAND		config		new
  1.6272 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6273 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6274 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6275 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6276 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6277 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6278 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6279 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6280 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6281 +
  1.6282 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6283 +		OUTSTANDING
  1.6284 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6285 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6286 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6287 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6288 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6289 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6290 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6291 +		OUTSTANDING
  1.6292 +
  1.6293 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.6294 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.6295 +		OUTSTANDING
  1.6296 +
  1.6297 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6298 +		OUTSTANDING
  1.6299 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6300 +		COMMAND		busDevComm	Close
  1.6301 +		COMMAND		config		~
  1.6302 +		COMMAND		configSave	~
  1.6303 +		COMMAND		busDevComm	~
  1.6304 +	END_TEST_BLOCK
  1.6305 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1005
  1.6306 +
  1.6307 +
  1.6308 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1006
  1.6309 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1006
  1.6310 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6311 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6312 +//!				RBusDevComm::QueryReceiveBuffer();
  1.6313 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6314 +//! @SYMAuthor			Oleg Kuznetsov
  1.6315 +//! @SYMCreationDate		10/04/2008
  1.6316 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6317 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6318 +//!					port		= com<port>
  1.6319 +//!					baud rate	= 9600
  1.6320 +//!					data bits	= 8
  1.6321 +//!					stop bits	= 1
  1.6322 +//!					parity		= none
  1.6323 +//!					flow control	= none
  1.6324 +//!				2. Change configuration
  1.6325 +//!					baud rate	= <baud>
  1.6326 +//!					data bits	= 8
  1.6327 +//!					stop bits	= 2
  1.6328 +//!					parity		= even
  1.6329 +//!					flow control	= rtscts
  1.6330 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.6331 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.6332 +//!				5. Restore configuration
  1.6333 +//!				6. Destroy the object
  1.6334 +//! @SYMTestStatus		Implemented
  1.6335 +//! @SYMTestPriority		High
  1.6336 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6337 +//! @SYMTestType		CIT
  1.6338 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6339 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6340 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6341 +		CREATE_OBJECT	TCommConfigV01	config
  1.6342 +		COMMAND		busDevComm	new
  1.6343 +		COMMAND		configSave	new
  1.6344 +		COMMAND		config		new
  1.6345 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6346 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6347 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6348 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6349 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6350 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6351 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6352 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6353 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6354 +
  1.6355 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6356 +		OUTSTANDING
  1.6357 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6358 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6359 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6360 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6361 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6362 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6363 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6364 +		OUTSTANDING
  1.6365 +
  1.6366 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.6367 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.6368 +		OUTSTANDING
  1.6369 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.6370 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.6371 +		OUTSTANDING
  1.6372 +
  1.6373 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6374 +		OUTSTANDING
  1.6375 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6376 +		COMMAND		busDevComm	Close
  1.6377 +		COMMAND		config		~
  1.6378 +		COMMAND		configSave	~
  1.6379 +		COMMAND		busDevComm	~
  1.6380 +	END_TEST_BLOCK
  1.6381 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1006
  1.6382 +
  1.6383 +
  1.6384 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1007
  1.6385 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1007
  1.6386 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6387 +//!				RBusDevComm::WriteCancel();
  1.6388 +//!				RBusDevComm::ResetBuffers()
  1.6389 +//! @SYMAuthor			Oleg Kuznetsov
  1.6390 +//! @SYMCreationDate		10/04/2008
  1.6391 +//! @SYMTestCaseDesc		Cancel a write request
  1.6392 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6393 +//!					port		= com<port>
  1.6394 +//!					baud rate	= 9600
  1.6395 +//!					data bits	= 8
  1.6396 +//!					stop bits	= 1
  1.6397 +//!					parity		= none
  1.6398 +//!					flow control	= none
  1.6399 +//!				2. Change configuration
  1.6400 +//!					baud rate	= <baud>
  1.6401 +//!					data bits	= 8
  1.6402 +//!					stop bits	= 2
  1.6403 +//!					parity		= even
  1.6404 +//!					flow control	= rtscts
  1.6405 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.6406 +//!				4. Restore configuration
  1.6407 +//!				5. Destroy the object
  1.6408 +//! @SYMTestStatus		Implemented
  1.6409 +//! @SYMTestPriority		High
  1.6410 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.6411 +//! @SYMTestType		CIT
  1.6412 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6413 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.6414 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.6415 +		CREATE_OBJECT		TCommConfigV01	config
  1.6416 +		COMMAND			busDevComm	new
  1.6417 +		COMMAND			configSave	new
  1.6418 +		COMMAND			config		new
  1.6419 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6420 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6421 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6422 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6423 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6424 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6425 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6426 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6427 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6428 +
  1.6429 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6430 +		OUTSTANDING
  1.6431 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.6432 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.6433 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop2
  1.6434 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6435 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6436 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6437 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6438 +		OUTSTANDING
  1.6439 +
  1.6440 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.6441 +		COMMAND			busDevComm	WriteCancel
  1.6442 +		OUTSTANDING
  1.6443 +		COMMAND			busDevComm	ResetBuffers
  1.6444 +
  1.6445 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6446 +		OUTSTANDING
  1.6447 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6448 +		COMMAND			busDevComm	Close
  1.6449 +		COMMAND			config		~
  1.6450 +		COMMAND			configSave	~
  1.6451 +		COMMAND			busDevComm	~
  1.6452 +	END_TEST_BLOCK
  1.6453 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1007
  1.6454 +
  1.6455 +
  1.6456 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1008
  1.6457 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1008
  1.6458 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.6459 +//! @SYMAuthor			Oleg Kuznetsov
  1.6460 +//! @SYMCreationDate		10/04/2008
  1.6461 +//! @SYMTestCaseDesc		Break the connection for a period
  1.6462 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6463 +//!					port		= com<port>
  1.6464 +//!					baud rate	= 9600
  1.6465 +//!					data bits	= 8
  1.6466 +//!					stop bits	= 1
  1.6467 +//!					parity		= none
  1.6468 +//!					flow control	= none
  1.6469 +//!				2. Change configuration
  1.6470 +//!					baud rate	= <baud>
  1.6471 +//!					data bits	= 8
  1.6472 +//!					stop bits	= 2
  1.6473 +//!					parity		= even
  1.6474 +//!					flow control	= rtscts
  1.6475 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.6476 +//!				4. Restore configuration
  1.6477 +//!				5. Destroy the object
  1.6478 +//! @SYMTestStatus		Implemented
  1.6479 +//! @SYMTestPriority		High
  1.6480 +//! @SYMTestExpectedResults	Break should run with no errors
  1.6481 +//! @SYMTestType		CIT
  1.6482 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6483 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6484 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6485 +		CREATE_OBJECT	TCommConfigV01	config
  1.6486 +		COMMAND		busDevComm	new
  1.6487 +		COMMAND		configSave	new
  1.6488 +		COMMAND		config		new
  1.6489 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6490 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6491 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6492 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6493 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6494 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6495 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6496 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6497 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6498 +
  1.6499 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6500 +		OUTSTANDING
  1.6501 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6502 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6503 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6504 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6505 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6506 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6507 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6508 +		OUTSTANDING
  1.6509 +
  1.6510 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.6511 +		OUTSTANDING
  1.6512 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.6513 +		OUTSTANDING
  1.6514 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.6515 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.6516 +		OUTSTANDING
  1.6517 +
  1.6518 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6519 +		OUTSTANDING
  1.6520 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6521 +		COMMAND		busDevComm	Close
  1.6522 +		COMMAND		config		~
  1.6523 +		COMMAND		configSave	~
  1.6524 +		COMMAND		busDevComm	~
  1.6525 +	END_TEST_BLOCK
  1.6526 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1008
  1.6527 +
  1.6528 +
  1.6529 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1009
  1.6530 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1009
  1.6531 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.6532 +//!				RBusDevComm::BreakCancel()
  1.6533 +//! @SYMAuthor			Oleg Kuznetsov
  1.6534 +//! @SYMCreationDate		10/04/2008
  1.6535 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.6536 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6537 +//!					port		= com<port>
  1.6538 +//!					baud rate	= 9600
  1.6539 +//!					data bits	= 8
  1.6540 +//!					stop bits	= 1
  1.6541 +//!					parity		= none
  1.6542 +//!					flow control	= none
  1.6543 +//!				2. Change configuration
  1.6544 +//!					baud rate	= <baud>
  1.6545 +//!					data bits	= 8
  1.6546 +//!					stop bits	= 2
  1.6547 +//!					parity		= even
  1.6548 +//!					flow control	= rtscts
  1.6549 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.6550 +//!				4. Restore configuration
  1.6551 +//!				5. Destroy the object
  1.6552 +//! @SYMTestStatus		Implemented
  1.6553 +//! @SYMTestPriority		High
  1.6554 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.6555 +//! @SYMTestType		CIT
  1.6556 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6557 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.6558 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.6559 +		CREATE_OBJECT		TCommConfigV01	config
  1.6560 +		COMMAND			busDevComm	new
  1.6561 +		COMMAND			configSave	new
  1.6562 +		COMMAND			config		new
  1.6563 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6564 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6565 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6566 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6567 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6568 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6569 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6570 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6571 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6572 +
  1.6573 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-even-rtscts-Write_config
  1.6574 +		OUTSTANDING
  1.6575 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6576 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6577 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.6578 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityEven
  1.6579 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6580 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6581 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6582 +		OUTSTANDING
  1.6583 +
  1.6584 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.6585 +		OUTSTANDING
  1.6586 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.6587 +		COMMAND			busDevComm	BreakCancel
  1.6588 +		OUTSTANDING
  1.6589 +
  1.6590 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6591 +		OUTSTANDING
  1.6592 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6593 +		COMMAND			busDevComm	Close
  1.6594 +		COMMAND			config		~
  1.6595 +		COMMAND			configSave	~
  1.6596 +		COMMAND			busDevComm	~
  1.6597 +	END_TEST_BLOCK
  1.6598 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_even_rtscts-1009
  1.6599 +
  1.6600 +
  1.6601 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1001
  1.6602 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1001
  1.6603 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6604 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6605 +//! @SYMAuthor			Oleg Kuznetsov
  1.6606 +//! @SYMCreationDate		10/04/2008
  1.6607 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6608 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6609 +//!					port		= com<port>
  1.6610 +//!					baud rate	= 9600
  1.6611 +//!					data bits	= 8
  1.6612 +//!					stop bits	= 1
  1.6613 +//!					parity		= none
  1.6614 +//!					flow control	= none
  1.6615 +//!				2. Change configuration
  1.6616 +//!					baud rate	= <baud>
  1.6617 +//!					data bits	= 8
  1.6618 +//!					stop bits	= 1
  1.6619 +//!					parity		= odd
  1.6620 +//!					flow control	= rtscts
  1.6621 +//!				3. Send data to com port without specifying the length of the data
  1.6622 +//!				4. Read data from com port specifying the length of the data
  1.6623 +//!				5. Restore configuration
  1.6624 +//!				6. Destroy the object
  1.6625 +//! @SYMTestStatus		Implemented
  1.6626 +//! @SYMTestPriority		High
  1.6627 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6628 +//! @SYMTestType		CIT
  1.6629 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6630 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6631 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6632 +		CREATE_OBJECT	TCommConfigV01	config
  1.6633 +		COMMAND		busDevComm	new
  1.6634 +		COMMAND		configSave	new
  1.6635 +		COMMAND		config		new
  1.6636 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6637 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6638 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6639 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6640 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6641 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6642 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6643 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6644 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6645 +
  1.6646 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.6647 +		OUTSTANDING
  1.6648 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6649 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6650 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.6651 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.6652 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6653 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6654 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6655 +		OUTSTANDING
  1.6656 +
  1.6657 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.6658 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.6659 +		OUTSTANDING
  1.6660 +
  1.6661 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6662 +		OUTSTANDING
  1.6663 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6664 +		COMMAND		busDevComm	Close
  1.6665 +		COMMAND		config		~
  1.6666 +		COMMAND		configSave	~
  1.6667 +		COMMAND		busDevComm	~
  1.6668 +	END_TEST_BLOCK
  1.6669 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1001
  1.6670 +
  1.6671 +
  1.6672 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1002
  1.6673 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1002
  1.6674 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.6675 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6676 +//!				RBusDevComm::QueryReceiveBuffer();
  1.6677 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6678 +//! @SYMAuthor			Oleg Kuznetsov
  1.6679 +//! @SYMCreationDate		10/04/2008
  1.6680 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6681 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6682 +//!					port		= com<port>
  1.6683 +//!					baud rate	= 9600
  1.6684 +//!					data bits	= 8
  1.6685 +//!					stop bits	= 1
  1.6686 +//!					parity		= none
  1.6687 +//!					flow control	= none
  1.6688 +//!				2. Change configuration
  1.6689 +//!					baud rate	= <baud>
  1.6690 +//!					data bits	= 8
  1.6691 +//!					stop bits	= 1
  1.6692 +//!					parity		= odd
  1.6693 +//!					flow control	= rtscts
  1.6694 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.6695 +//!				4. Check buffer is not empty before reading data from com port specifying the length of the data
  1.6696 +//!				5. Restore configuration
  1.6697 +//!				6. Destroy the object
  1.6698 +//! @SYMTestStatus		Implemented
  1.6699 +//! @SYMTestPriority		High
  1.6700 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6701 +//! @SYMTestType		CIT
  1.6702 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6703 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6704 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6705 +		CREATE_OBJECT	TCommConfigV01	config
  1.6706 +		COMMAND		busDevComm	new
  1.6707 +		COMMAND		configSave	new
  1.6708 +		COMMAND		config		new
  1.6709 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6710 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6711 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6712 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6713 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6714 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6715 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6716 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6717 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6718 +
  1.6719 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.6720 +		OUTSTANDING
  1.6721 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6722 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6723 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.6724 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.6725 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6726 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6727 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6728 +		OUTSTANDING
  1.6729 +
  1.6730 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1002-Write
  1.6731 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1002-NotifyReceiveDataAvailable
  1.6732 +		OUTSTANDING
  1.6733 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1002-QueryReceiveBuffer
  1.6734 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1002-Read
  1.6735 +		OUTSTANDING
  1.6736 +
  1.6737 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6738 +		OUTSTANDING
  1.6739 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6740 +		COMMAND		busDevComm	Close
  1.6741 +		COMMAND		config		~
  1.6742 +		COMMAND		configSave	~
  1.6743 +		COMMAND		busDevComm	~
  1.6744 +	END_TEST_BLOCK
  1.6745 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1002
  1.6746 +
  1.6747 +
  1.6748 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1003
  1.6749 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1003
  1.6750 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6751 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.6752 +//! @SYMAuthor			Oleg Kuznetsov
  1.6753 +//! @SYMCreationDate		10/04/2008
  1.6754 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6755 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6756 +//!					port		= com<port>
  1.6757 +//!					baud rate	= 9600
  1.6758 +//!					data bits	= 8
  1.6759 +//!					stop bits	= 1
  1.6760 +//!					parity		= none
  1.6761 +//!					flow control	= none
  1.6762 +//!				2. Change configuration
  1.6763 +//!					baud rate	= <baud>
  1.6764 +//!					data bits	= 8
  1.6765 +//!					stop bits	= 1
  1.6766 +//!					parity		= odd
  1.6767 +//!					flow control	= rtscts
  1.6768 +//!				3. Send data to com port without specifying the length of the data
  1.6769 +//!				4. Read data from com port without specifying the length of the data
  1.6770 +//!				5. Restore configuration
  1.6771 +//!				6. Destroy the object
  1.6772 +//! @SYMTestStatus		Implemented
  1.6773 +//! @SYMTestPriority		High
  1.6774 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6775 +//! @SYMTestType		CIT
  1.6776 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6777 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6778 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6779 +		CREATE_OBJECT	TCommConfigV01	config
  1.6780 +		COMMAND		busDevComm	new
  1.6781 +		COMMAND		configSave	new
  1.6782 +		COMMAND		config		new
  1.6783 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6784 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6785 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6786 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6787 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6788 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6789 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6790 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6791 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6792 +
  1.6793 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.6794 +		OUTSTANDING
  1.6795 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6796 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6797 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.6798 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.6799 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6800 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6801 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6802 +		OUTSTANDING
  1.6803 +
  1.6804 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1003-Write
  1.6805 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1003-Read
  1.6806 +		OUTSTANDING
  1.6807 +
  1.6808 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6809 +		OUTSTANDING
  1.6810 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6811 +		COMMAND		busDevComm	Close
  1.6812 +		COMMAND		config		~
  1.6813 +		COMMAND		configSave	~
  1.6814 +		COMMAND		busDevComm	~
  1.6815 +	END_TEST_BLOCK
  1.6816 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1003
  1.6817 +
  1.6818 +
  1.6819 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1004
  1.6820 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1004
  1.6821 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref}, TInt);
  1.6822 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6823 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref})
  1.6824 +//! @SYMAuthor			Oleg Kuznetsov
  1.6825 +//! @SYMCreationDate		10/04/2008
  1.6826 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6827 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6828 +//!					port		= com<port>
  1.6829 +//!					baud rate	= 9600
  1.6830 +//!					data bits	= 8
  1.6831 +//!					stop bits	= 1
  1.6832 +//!					parity		= none
  1.6833 +//!					flow control	= none
  1.6834 +//!				2. Change configuration
  1.6835 +//!					baud rate	= <baud>
  1.6836 +//!					data bits	= 8
  1.6837 +//!					stop bits	= 1
  1.6838 +//!					parity		= odd
  1.6839 +//!					flow control	= rtscts
  1.6840 +//!				3. Send data to com port specifying the length of the data, and wait for read notification
  1.6841 +//!				4. Read data from com port without specifying the length of the data
  1.6842 +//!				5. Restore configuration
  1.6843 +//!				6. Destroy the object
  1.6844 +//! @SYMTestStatus		Implemented
  1.6845 +//! @SYMTestPriority		High
  1.6846 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6847 +//! @SYMTestType		CIT
  1.6848 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6849 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6850 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6851 +		CREATE_OBJECT	TCommConfigV01	config
  1.6852 +		COMMAND		busDevComm	new
  1.6853 +		COMMAND		configSave	new
  1.6854 +		COMMAND		config		new
  1.6855 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6856 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6857 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6858 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6859 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6860 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6861 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6862 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6863 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6864 +
  1.6865 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.6866 +		OUTSTANDING
  1.6867 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6868 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6869 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.6870 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.6871 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6872 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6873 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6874 +		OUTSTANDING
  1.6875 +
  1.6876 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1004-Write
  1.6877 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1004-NotifyReceiveDataAvailable
  1.6878 +		OUTSTANDING
  1.6879 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1004-Read
  1.6880 +		OUTSTANDING
  1.6881 +
  1.6882 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6883 +		OUTSTANDING
  1.6884 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6885 +		COMMAND		busDevComm	Close
  1.6886 +		COMMAND		config		~
  1.6887 +		COMMAND		configSave	~
  1.6888 +		COMMAND		busDevComm	~
  1.6889 +	END_TEST_BLOCK
  1.6890 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1004
  1.6891 +
  1.6892 +
  1.6893 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1005
  1.6894 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1005
  1.6895 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6896 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6897 +//! @SYMAuthor			Oleg Kuznetsov
  1.6898 +//! @SYMCreationDate		10/04/2008
  1.6899 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6900 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6901 +//!					port		= com<port>
  1.6902 +//!					baud rate	= 9600
  1.6903 +//!					data bits	= 8
  1.6904 +//!					stop bits	= 1
  1.6905 +//!					parity		= none
  1.6906 +//!					flow control	= none
  1.6907 +//!				2. Change configuration
  1.6908 +//!					baud rate	= <baud>
  1.6909 +//!					data bits	= 8
  1.6910 +//!					stop bits	= 1
  1.6911 +//!					parity		= odd
  1.6912 +//!					flow control	= rtscts
  1.6913 +//!				3. Send data to com port without specifying the length of the data
  1.6914 +//!				4. ReadOneOrMore data from com port
  1.6915 +//!				5. Restore configuration
  1.6916 +//!				6. Destroy the object
  1.6917 +//! @SYMTestStatus		Implemented
  1.6918 +//! @SYMTestPriority		High
  1.6919 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6920 +//! @SYMTestType		CIT
  1.6921 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6922 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6923 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6924 +		CREATE_OBJECT	TCommConfigV01	config
  1.6925 +		COMMAND		busDevComm	new
  1.6926 +		COMMAND		configSave	new
  1.6927 +		COMMAND		config		new
  1.6928 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.6929 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6930 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6931 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.6932 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.6933 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.6934 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.6935 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.6936 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6937 +
  1.6938 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.6939 +		OUTSTANDING
  1.6940 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.6941 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.6942 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.6943 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.6944 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.6945 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.6946 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.6947 +		OUTSTANDING
  1.6948 +
  1.6949 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1005-Write
  1.6950 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1005-ReadOneOrMore
  1.6951 +		OUTSTANDING
  1.6952 +
  1.6953 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.6954 +		OUTSTANDING
  1.6955 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.6956 +		COMMAND		busDevComm	Close
  1.6957 +		COMMAND		config		~
  1.6958 +		COMMAND		configSave	~
  1.6959 +		COMMAND		busDevComm	~
  1.6960 +	END_TEST_BLOCK
  1.6961 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1005
  1.6962 +
  1.6963 +
  1.6964 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1006
  1.6965 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1006
  1.6966 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.6967 +//!				RBusDevComm::NotifyReceiveDataAvailable(TRequestStatus {ref});
  1.6968 +//!				RBusDevComm::QueryReceiveBuffer();
  1.6969 +//!				RBusDevComm::ReadOneOrMore(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.6970 +//! @SYMAuthor			Oleg Kuznetsov
  1.6971 +//! @SYMCreationDate		10/04/2008
  1.6972 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.6973 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.6974 +//!					port		= com<port>
  1.6975 +//!					baud rate	= 9600
  1.6976 +//!					data bits	= 8
  1.6977 +//!					stop bits	= 1
  1.6978 +//!					parity		= none
  1.6979 +//!					flow control	= none
  1.6980 +//!				2. Change configuration
  1.6981 +//!					baud rate	= <baud>
  1.6982 +//!					data bits	= 8
  1.6983 +//!					stop bits	= 1
  1.6984 +//!					parity		= odd
  1.6985 +//!					flow control	= rtscts
  1.6986 +//!				3. Send data to com port without specifying the length of the data, and wait for read notification
  1.6987 +//!				4. Check buffer is not empty before reading data using ReadOneOrMore from com port
  1.6988 +//!				5. Restore configuration
  1.6989 +//!				6. Destroy the object
  1.6990 +//! @SYMTestStatus		Implemented
  1.6991 +//! @SYMTestPriority		High
  1.6992 +//! @SYMTestExpectedResults	Data read should be as expected
  1.6993 +//! @SYMTestType		CIT
  1.6994 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.6995 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.6996 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.6997 +		CREATE_OBJECT	TCommConfigV01	config
  1.6998 +		COMMAND		busDevComm	new
  1.6999 +		COMMAND		configSave	new
  1.7000 +		COMMAND		config		new
  1.7001 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.7002 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7003 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7004 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.7005 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.7006 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.7007 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.7008 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.7009 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7010 +
  1.7011 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.7012 +		OUTSTANDING
  1.7013 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.7014 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.7015 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.7016 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.7017 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.7018 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7019 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.7020 +		OUTSTANDING
  1.7021 +
  1.7022 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1006-Write
  1.7023 +		COMMAND		busDevComm	NotifyReceiveDataAvailable	BASE-BSP-SERIAL-DRIVER-8-1006-NotifyReceiveDataAvailable
  1.7024 +		OUTSTANDING
  1.7025 +		COMMAND		busDevComm	QueryReceiveBuffer		BASE-BSP-SERIAL-DRIVER-8-1006-QueryReceiveBuffer
  1.7026 +		COMMAND		busDevComm	ReadOneOrMore			BASE-BSP-SERIAL-DRIVER-8-1006-ReadOneOrMore
  1.7027 +		OUTSTANDING
  1.7028 +
  1.7029 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.7030 +		OUTSTANDING
  1.7031 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7032 +		COMMAND		busDevComm	Close
  1.7033 +		COMMAND		config		~
  1.7034 +		COMMAND		configSave	~
  1.7035 +		COMMAND		busDevComm	~
  1.7036 +	END_TEST_BLOCK
  1.7037 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1006
  1.7038 +
  1.7039 +
  1.7040 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1007
  1.7041 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1007
  1.7042 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.7043 +//!				RBusDevComm::WriteCancel();
  1.7044 +//!				RBusDevComm::ResetBuffers()
  1.7045 +//! @SYMAuthor			Oleg Kuznetsov
  1.7046 +//! @SYMCreationDate		10/04/2008
  1.7047 +//! @SYMTestCaseDesc		Cancel a write request
  1.7048 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.7049 +//!					port		= com<port>
  1.7050 +//!					baud rate	= 9600
  1.7051 +//!					data bits	= 8
  1.7052 +//!					stop bits	= 1
  1.7053 +//!					parity		= none
  1.7054 +//!					flow control	= none
  1.7055 +//!				2. Change configuration
  1.7056 +//!					baud rate	= <baud>
  1.7057 +//!					data bits	= 8
  1.7058 +//!					stop bits	= 1
  1.7059 +//!					parity		= odd
  1.7060 +//!					flow control	= rtscts
  1.7061 +//!				3. Send data to com port without specifying the length of the data, and cancel the operation
  1.7062 +//!				4. Restore configuration
  1.7063 +//!				5. Destroy the object
  1.7064 +//! @SYMTestStatus		Implemented
  1.7065 +//! @SYMTestPriority		High
  1.7066 +//! @SYMTestExpectedResults	The write should fail with error KErrCancel (-3)
  1.7067 +//! @SYMTestType		CIT
  1.7068 +	START_TEST_BLOCK		80		t_serial		\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.7069 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.7070 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.7071 +		CREATE_OBJECT		TCommConfigV01	config
  1.7072 +		COMMAND			busDevComm	new
  1.7073 +		COMMAND			configSave	new
  1.7074 +		COMMAND			config		new
  1.7075 +		COMMAND			busDevComm	Open			BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.7076 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7077 +		COMMAND			busDevComm	Config			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7078 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.7079 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.7080 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.7081 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.7082 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.7083 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7084 +
  1.7085 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.7086 +		OUTSTANDING
  1.7087 +		COMMAND			config		iRate			BASE-BSP-SERIAL-DRIVER-iRate
  1.7088 +		COMMAND			config		iDataBits		BASE-BSP-SERIAL-DRIVER-EData8
  1.7089 +		COMMAND			config		iStopBits		BASE-BSP-SERIAL-DRIVER-EStop1
  1.7090 +		COMMAND			config		iParity			BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.7091 +		COMMAND			config		iHandshake		BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.7092 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7093 +		COMMAND			busDevComm	Read			BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.7094 +		OUTSTANDING
  1.7095 +
  1.7096 +		COMMAND	!AsyncError=-3	busDevComm	Write			BASE-BSP-SERIAL-DRIVER-8-1007-Write
  1.7097 +		COMMAND			busDevComm	WriteCancel
  1.7098 +		OUTSTANDING
  1.7099 +		COMMAND			busDevComm	ResetBuffers
  1.7100 +
  1.7101 +		COMMAND			busDevComm	Write			BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.7102 +		OUTSTANDING
  1.7103 +		COMMAND			busDevComm	SetConfig		BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7104 +		COMMAND			busDevComm	Close
  1.7105 +		COMMAND			config		~
  1.7106 +		COMMAND			configSave	~
  1.7107 +		COMMAND			busDevComm	~
  1.7108 +	END_TEST_BLOCK
  1.7109 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1007
  1.7110 +
  1.7111 +
  1.7112 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1008
  1.7113 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1008
  1.7114 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt)
  1.7115 +//! @SYMAuthor			Oleg Kuznetsov
  1.7116 +//! @SYMCreationDate		10/04/2008
  1.7117 +//! @SYMTestCaseDesc		Break the connection for a period
  1.7118 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.7119 +//!					port		= com<port>
  1.7120 +//!					baud rate	= 9600
  1.7121 +//!					data bits	= 8
  1.7122 +//!					stop bits	= 1
  1.7123 +//!					parity		= none
  1.7124 +//!					flow control	= none
  1.7125 +//!				2. Change configuration
  1.7126 +//!					baud rate	= <baud>
  1.7127 +//!					data bits	= 8
  1.7128 +//!					stop bits	= 1
  1.7129 +//!					parity		= odd
  1.7130 +//!					flow control	= rtscts
  1.7131 +//!				3. Send data to echo server requesting the BI count to be reset, Break.
  1.7132 +//!				4. Restore configuration
  1.7133 +//!				5. Destroy the object
  1.7134 +//! @SYMTestStatus		Implemented
  1.7135 +//! @SYMTestPriority		High
  1.7136 +//! @SYMTestExpectedResults	Break should run with no errors
  1.7137 +//! @SYMTestType		CIT
  1.7138 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.7139 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.7140 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.7141 +		CREATE_OBJECT	TCommConfigV01	config
  1.7142 +		COMMAND		busDevComm	new
  1.7143 +		COMMAND		configSave	new
  1.7144 +		COMMAND		config		new
  1.7145 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.7146 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7147 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7148 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.7149 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.7150 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.7151 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.7152 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.7153 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7154 +
  1.7155 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.7156 +		OUTSTANDING
  1.7157 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.7158 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.7159 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.7160 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.7161 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.7162 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7163 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.7164 +		OUTSTANDING
  1.7165 +
  1.7166 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.7167 +		OUTSTANDING
  1.7168 +		COMMAND		busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1008-Break
  1.7169 +		OUTSTANDING
  1.7170 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-QueryBI
  1.7171 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1008-Read
  1.7172 +		OUTSTANDING
  1.7173 +
  1.7174 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.7175 +		OUTSTANDING
  1.7176 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7177 +		COMMAND		busDevComm	Close
  1.7178 +		COMMAND		config		~
  1.7179 +		COMMAND		configSave	~
  1.7180 +		COMMAND		busDevComm	~
  1.7181 +	END_TEST_BLOCK
  1.7182 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1008
  1.7183 +
  1.7184 +
  1.7185 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1009
  1.7186 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1009
  1.7187 +//! @SYMAPI			RBusDevComm::Break(TRequestStatus {ref}, TInt);
  1.7188 +//!				RBusDevComm::BreakCancel()
  1.7189 +//! @SYMAuthor			Oleg Kuznetsov
  1.7190 +//! @SYMCreationDate		10/04/2008
  1.7191 +//! @SYMTestCaseDesc		Cancel a Break from the connection
  1.7192 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.7193 +//!					port		= com<port>
  1.7194 +//!					baud rate	= 9600
  1.7195 +//!					data bits	= 8
  1.7196 +//!					stop bits	= 1
  1.7197 +//!					parity		= none
  1.7198 +//!					flow control	= none
  1.7199 +//!				2. Change configuration
  1.7200 +//!					baud rate	= <baud>
  1.7201 +//!					data bits	= 8
  1.7202 +//!					stop bits	= 1
  1.7203 +//!					parity		= odd
  1.7204 +//!					flow control	= rtscts
  1.7205 +//!				3. Send data to echo server requesting the BI count to be reset, Break, and BreakCancel.
  1.7206 +//!				4. Restore configuration
  1.7207 +//!				5. Destroy the object
  1.7208 +//! @SYMTestStatus		Implemented
  1.7209 +//! @SYMTestPriority		High
  1.7210 +//! @SYMTestExpectedResults	Break should fail with error KErrCancel (-3)
  1.7211 +//! @SYMTestType		CIT
  1.7212 +	START_TEST_BLOCK		80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.7213 +		CREATE_OBJECT		RBusDevComm	busDevComm
  1.7214 +		CREATE_OBJECT		TCommConfigV01	configSave
  1.7215 +		CREATE_OBJECT		TCommConfigV01	config
  1.7216 +		COMMAND			busDevComm	new
  1.7217 +		COMMAND			configSave	new
  1.7218 +		COMMAND			config		new
  1.7219 +		COMMAND			busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.7220 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7221 +		COMMAND			busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7222 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.7223 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.7224 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.7225 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.7226 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.7227 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7228 +
  1.7229 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-1-odd-rtscts-Write_config
  1.7230 +		OUTSTANDING
  1.7231 +		COMMAND			config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.7232 +		COMMAND			config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.7233 +		COMMAND			config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop1
  1.7234 +		COMMAND			config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.7235 +		COMMAND			config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.7236 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7237 +		COMMAND			busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.7238 +		OUTSTANDING
  1.7239 +
  1.7240 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-ClearBI
  1.7241 +		OUTSTANDING
  1.7242 +		COMMAND	!AsyncError=-3	busDevComm	Break				BASE-BSP-SERIAL-DRIVER-8-1009-Break
  1.7243 +		COMMAND			busDevComm	BreakCancel
  1.7244 +		OUTSTANDING
  1.7245 +
  1.7246 +		COMMAND			busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.7247 +		OUTSTANDING
  1.7248 +		COMMAND			busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7249 +		COMMAND			busDevComm	Close
  1.7250 +		COMMAND			config		~
  1.7251 +		COMMAND			configSave	~
  1.7252 +		COMMAND			busDevComm	~
  1.7253 +	END_TEST_BLOCK
  1.7254 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_1_odd_rtscts-1009
  1.7255 +
  1.7256 +
  1.7257 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_rtscts-1001
  1.7258 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_rtscts-1001
  1.7259 +//! @SYMAPI			RBusDevComm::Write(TRequestStatus {ref}, const TDesC8 {ref});
  1.7260 +//!				RBusDevComm::Read(TRequestStatus {ref}, TDesC8 {ref}, TInt)
  1.7261 +//! @SYMAuthor			Oleg Kuznetsov
  1.7262 +//! @SYMCreationDate		10/04/2008
  1.7263 +//! @SYMTestCaseDesc		Echo data to/from the Serial Echo Server
  1.7264 +//! @SYMTestActions		1. Create RBusDevComm object, save original configuration and configure to echo server startup settings
  1.7265 +//!					port		= com<port>
  1.7266 +//!					baud rate	= 9600
  1.7267 +//!					data bits	= 8
  1.7268 +//!					stop bits	= 1
  1.7269 +//!					parity		= none
  1.7270 +//!					flow control	= none
  1.7271 +//!				2. Change configuration
  1.7272 +//!					baud rate	= <baud>
  1.7273 +//!					data bits	= 8
  1.7274 +//!					stop bits	= 2
  1.7275 +//!					parity		= odd
  1.7276 +//!					flow control	= rtscts
  1.7277 +//!				3. Send data to com port without specifying the length of the data
  1.7278 +//!				4. Read data from com port specifying the length of the data
  1.7279 +//!				5. Restore configuration
  1.7280 +//!				6. Destroy the object
  1.7281 +//! @SYMTestStatus		Implemented
  1.7282 +//! @SYMTestPriority		High
  1.7283 +//! @SYMTestExpectedResults	Data read should be as expected
  1.7284 +//! @SYMTestType		CIT
  1.7285 +	START_TEST_BLOCK	80		t_serial			\base\serial\base-bsp-serial-driver-PORT<port>-<baud>.ini
  1.7286 +		CREATE_OBJECT	RBusDevComm	busDevComm
  1.7287 +		CREATE_OBJECT	TCommConfigV01	configSave
  1.7288 +		CREATE_OBJECT	TCommConfigV01	config
  1.7289 +		COMMAND		busDevComm	new
  1.7290 +		COMMAND		configSave	new
  1.7291 +		COMMAND		config		new
  1.7292 +		COMMAND		busDevComm	Open				BASE-BSP-SERIAL-DRIVER-PORT<port>-Open
  1.7293 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7294 +		COMMAND		busDevComm	Config				BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7295 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-ECHO-iRate
  1.7296 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-ECHO-iDataBits
  1.7297 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-ECHO-iStopBits
  1.7298 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-ECHO-iParity
  1.7299 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-ECHO-iHandshake
  1.7300 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7301 +
  1.7302 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-<baud>-8-2-odd-rtscts-Write_config
  1.7303 +		OUTSTANDING
  1.7304 +		COMMAND		config		iRate				BASE-BSP-SERIAL-DRIVER-iRate
  1.7305 +		COMMAND		config		iDataBits			BASE-BSP-SERIAL-DRIVER-EData8
  1.7306 +		COMMAND		config		iStopBits			BASE-BSP-SERIAL-DRIVER-EStop2
  1.7307 +		COMMAND		config		iParity				BASE-BSP-SERIAL-DRIVER-EParityOdd
  1.7308 +		COMMAND		config		iHandshake			BASE-BSP-SERIAL-DRIVER-HandshakeRtsCts
  1.7309 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-Config
  1.7310 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-ECHO-Read_config
  1.7311 +		OUTSTANDING
  1.7312 +
  1.7313 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-8-1001-Write
  1.7314 +		COMMAND		busDevComm	Read				BASE-BSP-SERIAL-DRIVER-8-1001-Read
  1.7315 +		OUTSTANDING
  1.7316 +
  1.7317 +		COMMAND		busDevComm	Write				BASE-BSP-SERIAL-DRIVER-ECHO-Write-Reset
  1.7318 +		OUTSTANDING
  1.7319 +		COMMAND		busDevComm	SetConfig			BASE-BSP-SERIAL-DRIVER-ECHO-ConfigSave
  1.7320 +		COMMAND		busDevComm	Close
  1.7321 +		COMMAND		config		~
  1.7322 +		COMMAND		configSave	~
  1.7323 +		COMMAND		busDevComm	~
  1.7324 +	END_TEST_BLOCK
  1.7325 +END_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_rtscts-1001
  1.7326 +
  1.7327 +
  1.7328 +START_TESTCASE			BASE-BSP-SERIAL-DRIVER-PORT<port>_<baud>_8_2_odd_rtscts-1002
  1.7329 +//! @SYMTestCaseID		BASE-BSP-SERIAL-DRIVER-PORT<port>_