diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2014-07-11 16:32:28 +0400 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2014-07-26 11:26:43 +0200 |
commit | 76f293bfb0fd7bab391f96ac822eacc40e4c5176 (patch) | |
tree | 67d8cb9352cb4535ee72494b74ce9692125e4bdc /tests/tests.pro | |
parent | 7328fe502a08ff26d70ee5d137e554a77a118f9b (diff) | |
download | qtserialport-76f293bfb0fd7bab391f96ac822eacc40e4c5176.tar.gz |
Add the synchronous loopback data verification test
Good reason to check of data correctness at transferring and receiving.
In this test are used two serial ports, connected in a null-modem mode:
http://en.wikipedia.org/wiki/Null_modem .
The sender port transfers data to the receiver port. After data are
received is carried out check of equivalence of the transferred and
received data.
Before run of testing it is necessary to set two variable environments
QTEST_SERIALPORT_SENDER and QTEST_SERIALPORT_RECEIVER to specify names
of used serial ports.
This test can reveal errors related with the internal data processing
and also errors of synchronous I/O inside of QSerialPort.
This test is placed in separate "benchmarks" category not to mix-up
with "manual" and "auto" categories, because this test is closer to
"benchmarks" by own functionality.
Tested on Windows 7/8 with the virtual com0com serial ports, using
Qt4 and then Qt5.
Change-Id: Ie6f87b50784bce211cf68c16cf75f79d12a8564f
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r-- | tests/tests.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.pro b/tests/tests.pro index dcc8531..dc3e10c 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,2 +1,2 @@ TEMPLATE = subdirs -SUBDIRS += auto manual +SUBDIRS += auto manual benchmarks |