-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.1, Qt Creator 4.5.0-beta1
-
None
-
0d87abee8bb71f0d6e2115402f427689f1840eb5
I have a class (TestLib) and an according test class (TestLibTest). The test class needs access to the private members/methods of the TestLib class. For this, the TestLib class has a forward declaration of the TestLibTest class and declares it as friend.
In this constellation, the test won't show up in Qt Creators tests pane. Only if the forward declaration of the test class is removed, the test will show up aftetr a new scan for tests.
For Gerrit Dashboard: QTCREATORBUG-19319 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
211927,2 | AutoTest: Fix handling of forward declared test classes | 4.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |