Rename Tests

This commit is contained in:
Arthur Ozga
2016-09-29 17:08:04 -07:00
parent 4b07377efb
commit 85736319f9
8 changed files with 21 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
/// <reference path='fourslash.ts' />
// Should give completions for absolute paths
// Offers completions for absolute paths.
// @Filename: tests/test0.ts
//// /// <reference path="/tests/cases/f/*0*/

View File

@@ -13,13 +13,8 @@
//// /// <reference path=".//*2*/
//// /// <reference path=".\/*3*/
for(let m of ["0", "2", "3"]) {
for(let m of ["0", "1", "2", "3"]) {
goTo.marker(m);
verify.completionListContains("f.ts");
verify.completionListContains(".hidden.ts");
verify.not.completionListItemsCountIsGreaterThan(2);
}
goTo.marker("1");
verify.completionListContains(".hidden.ts");
verify.not.completionListItemsCountIsGreaterThan(1);
verify.not.completionListItemsCountIsGreaterThan(1);
}

View File

@@ -14,14 +14,16 @@
//// /// <reference path="f/*0*/
//// /// <reference path="./f/*1*/
//// /// <reference path="f1/*2*/
//// /// <reference path="f1./*3*/
//// /// <reference path="f1.t/*4*/
//// /// <reference path="f1.ts/*5*/
//// /// <reference path="./f1/*6*/
//// /// <reference path="./f1./*7*/
//// /// <reference path="./f1.t/*8*/
//// /// <reference path="./f1.ts/*9*/
//// /// <reference path="./d/*2*/
//// /// <reference path="f1/*3*/
//// /// <reference path="f1./*4*/
//// /// <reference path="f1.t/*5*/
//// /// <reference path="f1.ts/*6*/
//// /// <reference path="./f1/*7*/
//// /// <reference path="./f1./*8*/
//// /// <reference path="./f1.t/*9*/
//// /// <reference path="./f1.ts/*10*/
for (let m of ["0", "1"]) {
goTo.marker(m);
@@ -30,7 +32,13 @@ for (let m of ["0", "1"]) {
verify.not.completionListItemsCountIsGreaterThan(2);
}
for (let m = 2; m < 10; ++m) {
goTo.marker("2");
verify.completionListContains("d");
verify.not.completionListItemsCountIsGreaterThan(1);
for (let m = 3; m < 11; ++m) {
goTo.marker("" + m);
verify.completionListContains("f1.ts");
verify.not.completionListItemsCountIsGreaterThan(1);