diff --git a/idea/testData/intentions/movePropertyToConstructor/declaredInInterface.kt b/idea/testData/intentions/movePropertyToConstructor/declaredInInterface.kt new file mode 100644 index 00000000000..0d28d814d51 --- /dev/null +++ b/idea/testData/intentions/movePropertyToConstructor/declaredInInterface.kt @@ -0,0 +1,5 @@ +// IS_APPLICABLE: false + +interface MyInterface { + val prop5: Int +} \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java index a541f118a67..b9fad291c01 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java @@ -11630,6 +11630,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest { doTest(fileName); } + @TestMetadata("declaredInInterface.kt") + public void testDeclaredInInterface() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/movePropertyToConstructor/declaredInInterface.kt"); + doTest(fileName); + } + @TestMetadata("delegated.kt") public void testDelegated() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/movePropertyToConstructor/delegated.kt");