Removed test which did not work by some reason

This commit is contained in:
Valentin Kipyatkov
2015-10-18 14:05:55 +03:00
parent 963a8992b1
commit 734d3f4fca
4 changed files with 0 additions and 35 deletions
@@ -1,12 +0,0 @@
import java.util.List;
public abstract class JavaMethods implements List<String> {
@Override
public String get(int i) {
return null;
}
public int get(String s, int p) {
return 1;
}
}
@@ -61,13 +61,4 @@
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>javaMethods.kt</file>
<line>6</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="javaMethods.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
</problems>
@@ -1,8 +0,0 @@
// DISABLE-ERRORS
// IS_APPLICABLE: false
import JavaMethods
fun foo(javaClass: JavaMethods) {
val v1 = javaClass.get(1)
val v2 = javaClass.get("a", 1)
}
@@ -2765,12 +2765,6 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest(fileName);
}
@TestMetadata("javaMethods.kt")
public void testJavaMethods() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGet/javaMethods.kt");
doTest(fileName);
}
@TestMetadata("missingDefaultArgument.kt")
public void testMissingDefaultArgument() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/conventionNameCalls/replaceGet/missingDefaultArgument.kt");