forked from qt-creator/qt-creator
ClangFormat: Add xfailing unit test
Task-number: QTCREATORBUG-25966 Change-Id: If8f28bd5195f2681cca209b41bcc93fad0695541 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -957,6 +957,28 @@ TEST_F(ClangFormat, ChainedMemberFunctionCalls)
|
||||
" .func();"));
|
||||
}
|
||||
|
||||
TEST_F(ClangFormat, DISABLED_CommentBlock)
|
||||
{
|
||||
insertLines({"/****************************************************************************",
|
||||
"**",
|
||||
"** Copyright (C) 2021 The Qt Company Ltd.",
|
||||
"** Contact: https://www.qt.io/licensing/",
|
||||
"**",
|
||||
"** This file is part of Qt Creator.",
|
||||
"**",
|
||||
"****************************************************************************/"});
|
||||
indenter.indent(cursor, QChar::Null, TextEditor::TabSettings());
|
||||
ASSERT_THAT(documentLines(), ElementsAre(
|
||||
"/****************************************************************************",
|
||||
"**",
|
||||
"** Copyright (C) 2021 The Qt Company Ltd.",
|
||||
"** Contact: https://www.qt.io/licensing/",
|
||||
"**",
|
||||
"** This file is part of Qt Creator.",
|
||||
"**",
|
||||
"****************************************************************************/"));
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user