summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppdoxygen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r--src/plugins/cppeditor/cppdoxygen_test.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp
index 9fc6f1575c..9511b6df6e 100644
--- a/src/plugins/cppeditor/cppdoxygen_test.cpp
+++ b/src/plugins/cppeditor/cppdoxygen_test.cpp
@@ -81,6 +81,21 @@ void DoxygenTest::testBasic_data()
"int a;\n"
);
+ QTest::newRow("qt_style_cursor_before_existing_comment") << _(
+ "bool preventFolding;\n"
+ "/*!|\n"
+ " * \\brief something\n"
+ " */\n"
+ "int a;\n"
+ ) << _(
+ "bool preventFolding;\n"
+ "/*!\n"
+ " * \n"
+ " * \\brief something\n"
+ " */\n"
+ "int a;\n"
+ );
+
QTest::newRow("qt_style_continuation") << _(
"bool preventFolding;\n"
"/*!\n"