diff --git a/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/GroovyMapAttributeTest.groovy b/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/GroovyMapAttributeTest.groovy index 5504d04a1c1d..c1522103a1e2 100644 --- a/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/GroovyMapAttributeTest.groovy +++ b/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/GroovyMapAttributeTest.groovy @@ -15,9 +15,9 @@ */ package org.jetbrains.plugins.groovy.lang -import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase import com.intellij.codeInsight.completion.CompletionType import com.intellij.codeInsight.lookup.LookupElement +import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase import org.jetbrains.plugins.groovy.codeInspection.assignment.GroovyAssignabilityCheckInspection import org.jetbrains.plugins.groovy.codeInspection.assignment.GroovyUncheckedAssignmentOfMemberOfRawTypeInspection @@ -127,7 +127,7 @@ class Aaa { new Aaa() } } -""", false) +""", true) } public void testHasHashMapConstructor() { @@ -145,7 +145,7 @@ class Aaa { new Aaa() } } -""", false) +""", true) } public void testMapNotFirstConstructor() { @@ -215,7 +215,7 @@ class Aaa { new Aaa() } } -""", false) +""", true) } public void testAlreadyHasNonMapParameter() { diff --git a/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/resolve/ResolvePropertyTest.groovy b/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/resolve/ResolvePropertyTest.groovy index 17f50561240b..7ed529265f72 100644 --- a/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/resolve/ResolvePropertyTest.groovy +++ b/plugins/groovy/test/org/jetbrains/plugins/groovy/lang/resolve/ResolvePropertyTest.groovy @@ -166,11 +166,6 @@ public class ResolvePropertyTest extends GroovyResolveTestCase { assertEquals(CommonClassNames.JAVA_LANG_OBJECT, ((GrMethod) resolved).returnType.canonicalText); } - public void testNotAField() throws Exception { - PsiReference ref = configureByFile("notAField/A.groovy"); - assertNull(ref.resolve()); - } - public void testUndefinedVar2() throws Exception { doUndefinedVarTest("undefinedVar2/A.groovy"); }