diff options
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index 6a258f2dfc..01fc5bf2a8 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -205,6 +205,17 @@ void DoxygenTest::testBasic_data() " int a;\n" ); + QTest::newRow("cpp_styleA_indented_preserve_mixed_indention_continuation") << _( + "\t bool preventFolding;\n" + "\t /// \brief a|\n" + "\t int a;\n" + ) << _( + "\t bool preventFolding;\n" + "\t /// \brief a\n" + "\t /// \n" + "\t int a;\n" + ); + /// test cpp style doxygen comment continuation when inside a indented scope QTest::newRow("cpp_styleA_indented_continuation") << _( " bool preventFolding;\n" |