Provide plugin unit test for gtest code parsing

This test needs environment variable GOOGLETEST_DIR to point to
an existing checkout of the googletest repository, or it will
be skipped.

Change-Id: I1e0ba250da84143b50f70589113ab6d6ea3a5b73
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-12-10 13:46:04 +01:00
committed by Niels Weber
parent 1abd193bb2
commit 02281ad429
18 changed files with 343 additions and 0 deletions

View File

@@ -1079,6 +1079,11 @@ int TestCodeParser::unnamedQuickTestsCount() const
{
return m_unnamedQuickDocList.size();
}
int TestCodeParser::gtestNamesAndSetsCount() const
{
return m_gtestDocList.size();
}
#endif
} // namespace Internal