forked from qt-creator/qt-creator
AutoTest: Do not lose information of base classes
In case the base class is defined outside of the file with the derived class we are missing the correct entry point. Work around this by getting alternative entry points beforehand and using them if we cannot find a valid entry point. Task-number: QTCREATORBUG-17522 Change-Id: I07ef87b2fcdac4f78240da9e57eaa518ff0f4d20 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -35,6 +35,7 @@ namespace QTestUtils {
|
||||
|
||||
bool isQTestMacro(const QByteArray ¯o);
|
||||
QHash<QString, QString> testCaseNamesForFiles(const Core::Id &id, const QStringList &files);
|
||||
QMultiHash<QString, QString> alternativeFiles(const Core::Id &id, const QStringList &files);
|
||||
|
||||
} // namespace QTestUtils
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user