summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testcompiler.h
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@kdab.com>2012-08-10 17:21:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-04 10:30:33 +0200
commit3d4fc578bd5cc0b6d39d16638aa6f3577eb31f69 (patch)
treedeb4fa0473e37de48a6a299a0f9a6b65aea29f47 /tests/auto/tools/qmake/testcompiler.h
parent53d0829aa1552dd1c7d5da008ec4b1a4052a7e5a (diff)
Auto test for 'qmake -project' use case.
Change-Id: Ifb6d64828ba1cb42fd64299438b7eec302112edf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests/auto/tools/qmake/testcompiler.h')
-rw-r--r--tests/auto/tools/qmake/testcompiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testcompiler.h b/tests/auto/tools/qmake/testcompiler.h
index 8aed3a9987..137ffc9f54 100644
--- a/tests/auto/tools/qmake/testcompiler.h
+++ b/tests/auto/tools/qmake/testcompiler.h
@@ -66,6 +66,8 @@ public:
bool makeClean( const QString &workPath );
// executes a make dist clean in the specified workPath
bool makeDistClean( const QString &workPath );
+ // executes a qmake -project on the specified workDir
+ bool qmakeProject( const QString &workDir, const QString &proName );
// executes a qmake on proName in the specified workDir, output goes to buildDir or workDir if it's null
bool qmake( const QString &workDir, const QString &proName, const QString &buildDir = QString() );
// executes a make in the specified workPath, with an optional target (eg. install)
@@ -74,6 +76,10 @@ public:
bool exists( const QString &destDir, const QString &exeName, BuildType buildType, const QString &version );
// removes the makefile
bool removeMakefile( const QString &workPath );
+ // removes the project file specified by 'project' on the 'workPath'
+ bool removeProject( const QString &workPath, const QString &project );
+ // removes the file specified by 'fileName' on the 'workPath'
+ bool removeFile( const QString &workPath, const QString &fileName );
// returns each line of stdout of the last command append with a "new line" character(s) to suit the platform
QString commandOutput() const;
// clear the results of storage of stdout for running previous commands