Remove useless inserts that used to be required to trigger checks

This commit is contained in:
Andy Hanson 2016-08-30 07:09:18 -07:00
parent 0485bb6b56
commit d47b3e22e5
24 changed files with 0 additions and 72 deletions

View File

@ -23,9 +23,6 @@
////d./*1*/
////D./*2*/
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains('foo');
verify.completionListContains('foo2');

View File

@ -28,9 +28,6 @@
////d./*1*/
////D./*2*/
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains('foo');
verify.completionListContains('foo2');

View File

@ -14,10 +14,6 @@
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains('f');
verify.completionListContains('foo');

View File

@ -9,9 +9,6 @@
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
verify.quickInfoIs('var M.C.C: typeof M.C');
verify.numberOfErrorsInCurrentFile(0);

View File

@ -58,9 +58,6 @@
////}
////var myVar = new m.m2.c/*33*/1();
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.quickInfoIs("class c2", "This is class c2 without constuctor");

View File

@ -31,9 +31,6 @@
/////*10*/extMod./*11*/m1./*12*/fooExp/*13q*/ort(/*13*/);
////var new/*14*/Var = new extMod.m1.m2./*15*/c();
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.file("commentsExternalModules_file0.ts");
goTo.marker('1');
verify.quickInfoIs("namespace m1", "Namespace comment");

View File

@ -26,8 +26,6 @@
////}
////new /*7*/mu/*8*/ltiM.d();
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2\nthis is multi namespace 3 comment");

View File

@ -16,9 +16,6 @@
////new /*1*/mu/*4*/ltiM.b();
////new mu/*5*/ltiM.c();
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");

View File

@ -2,9 +2,6 @@
////var a;
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.eof();
verify.completionListContains("a");

View File

@ -12,9 +12,6 @@
////var f = new Foo();
////f/*c3*/;
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker("c1");
edit.insert(".");
verify.memberListContains("x");

View File

@ -5,9 +5,6 @@
////Foo./**/;
/////*1*/var bar;
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
verify.memberListContains("fun");
verify.not.errorExistsAfterMarker("1");

View File

@ -4,9 +4,6 @@
////var baz = Foo/**/;
/////*1*/baz.concat("y");
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
edit.insert(".b");
verify.not.errorExistsAfterMarker("1");

View File

@ -194,9 +194,6 @@
//// }
////};
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.quickInfoIs("(property) C1T5.foo: (i: number, s: string) => number");
goTo.marker('2');

View File

@ -11,9 +11,6 @@
////var b: B<number>;
////var /**/x = b.foo2().foo(5).foo(); // 'x' is of type 'void'
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
verify.quickInfoIs('var x: void');
verify.numberOfErrorsInCurrentFile(0);

View File

@ -7,9 +7,6 @@
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
verify.quickInfoIs('var M.C.C: typeof M.C');
verify.numberOfErrorsInCurrentFile(0);

View File

@ -50,9 +50,6 @@
////var /*23*/r8a = _.map</*error1*/B/*error2*/, string>(c5, (/*8*/x) => { return x.foo() });
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.quickInfoIs('(parameter) x: number');
goTo.marker('2');

View File

@ -56,9 +56,6 @@
////
////var /*23*/r8a = _.map<number, /*error1*/B/*error2*/, string>(c5, (/*8a*/x,/*8b*/y) => { return y.foo() });
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('2a');
verify.quickInfoIs('(parameter) x: Collection<number, number>');
goTo.marker('2b');

View File

@ -11,9 +11,6 @@
//// constructor() { }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('staticFunctionOverload');
goTo.definition();
verify.caretAtMarker('staticFunctionOverloadDefinition');

View File

@ -16,9 +16,6 @@
//// var x: /*Part2Use*/IA;
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('Part2Use');
goTo.definition();
verify.caretAtMarker('Part1Definition');

View File

@ -15,9 +15,6 @@
////var /*3*/z = new /*2*/Foo();
////var /*5*/r2 = Foo./*4*/x;
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.quickInfoIs("import Foo = require('./mergedDeclarationsWithExportAssignment1_file0')");

View File

@ -4,9 +4,6 @@
////}
////var x = <{ (fn: (va/*2*/riable2: string) => void, a: string): void; }> () => { };
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker("1");
verify.quickInfoIs("(parameter) variable1: string", undefined);

View File

@ -16,9 +16,6 @@
////}
////var x = new /*2*/B(/*1*/
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker("1");
verify.currentSignatureHelpIs("B(a: Foo<I>, b: number): B");
edit.insert("null,");

View File

@ -17,9 +17,6 @@
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.signatureHelpPresent();
verify.currentSignatureHelpIs('B(): B');

View File

@ -10,9 +10,6 @@
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('superCall');
verify.signatureHelpCountIs(1);
verify.currentSignatureHelpIs("SuperCallBase(b: boolean): SuperCallBase");