Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.1, Qt Creator 4.5.0-beta1
-
None
-
0d87abee8bb71f0d6e2115402f427689f1840eb5
Description
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.