CppEditor: Tests: Use QTemporaryDir and avoid writing into creator source tree

This should improve results of CI tests where multiple creator instances
execute the plugin tests.

Change-Id: I557a0964568655662108df201589ba369096f4bf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2014-12-10 17:03:49 +01:00
parent 71c27ba4cc
commit d9c70f43d9
7 changed files with 198 additions and 113 deletions

View File

@@ -82,6 +82,8 @@ protected:
QList<QuickFixTestDocument::Ptr> m_testDocuments;
private:
QScopedPointer<CppTools::Tests::TemporaryDir> m_temporaryDirectory;
CppTools::CppCodeStylePreferences *m_cppCodeStylePreferences;
QByteArray m_cppCodeStylePreferencesOriginalDelegateId;