diff options
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index c9c40a8dd8..7e2781a6ce 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -326,6 +326,20 @@ void DoxygenTest::testBasic_data() "};\n" ); + QTest::newRow("classTemplate") << _( + "bool preventFolding;\n" + "/**|\n" + "template<typename T> class C {\n" + "};\n" + ) << _( + "bool preventFolding;\n" + "/**\n" + " * @brief The C class\n" + " */\n" + "template<typename T> class C {\n" + "};\n" + ); + QTest::newRow("continuation_after_text_in_first_line") << _( "bool preventFolding;\n" "/*! leading comment|\n" |