forked from qt-creator/qt-creator
Clang: Add disabled test case for HighlightingMarks
Constructors are not recognized by libClang as callable expressions. Task-number: QTCREATORBUG-17101 Change-Id: I40eb46c07475e3b2e48bc8117de073732005f8b9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -1059,6 +1059,16 @@ TEST_F(HighlightingMarks, NonConstPointerArgumentAsMemberOfClass)
|
||||
HasTwoTypes(HighlightingType::Field, HighlightingType::OutputArgument));
|
||||
}
|
||||
|
||||
TEST_F(HighlightingMarks, DISABLED_NonConstReferenceArgumentConstructor)
|
||||
{
|
||||
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(540, 57));
|
||||
|
||||
infos[2];
|
||||
|
||||
ASSERT_THAT(infos[3],
|
||||
HasTwoTypes(HighlightingType::LocalVariable, HighlightingType::OutputArgument));
|
||||
}
|
||||
|
||||
TEST_F(HighlightingMarks, DISABLED_EnumerationTypeDef)
|
||||
{
|
||||
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(424, 41));
|
||||
|
||||
Reference in New Issue
Block a user