mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[kotlin] KTIJ-28142 tests generation added
partially reverts ca84320a7c964be55342eddf90701ee00026420d GitOrigin-RevId: 34e3c85c4ad57c37982d47ee016babb790213453
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b42efe1a2d
commit
5965425c49
@@ -42,4 +42,9 @@ public class FirRenderingKDocTestGenerated extends AbstractFirRenderingKDocTest
|
||||
public void testPropertyRendering() throws Exception {
|
||||
runTest("../../idea/tests/testData/codeInsight/renderingKDoc/propertyRendering.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("trickyMarkdown.kt")
|
||||
public void testTrickyMarkdown() throws Exception {
|
||||
runTest("../../idea/tests/testData/codeInsight/renderingKDoc/trickyMarkdown.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ package org.jetbrains.kotlin.fir.testGenerator.codeinsight
|
||||
|
||||
import org.jetbrains.kotlin.idea.k2.AbstractK2ExpressionTypeTest
|
||||
import org.jetbrains.kotlin.idea.k2.AbstractKotlinFirBreadcrumbsTest
|
||||
import org.jetbrains.kotlin.idea.k2.AbstractKotlinFirJoinLinesTest
|
||||
import org.jetbrains.kotlin.idea.k2.AbstractKotlinFirPairMatcherTest
|
||||
import org.jetbrains.kotlin.idea.k2.hints.AbstractKtCallChainHintsProviderTest
|
||||
import org.jetbrains.kotlin.idea.k2.hints.AbstractKtLambdasHintsProvider
|
||||
import org.jetbrains.kotlin.idea.k2.hints.AbstractKtParameterHintsProviderTest
|
||||
@@ -10,6 +12,7 @@ import org.jetbrains.kotlin.idea.k2.hints.AbstractKtRangesHintsProviderTest
|
||||
import org.jetbrains.kotlin.idea.k2.hints.AbstractKtReferenceTypeHintsProviderTest
|
||||
import org.jetbrains.kotlin.idea.k2.moveUpDown.AbstractFirMoveLeftRightTest
|
||||
import org.jetbrains.kotlin.idea.k2.moveUpDown.AbstractKotlinFirMoveStatementTest
|
||||
import org.jetbrains.kotlin.idea.k2.quickDoc.AbstractFirRenderingKDocTest
|
||||
import org.jetbrains.kotlin.idea.k2.structureView.AbstractKotlinGoToSuperDeclarationsHandlerTest
|
||||
import org.jetbrains.kotlin.idea.k2.surroundWith.AbstractKotlinFirSurroundWithTest
|
||||
import org.jetbrains.kotlin.idea.k2.unwrap.AbstractKotlinFirUnwrapRemoveTest
|
||||
@@ -55,6 +58,9 @@ internal fun MutableTWorkspace.generateK2CodeInsightTests() {
|
||||
testClass<AbstractKotlinFirBreadcrumbsTest> {
|
||||
model("../../../idea/tests/testData/codeInsight/breadcrumbs", pattern = KT_OR_KTS)
|
||||
}
|
||||
testClass<AbstractKotlinFirPairMatcherTest> {
|
||||
model("../../../idea/tests/testData/codeInsight/pairMatcher")
|
||||
}
|
||||
testClass<AbstractKotlinFirUnwrapRemoveTest> {
|
||||
model("../../../idea/tests/testData/codeInsight/unwrapAndRemove/removeExpression", testMethodName = "doTestExpressionRemover")
|
||||
model("../../../idea/tests/testData/codeInsight/unwrapAndRemove/unwrapThen", testMethodName = "doTestThenUnwrapper")
|
||||
@@ -103,5 +109,13 @@ internal fun MutableTWorkspace.generateK2CodeInsightTests() {
|
||||
testClass<AbstractKtCallChainHintsProviderTest> {
|
||||
model("../../../idea/tests/testData/codeInsight/hints/chainCall", pattern = inlayHintsFileRegexp)
|
||||
}
|
||||
|
||||
testClass<AbstractFirRenderingKDocTest> {
|
||||
model("../../../idea/tests/testData/codeInsight/renderingKDoc")
|
||||
}
|
||||
|
||||
testClass<AbstractKotlinFirJoinLinesTest> {
|
||||
model("../../../idea/tests/testData/joinLines")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user