CppTools: Tests: Allow to check only project relevant state

Needed for ClangCodeModel.

If editors are open, the global snapshot and working copy will not be
empty.

Change-Id: I0d1bab8e082a7f41630c7b1b78febe2da009298b
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-05-08 12:19:08 +02:00
parent 9425812066
commit c5c57dca0c
4 changed files with 16 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ class CPPTOOLS_EXPORT VerifyCleanCppModelManager
public:
VerifyCleanCppModelManager();
~VerifyCleanCppModelManager();
static bool isClean();
static bool isClean(bool testCleanedProjects = true);
};
class FileWriterAndRemover