From 6829c5ef8fe5a1a81a50446fb32fdf8733d09fe5 Mon Sep 17 00:00:00 2001 From: Vasily Kirichenko Date: Mon, 12 Jun 2017 18:07:17 +0300 Subject: [PATCH] add a test --- .../movePropertyToConstructor/declaredInInterface.kt | 5 +++++ .../kotlin/idea/intentions/IntentionTestGenerated.java | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 idea/testData/intentions/movePropertyToConstructor/declaredInInterface.kt 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");