Import: IDE should import class from root package
#KT-21422 Fixed
This commit is contained in:
@@ -199,6 +199,11 @@ public class AddImportTestGenerated extends AbstractAddImportTest {
|
||||
runTest("idea/testData/addImport/ImportFromObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportFromRoot.kt")
|
||||
public void testImportFromRoot() throws Exception {
|
||||
runTest("idea/testData/addImport/ImportFromRoot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportFunctionBug.kt")
|
||||
public void testImportFunctionBug() throws Exception {
|
||||
runTest("idea/testData/addImport/ImportFunctionBug.kt");
|
||||
|
||||
+5
@@ -633,6 +633,11 @@ public class QuickFixMultiFileTestGenerated extends AbstractQuickFixMultiFileTes
|
||||
runTest("idea/testData/quickfix/autoImports/importAliasPropertyAlreadyExists.before.Main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("importFromRoot.before.Main.kt")
|
||||
public void testImportFromRoot() throws Exception {
|
||||
runTest("idea/testData/quickfix/autoImports/importFromRoot.before.Main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("importInFirstPartInQualifiedExpression.before.Main.kt")
|
||||
public void testImportInFirstPartInQualifiedExpression() throws Exception {
|
||||
runTest("idea/testData/quickfix/autoImports/importInFirstPartInQualifiedExpression.before.Main.kt");
|
||||
|
||||
Reference in New Issue
Block a user