Auto-import popup to import global properties

#KT-4541 Fixed
 #KT-3097 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-08-13 18:33:52 +04:00
parent f8e2841c2b
commit ae9eb19f39
13 changed files with 194 additions and 20 deletions
@@ -154,6 +154,11 @@ public class QuickFixMultiFileTestGenerated extends AbstractQuickFixMultiFileTes
doTestWithExtraFile("idea/testData/quickfix/autoImports/postfixOperator.before.Main.kt");
}
@TestMetadata("propertyImport.before.Main.kt")
public void testPropertyImport() throws Exception {
doTestWithExtraFile("idea/testData/quickfix/autoImports/propertyImport.before.Main.kt");
}
@TestMetadata("timesAssign.before.Main.kt")
public void testTimesAssign() throws Exception {
doTestWithExtraFile("idea/testData/quickfix/autoImports/timesAssign.before.Main.kt");
@@ -308,6 +308,11 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
doTest("idea/testData/quickfix/autoImports/beforeCheckNoStackOverflowInImportInnerClassInCurrentFile.kt");
}
@TestMetadata("beforeLibraryPropertyRuntime.kt")
public void testLibraryPropertyRuntime() throws Exception {
doTest("idea/testData/quickfix/autoImports/beforeLibraryPropertyRuntime.kt");
}
@TestMetadata("beforeLibraryTopLevelFunctionImportRuntime.kt")
public void testLibraryTopLevelFunctionImportRuntime() throws Exception {
doTest("idea/testData/quickfix/autoImports/beforeLibraryTopLevelFunctionImportRuntime.kt");