Drop previously deprecated API.

This commit is contained in:
Ilya Gorbunov
2016-02-05 16:14:16 +03:00
parent 434bd0707d
commit b4ebaad8f5
24 changed files with 7 additions and 1090 deletions
@@ -2,4 +2,4 @@ fun foo(list: List<String>) {
list.<caret>
}
// EXIST: { itemText: "firstOrNull", tailText: " {...} (predicate: (String) -> Boolean) for Iterable<T> in kotlin.collections", typeText: "String?" }
// EXIST: { itemText: "toMapBy", tailText: " {...} (selector: (String) -> K) for Iterable<T> in kotlin.collections", typeText: "Map<K, String>" }
// EXIST: { itemText: "associateBy", tailText: " {...} (keySelector: (String) -> K) for Iterable<T> in kotlin.collections", typeText: "Map<K, String>" }
@@ -4,9 +4,10 @@ import java.util.HashMap
fun firstFun() {
val a = HashMap<Int, String>()
a.toLinke<caret>
a.toSort<caret>
}
// INVOCATION_COUNT: 1
// EXIST: { lookupString:"toLinkedMap", itemText:"toLinkedMap", tailText:"() for Map<K, V> in kotlin.collections" }
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"() for Map<K, V> in kotlin.collections" }
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"(comparator: Comparator<in Int>) for Map<K, V> in kotlin.collections" }
// NOTHING_ELSE
@@ -1,10 +1,10 @@
package testing
fun someFun() {
measureTime<caret>
measure<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
// EXIST: measureNanoTime, measureTimeMillis