From 3d4fc578bd5cc0b6d39d16638aa6f3577eb31f69 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Fri, 10 Aug 2012 17:21:30 +0200 Subject: Auto test for 'qmake -project' use case. Change-Id: Ifb6d64828ba1cb42fd64299438b7eec302112edf Reviewed-by: Oswald Buddenhagen --- tests/auto/tools/qmake/testcompiler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/auto/tools/qmake/testcompiler.h') 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 -- cgit v1.2.3