summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppdoxygen_test.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-01-08 10:38:20 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-01-08 10:38:20 +0100
commitb5b47f7df2a70064f5e1041cefb18636d20d0bd4 (patch)
tree7f57b886355129a7dd13611787b7de96065dde3a /src/plugins/cppeditor/cppdoxygen_test.cpp
parent0a5186700c036a541f5fa0baebb5e9ce0d506fed (diff)
parentecd9c4c813be37dec46514462f1fcba901165a93 (diff)
downloadqt-creator-b5b47f7df2a70064f5e1041cefb18636d20d0bd4.tar.gz
Merge remote-tracking branch 'origin/3.3'
Conflicts: src/plugins/cppeditor/cppdocumentationcommenthelper.cpp Change-Id: I2cf25eba1de149765a6c44ad354d606ce9de512d
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r--src/plugins/cppeditor/cppdoxygen_test.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp
index 3d3b7e0d5a..fbc5443d71 100644
--- a/src/plugins/cppeditor/cppdoxygen_test.cpp
+++ b/src/plugins/cppeditor/cppdoxygen_test.cpp
@@ -261,6 +261,24 @@ void CppEditorPlugin::test_doxygen_comments_data()
"void d(); ///\n"
"\n"
);
+
+ QTest::newRow("noContinuationForExpressionAndComment1") << _(
+ "bool preventFolding;\n"
+ "*foo //|\n"
+ ) << _(
+ "bool preventFolding;\n"
+ "*foo //\n"
+ "\n"
+ );
+
+ QTest::newRow("noContinuationForExpressionAndComment2") << _(
+ "bool preventFolding;\n"
+ "*foo /*|\n"
+ ) << _(
+ "bool preventFolding;\n"
+ "*foo /*\n"
+ " \n"
+ );
}
void CppEditorPlugin::test_doxygen_comments()