diff options
author | aavit <qt_aavit@ovi.com> | 2012-08-13 14:13:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-26 04:03:48 +0200 |
commit | aa9728450cc515c66545323646c66d826a1af50a (patch) | |
tree | e309abb926ca9fe8da2d1784d0db4a8db9305c1e /tests/baselineserver/shared/qbaselinetest.h | |
parent | bf05abddfd542a0568138d533d1f401d32b65e8c (diff) |
Misc. updates to the lancelot autotest framework
Moving more logic into the protocol and framework, easening
the burden on the autotest implementation.
Implementing several new features in the server and
report, like fuzzy matching and static baselines.
Change-Id: Iaf070918195ae05767808a548f019d09d9d5f8c0
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'tests/baselineserver/shared/qbaselinetest.h')
-rw-r--r-- | tests/baselineserver/shared/qbaselinetest.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/baselineserver/shared/qbaselinetest.h b/tests/baselineserver/shared/qbaselinetest.h index 40f4160e60..0bcfefa056 100644 --- a/tests/baselineserver/shared/qbaselinetest.h +++ b/tests/baselineserver/shared/qbaselinetest.h @@ -45,9 +45,15 @@ #include <QTest> namespace QBaselineTest { -bool checkImage(const QImage& img, const char *name, quint16 checksum, QByteArray *msg, bool *error); +void setAutoMode(bool mode); +void setSimFail(bool fail); +void handleCmdLineArgs(int *argcp, char ***argvp); +void addClientProperty(const QString& key, const QString& value); +bool connectToBaselineServer(QByteArray *msg = 0, const QString &testProject = QString(), const QString &testCase = QString()); +bool checkImage(const QImage& img, const char *name, quint16 checksum, QByteArray *msg, bool *error, int manualdatatag = 0); bool testImage(const QImage& img, QByteArray *msg, bool *error); QTestData &newRow(const char *dataTag, quint16 checksum = 0); +bool disconnectFromBaselineServer(); } #define QBASELINE_CHECK_SUM(image, name, checksum)\ |