summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/toolsupport
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2015-04-24 19:02:02 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2016-01-27 06:32:30 +0000
commit1c0494e63b2750bc4de61ff6f3f07f2d3cab2dbd (patch)
treef0c83d153e17a29f682fc7372fdfc3b9acc160ea /tests/auto/other/toolsupport
parentacbd79996d7dedd65cda98bd1b0f15690f0271e4 (diff)
QIODevice: add infrastructure for multistreaming
Some sequential devices allow data to be partitioned into several channels that have the property of independently sequenced delivery. Supporting such devices uniformly requires a unified API which provides the user with a uniform concept of multistreaming. This patch is based on QProcess's multiplexing model and introduces the following features: - ability to get the number of channels; - multiple internal read/write buffers; - channel selection functions; - notification signals on channel activity. To keep the source code compatible with single-channel implementations, introduce a private class that references the current read buffer and hides multistreaming internals from the user. Bump the TypeInformationVersion field in qtHookData, to notify the Qt Creator developers that the offset of QFilePrivate::fileName was changed and dumpers should be adapted. [ChangeLog][QtCore] Added multistreaming to QIODevice. Change-Id: Idcaa6a618927c101c4c7284d2a633913be6a6ee2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/other/toolsupport')
-rw-r--r--tests/auto/other/toolsupport/tst_toolsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp
index 93cbb2809d..518d3947ab 100644
--- a/tests/auto/other/toolsupport/tst_toolsupport.cpp
+++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp
@@ -124,7 +124,7 @@ void tst_toolsupport::offsets_data()
{
QTestData &data = QTest::newRow("QFilePrivate::fileName")
<< pmm_to_offsetof(&QFilePrivate::fileName);
- data << 184 << 256;
+ data << 188 << 272;
}
#endif