Skip to content

Commit 3ae21f3

Browse files
committed
Support generated-tests-on-the-fly out of box
1 parent a06bf75 commit 3ae21f3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

resources/META-INF/plugin.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737

3838
<lang.inspectionSuppressor language="kotlin" implementationClass="org.jetbrains.kotlin.test.helper.inspections.UnusedDeclarationSuppressor"/>
3939

40-
<registryKey defaultValue="false" description="Support on-the-fly-generated tests in Kotlin Compiler DevKit." key="kotlin.compiler.devkit.on.the.fly" />
41-
4240
<intentionAction>
4341
<language>kotlin</language>
4442
<className>org.jetbrains.kotlin.test.helper.intentions.CreateContextualOverloadIntention</className>

src/org/jetbrains/kotlin/test/helper/actions/collectTestMethods.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fun VirtualFile.collectTestDescriptions(
5151
): List<TestDescription> {
5252
val existing = collectTestMethodsIfTestData(project)
5353

54-
if (existing.isEmpty() && Registry.`is`("kotlin.compiler.devkit.on.the.fly", false)) {
54+
if (existing.isEmpty()) {
5555
return parentsWithSelf
5656
.drop(1)
5757
.takeWhile { it.getTestDataType(project) != null }

0 commit comments

Comments
 (0)