summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/gnumakeparser.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-03-12 17:01:04 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2010-03-15 12:28:05 +0100
commitd9e573fbcaa11521d4955ca574c4c4c2400e7be1 (patch)
tree6bb2f5687b565b4426ea455fb54cf2a873c9390a /src/plugins/projectexplorer/gnumakeparser.h
parent80b60b9906dc0f11215ffe4a4e0a681375c14455 (diff)
downloadqt-creator-d9e573fbcaa11521d4955ca574c4c4c2400e7be1.tar.gz
Add unit tests for gnumake parser
* Improve parser to recognize gnu make errors.
Diffstat (limited to 'src/plugins/projectexplorer/gnumakeparser.h')
-rw-r--r--src/plugins/projectexplorer/gnumakeparser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/gnumakeparser.h b/src/plugins/projectexplorer/gnumakeparser.h
index 30f82bca8c..4333756223 100644
--- a/src/plugins/projectexplorer/gnumakeparser.h
+++ b/src/plugins/projectexplorer/gnumakeparser.h
@@ -46,6 +46,8 @@ public:
virtual void stdOutput(const QString &line);
+ QStringList searchDirectories() const;
+
public slots:
virtual void taskAdded(const ProjectExplorer::Task &task);
@@ -54,7 +56,13 @@ private:
void removeDirectory(const QString &dir);
QRegExp m_makeDir;
+ QRegExp m_makeLine;
+
QStringList m_directories;
+
+#if defined WITH_TESTS
+ friend class ProjectExplorerPlugin;
+#endif
};
} // namespace ProjectExplorer