Refactor tests and activate them for working with JS
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package first
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
fun firstFun() {
|
||||
val a = ArrayList<Int>()
|
||||
a.toLinke<caret>
|
||||
}
|
||||
|
||||
// TIME: 1
|
||||
// EXIST: toLinkedList@toLinkedList()~for jet.Iterable<T> in kotlin
|
||||
// NUMBER: 1
|
||||
@@ -0,0 +1,4 @@
|
||||
package java.util.<caret>
|
||||
|
||||
// EXIST: concurrent
|
||||
// ABSENT: AbstractList, Date, Random, import
|
||||
@@ -0,0 +1,12 @@
|
||||
package testing
|
||||
|
||||
// Should show java names by short name
|
||||
class Hello() {
|
||||
fun test() {
|
||||
val a : S<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// TIME: 2
|
||||
// EXIST: SortedMap, Short, Socket
|
||||
// ABSENT: hashSetOf
|
||||
@@ -0,0 +1,5 @@
|
||||
val x = LineIterator<caret>
|
||||
|
||||
// TIME: 1
|
||||
// EXIST: LineIterator~(kotlin.io)
|
||||
// NUMBER: 1
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.io.InputStreamReader
|
||||
|
||||
val x = InputStreamReader<caret>
|
||||
|
||||
// TIME: 1
|
||||
// EXIST: InputStreamReader~(java.io)
|
||||
// NUMBER: 1
|
||||
@@ -0,0 +1,10 @@
|
||||
package testing
|
||||
|
||||
fun someFun() {
|
||||
measureTime<caret>
|
||||
}
|
||||
|
||||
// Important: This test checks that completion will find top level functions from jars.
|
||||
// If you going to update it make sure that methods are not auto-imported
|
||||
|
||||
// EXIST: measureTimeNano, measureTimeMillis
|
||||
@@ -0,0 +1,10 @@
|
||||
package testing
|
||||
|
||||
fun someFun() {
|
||||
defaultDocumentBuilderFa<caret>
|
||||
}
|
||||
|
||||
// Important: This test checks that completion will find top level functions from jars.
|
||||
// If you going to update it make sure that methods are not auto-imported
|
||||
|
||||
// EXIST: defaultDocumentBuilderFactory
|
||||
Reference in New Issue
Block a user