summaryrefslogtreecommitdiffstats
path: root/tests/arthur/common/baselineprotocol.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-11-25 15:25:06 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-11-25 15:25:06 (GMT)
commit6f5ed5836bd96b69d47aa3260118b3b49dddc82f (patch)
tree278042aabe225b7880b0e311756cfbdd60082c08 /tests/arthur/common/baselineprotocol.h
parent0061b98d2c9074950e5d9d8ec8ec5ab77067aedc (diff)
parentb3df558742f6eab6971f2c483bba19c308b7d1ff (diff)
downloadQt-6f5ed5836bd96b69d47aa3260118b3b49dddc82f.zip
Qt-6f5ed5836bd96b69d47aa3260118b3b49dddc82f.tar.gz
Qt-6f5ed5836bd96b69d47aa3260118b3b49dddc82f.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Stream raw image data instead of PNG: more info, and faster. Generate thumbnails for faster loading of the web reports Separate reports from adhoc and pulse runs Add cmd to simulate testfail. Misc server improvements. Added command to clear all baselines
Diffstat (limited to 'tests/arthur/common/baselineprotocol.h')
-rw-r--r--tests/arthur/common/baselineprotocol.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/arthur/common/baselineprotocol.h b/tests/arthur/common/baselineprotocol.h
index 9f59454..baffb4a 100644
--- a/tests/arthur/common/baselineprotocol.h
+++ b/tests/arthur/common/baselineprotocol.h
@@ -84,6 +84,9 @@ public:
QString engineAsString() const;
QString formatAsString() const;
+ void writeImageToStream(QDataStream &stream) const;
+ void readImageFromStream(QDataStream &stream);
+
enum ItemStatus {
Ok = 0,
BaselineNotFound = 1,
@@ -105,7 +108,7 @@ public:
quint16 scriptChecksum;
};
QDataStream & operator<< (QDataStream &stream, const ImageItem &ii);
-QDataStream & operator>> (QDataStream& stream, ImageItem& ii);
+QDataStream & operator>> (QDataStream &stream, ImageItem& ii);
Q_DECLARE_METATYPE(ImageItem);
@@ -121,7 +124,7 @@ public:
// Important constants here
// ****************************************************
enum Constant {
- ProtocolVersion = 2,
+ ProtocolVersion = 3,
ServerPort = 54129,
Timeout = 5000
};