Corrected test data after changes in import insertion + added when more test which fails with the current reference shortening algorithm
This commit is contained in:
@@ -1 +1,3 @@
|
||||
fun foo(array: Array<String>){}
|
||||
|
||||
val v: <selection>java.lang.reflect.Array</selection>
|
||||
@@ -1,3 +1,5 @@
|
||||
import java.lang.reflect
|
||||
|
||||
fun foo(array: Array<String>){}
|
||||
|
||||
val v: reflect.Array
|
||||
@@ -0,0 +1,3 @@
|
||||
import java.util.*
|
||||
|
||||
val v: ArrayList<<selection>java.sql.Date</selection>>
|
||||
@@ -0,0 +1,4 @@
|
||||
import java.util.*
|
||||
import java.sql.Date
|
||||
|
||||
val v: ArrayList<Date>
|
||||
@@ -330,6 +330,12 @@ public class ShortenRefsTestGenerated extends AbstractShortenRefsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("OtherClassWithThisNameImported.kt")
|
||||
public void testOtherClassWithThisNameImported() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/shortenRefs/type/OtherClassWithThisNameImported.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("SameClassTwice.kt")
|
||||
public void testSameClassTwice() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/shortenRefs/type/SameClassTwice.kt");
|
||||
|
||||
Reference in New Issue
Block a user