mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] (IDEA-280553) new line before @see link is supported + test removed to new place
GitOrigin-RevId: fc51a1eac878a808d68784e78b1e9f3ef5b619c4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f41e0fedfa
commit
249f244388
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
class JavaDocDeclaration {
|
||||
class JavaDocWithSpaces {
|
||||
/**
|
||||
* @see
|
||||
* java.util.ArrayList#spliterator
|
||||
+1
@@ -122,6 +122,7 @@ public class JavadocDeclarationHighlightingTest extends LightDaemonAnalyzerTestC
|
||||
public void testEmptySnippet() { doTest(); }
|
||||
public void testOnlyEmptyLinesInSnippet() { doTest(); }
|
||||
public void testSnippetInstructionsWithUnhandledThrowable() { doTest(); }
|
||||
public void testJavaDocWithSpaces() { doTest(); }
|
||||
|
||||
public void testIssueLinksInJavaDoc() {
|
||||
IssueNavigationConfiguration navigationConfiguration = IssueNavigationConfiguration.getInstance(getProject());
|
||||
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.codeInsight.javadoc
|
||||
|
||||
import com.intellij.JavaTestUtil
|
||||
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
|
||||
import com.intellij.codeInspection.javaDoc.JavadocDeclarationInspection
|
||||
|
||||
|
||||
class JavadocDeclarationInspectionTest : LightJavaCodeInsightFixtureTestCase() {
|
||||
override fun getBasePath(): String {
|
||||
return JavaTestUtil.getRelativeJavaTestDataPath() + "/inspection/javaDoc/"
|
||||
}
|
||||
|
||||
fun testJavaDocDeclaration() {
|
||||
doTest()
|
||||
}
|
||||
|
||||
private fun doTest() {
|
||||
myFixture.configureByFile(getTestName(false) + ".java")
|
||||
myFixture.enableInspections(JavadocDeclarationInspection())
|
||||
myFixture.testHighlighting(true, false, false)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user