From abca7107a73f3f9ccea6443cbb26c69e54ffa633 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 15 Oct 2015 21:14:08 +0300 Subject: [PATCH] Fix test data for convert function/property to property/function test (cherry picked from commit e78c26a) --- .../intentions/convertFunctionToProperty/javaUsages.1.java | 2 +- .../convertFunctionToProperty/javaUsages.1.java.after | 2 +- .../convertPropertyToFunction/propertyCallGroovy.1.groovy | 2 +- .../intentions/convertPropertyToFunction/propertyCallGroovy.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java b/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java index 9512eecc61a..1f263721b73 100644 --- a/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java +++ b/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java @@ -1,4 +1,4 @@ -import static test.TestPackage.foo; +import static test.JavaUsagesKt.foo; class J { void test() { diff --git a/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java.after b/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java.after index 3f3fbb5e085..1831f17a91c 100644 --- a/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java.after +++ b/idea/testData/intentions/convertFunctionToProperty/javaUsages.1.java.after @@ -1,4 +1,4 @@ -import static test.TestPackage.getFoo; +import static test.JavaUsagesKt.getFoo; class J { void test() { diff --git a/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.1.groovy b/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.1.groovy index f2bed79753a..8f6d0ed5ee6 100644 --- a/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.1.groovy +++ b/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.1.groovy @@ -1,5 +1,5 @@ class G { void test() { - test.TestPackage.bar; + test.PropertyCallGroovyKt.bar; } } \ No newline at end of file diff --git a/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.kt b/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.kt index 6b6e368cb16..bfa495f12d1 100644 --- a/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.kt +++ b/idea/testData/intentions/convertPropertyToFunction/propertyCallGroovy.kt @@ -1,4 +1,4 @@ -// SHOULD_FAIL_WITH: Can't replace foreign reference with call expression: test.TestPackage.bar +// SHOULD_FAIL_WITH: Can't replace foreign reference with call expression: test.PropertyCallGroovyKt.bar package test val bar: Int