More reliable testing of keyword completion (introduced directive "NOTHING_ELSE" instead of "NUMBER")

This commit is contained in:
Valentin Kipyatkov
2015-05-14 17:46:56 +03:00
parent 5807d03a52
commit db40f1ee5a
75 changed files with 113 additions and 80 deletions
@@ -12,4 +12,4 @@ fun firstFun() {
// EXIST: testingExpectedFunction
// ABSENT: testingUnexpectedFunction
// NUMBER: 2
// NOTHING_ELSE: true
@@ -9,4 +9,4 @@ fun firstFun() {
// EXIST: helloFunPreventAutoInsert
// EXIST: helloWithParams
// ABSENT: helloFake
// NUMBER: 3
// NOTHING_ELSE: true
@@ -4,4 +4,4 @@ class A : NotImported<caret>
// AUTOCOMPLETE_SETTING: true
// EXIST: NotImportedClass
// NUMBER: 1
// NOTHING_ELSE: true
@@ -6,4 +6,4 @@ fun f() {
// EXIST: extFun1
// EXIST: extFun2
// NUMBER: 2
// NOTHING_ELSE: true
@@ -1,9 +1,9 @@
// this test tests correct substitution equality checking for generic functions
import dependency.pair
import java.io.InputStreamReader
fun foo() {
1 pai<caret>
}
// EXIST: pair
// NUMBER: 1
// NOTHING_ELSE: true
@@ -11,4 +11,4 @@ class C {
// EXIST: helloProp
// EXIST: helloForC
// ABSENT: helloFake
// NUMBER: 4
// NOTHING_ELSE: true
@@ -9,4 +9,4 @@ fun firstFun(p: () -> Unit) {
// EXIST: helloAny
// ABSENT: helloFun3
// ABSENT: helloFun4
// NUMBER: 3
// NOTHING_ELSE: true
@@ -10,4 +10,4 @@ fun firstFun(p: String.() -> Unit) {
// ABSENT: helloFun4
// ABSENT: helloFun5
// EXIST: helloAny
// NUMBER: 3
// NOTHING_ELSE: true
@@ -6,4 +6,4 @@ fun firstFun(x: third.Dependency) {
// EXIST: helloFun
// EXIST: helloFunGeneric
// NUMBER: 2
// NOTHING_ELSE: true
@@ -9,4 +9,4 @@ fun firstFun() {
// EXIST: { lookupString: "helloProp2", attributes: "bold" }
// ABSENT: helloProp3
// ABSENT: helloProp4
// NUMBER: 2
// NOTHING_ELSE: true