Clang: Rename ModelManagerSupportClang::instance to instance_forTestsOnly

To make it clear that it is for testing only.

Change-Id: If257b0049e87c834b24073991f173bfc1b3e93e7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-07-06 11:15:12 +02:00
parent 9d5c85a635
commit 5c74f34ebf
3 changed files with 16 additions and 11 deletions

View File

@@ -60,8 +60,9 @@ public:
IpcCommunicator &ipcCommunicator();
public: // for tests
static ModelManagerSupportClang *instance();
#ifdef QT_TESTLIB_LIB
static ModelManagerSupportClang *instance_forTestsOnly();
#endif
private:
void onEditorOpened(Core::IEditor *editor);