summaryrefslogtreecommitdiffstats
path: root/src/quicktestlib/qdeclarativetestresult_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktestlib/qdeclarativetestresult_p.h')
-rw-r--r--src/quicktestlib/qdeclarativetestresult_p.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/quicktestlib/qdeclarativetestresult_p.h b/src/quicktestlib/qdeclarativetestresult_p.h
index c6720e0..3b0b592 100644
--- a/src/quicktestlib/qdeclarativetestresult_p.h
+++ b/src/quicktestlib/qdeclarativetestresult_p.h
@@ -55,7 +55,6 @@ class Q_TEST_QUICK_EXPORT QDeclarativeTestResult : public QObject
{
Q_OBJECT
Q_ENUMS(FunctionType)
- Q_PROPERTY(QString programName READ programName WRITE setProgramName NOTIFY programNameChanged)
Q_PROPERTY(QString testCaseName READ testCaseName WRITE setTestCaseName NOTIFY testCaseNameChanged)
Q_PROPERTY(QString functionName READ functionName WRITE setFunctionName NOTIFY functionNameChanged)
Q_PROPERTY(FunctionType functionType READ functionType WRITE setFunctionType NOTIFY functionTypeChanged)
@@ -80,9 +79,6 @@ public:
CleanupFunc = 4
};
- QString programName() const;
- void setProgramName(const QString &name);
-
QString testCaseName() const;
void setTestCaseName(const QString &name);
@@ -126,6 +122,13 @@ public Q_SLOTS:
bool expectFailContinue(const QString &tag, const QString &comment);
void warn(const QString &message);
+
+public:
+ // Helper functions for the C++ main() shell.
+ static void parseArgs(int argc, char *argv[]);
+ static void setProgramName(const char *name);
+ static int exitCode();
+
Q_SIGNALS:
void programNameChanged();
void testCaseNameChanged();