|
|
@@ -100,27 +100,33 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
|
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/addForLoopIndices"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), true);
|
|
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/addForLoopIndices"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("explicitParamType.kt")
|
|
|
|
|
|
|
|
public void testExplicitParamType() throws Exception {
|
|
|
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/explicitParamType.kt");
|
|
|
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("inapplicableExistingIndices.kt")
|
|
|
|
@TestMetadata("inapplicableExistingIndices.kt")
|
|
|
|
public void testInapplicableExistingIndices() throws Exception {
|
|
|
|
public void testInapplicableExistingIndices() throws Exception {
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt");
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableExistingIndices.kt");
|
|
|
|
doTest(fileName);
|
|
|
|
doTest(fileName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("inapplicableOnMap.kt")
|
|
|
|
|
|
|
|
public void testInapplicableOnMap() throws Exception {
|
|
|
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableOnMap.kt");
|
|
|
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("inapplicableOverridenFunction.kt")
|
|
|
|
@TestMetadata("inapplicableOverridenFunction.kt")
|
|
|
|
public void testInapplicableOverridenFunction() throws Exception {
|
|
|
|
public void testInapplicableOverridenFunction() throws Exception {
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt");
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableOverridenFunction.kt");
|
|
|
|
doTest(fileName);
|
|
|
|
doTest(fileName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("inapplicableSyntaxError.kt")
|
|
|
|
@TestMetadata("inapplicableUnresolved.kt")
|
|
|
|
public void testInapplicableSyntaxError() throws Exception {
|
|
|
|
public void testInapplicableUnresolved() throws Exception {
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableSyntaxError.kt");
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableUnresolved.kt");
|
|
|
|
doTest(fileName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("inapplicableUnorderedCollection.kt")
|
|
|
|
|
|
|
|
public void testInapplicableUnorderedCollection() throws Exception {
|
|
|
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/inapplicableUnorderedCollection.kt");
|
|
|
|
|
|
|
|
doTest(fileName);
|
|
|
|
doTest(fileName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@@ -136,12 +142,6 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
|
|
|
doTest(fileName);
|
|
|
|
doTest(fileName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("listWithType.kt")
|
|
|
|
|
|
|
|
public void testListWithType() throws Exception {
|
|
|
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/listWithType.kt");
|
|
|
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TestMetadata("objectArray.kt")
|
|
|
|
@TestMetadata("objectArray.kt")
|
|
|
|
public void testObjectArray() throws Exception {
|
|
|
|
public void testObjectArray() throws Exception {
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/objectArray.kt");
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/objectArray.kt");
|
|
|
|