"Rename on import" hides importing of the same symbol by other imports with the original name

This commit is contained in:
Valentin Kipyatkov
2016-01-13 20:22:40 +03:00
parent 47041885ca
commit 5a079defc7
13 changed files with 111 additions and 32 deletions
@@ -125,6 +125,12 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
doTest(fileName);
}
@TestMetadata("RenameOnImportHidesDefaultImport.kt")
public void testRenameOnImportHidesDefaultImport() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/RenameOnImportHidesDefaultImport.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)