mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[javadoc] IDEA-370761 IDEA-377509 IDEA-378914 Add test to avoid regressions
For a reason that I did not investigate, the issue doesn't manifest on the master branch. It does on the release version (2025.2) though, so this test should act as a safeguard. GitOrigin-RevId: 5cdc932f15d444af6fe40cf2781dcce66f4e27ac
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9763bb6bce
commit
839d31254e
@@ -0,0 +1,14 @@
|
||||
public interface GenericInterfaceWithMarkdown<A> {
|
||||
|
||||
/// For some reason, markdown comments break
|
||||
/// generated implementation in the current release (2025.2)
|
||||
/// but not on master, so here's a test
|
||||
A functionWithMarkdown();
|
||||
}
|
||||
|
||||
class DefaultImpl implements GenericInterfaceWithMarkdown<String> {
|
||||
@Override
|
||||
public String functionWithMarkdown() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public interface GenericInterfaceWithMarkdown<A> {
|
||||
|
||||
/// For some reason, markdown comments break
|
||||
/// generated implementation in the current release (2025.2)
|
||||
/// but not on master, so here's a test
|
||||
A functionWithMarkdown();
|
||||
}
|
||||
|
||||
class DefaultImpl implements GenericInterfaceWithMarkdown<String> {
|
||||
<caret>
|
||||
}
|
||||
@@ -702,6 +702,10 @@ public class OverrideImplementTest extends LightJavaCodeInsightFixtureTestCase {
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
public void testMarkdownComment() {
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
private void doTest(boolean toImplement) {
|
||||
final String name = getTestName(false);
|
||||
myFixture.configureByFile("before" + name + ".java");
|
||||
|
||||
Reference in New Issue
Block a user