From 245dbab772d708a3b7db8c638f52a3675ff3dc55 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 9 Jun 2015 15:49:21 -0700 Subject: [PATCH] Removed 'debugger' statements from tests. --- tests/cases/fourslash/commentsMultiModuleMultiFile.ts | 1 - tests/cases/fourslash/completionListWithAmbientDeclaration.ts | 1 - tests/cases/fourslash/definitionNameOnEnumMember.ts | 1 - tests/cases/fourslash/deleteModifierBeforeVarStatement1.ts | 1 - tests/cases/fourslash/formattingSkippedTokens.ts | 1 - tests/cases/fourslash/getEmitOutputWithDeclarationFile3.ts | 1 - .../getEmitOutputWithSemanticErrorsForMultipleFiles.ts | 1 - tests/cases/fourslash/getOccurrencesTryCatchFinally.ts | 1 - tests/cases/fourslash/navigateItemsLet.ts | 2 +- tests/cases/fourslash/navigationItemsExactMatch2.ts | 2 +- tests/cases/fourslash/navigationItemsOverloads2.ts | 2 +- tests/cases/fourslash/navigationItemsSubStringMatch.ts | 1 - tests/cases/fourslash/navigationItemsSubStringMatch2.ts | 1 - tests/cases/fourslash/quickInfoDisplayPartsConst.ts | 1 - tests/cases/fourslash/quickInfoDisplayPartsVar.ts | 1 - 15 files changed, 3 insertions(+), 15 deletions(-) diff --git a/tests/cases/fourslash/commentsMultiModuleMultiFile.ts b/tests/cases/fourslash/commentsMultiModuleMultiFile.ts index 40d7b6d9bc4..9516ddc9abb 100644 --- a/tests/cases/fourslash/commentsMultiModuleMultiFile.ts +++ b/tests/cases/fourslash/commentsMultiModuleMultiFile.ts @@ -28,7 +28,6 @@ // this line triggers a semantic/syntactic error check, remove line when 788570 is fixed edit.insert(''); -debugger; goTo.marker('1'); verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2\nthis is multi namespace 3 comment"); diff --git a/tests/cases/fourslash/completionListWithAmbientDeclaration.ts b/tests/cases/fourslash/completionListWithAmbientDeclaration.ts index 9fb4ffef90e..5839608b099 100644 --- a/tests/cases/fourslash/completionListWithAmbientDeclaration.ts +++ b/tests/cases/fourslash/completionListWithAmbientDeclaration.ts @@ -7,7 +7,6 @@ //// declare module 'https' { //// } //// /*2*/ -debugger; goTo.marker("1"); verify.not.completionListContains("http"); goTo.marker("2"); diff --git a/tests/cases/fourslash/definitionNameOnEnumMember.ts b/tests/cases/fourslash/definitionNameOnEnumMember.ts index 3844d4a46f3..d88e1ef688e 100644 --- a/tests/cases/fourslash/definitionNameOnEnumMember.ts +++ b/tests/cases/fourslash/definitionNameOnEnumMember.ts @@ -7,6 +7,5 @@ ////} ////var enumMember = e./*1*/thirdMember; -debugger; goTo.marker("1"); verify.verifyDefinitionsName("thirdMember", "e"); \ No newline at end of file diff --git a/tests/cases/fourslash/deleteModifierBeforeVarStatement1.ts b/tests/cases/fourslash/deleteModifierBeforeVarStatement1.ts index a929e67687f..1775075f68e 100644 --- a/tests/cases/fourslash/deleteModifierBeforeVarStatement1.ts +++ b/tests/cases/fourslash/deleteModifierBeforeVarStatement1.ts @@ -34,7 +34,6 @@ goTo.position(0); // : |--- delete "\n\n///..." // 1: // 2: -debugger; edit.deleteAtCaret(100); diff --git a/tests/cases/fourslash/formattingSkippedTokens.ts b/tests/cases/fourslash/formattingSkippedTokens.ts index 3b8ec47bf38..d3e76e97354 100644 --- a/tests/cases/fourslash/formattingSkippedTokens.ts +++ b/tests/cases/fourslash/formattingSkippedTokens.ts @@ -8,7 +8,6 @@ /////*4*/ : T) { } ////} /////*5*/var x = -debugger; format.document(); goTo.marker('1'); verify.currentLineContentIs('foo(): Bar { }'); diff --git a/tests/cases/fourslash/getEmitOutputWithDeclarationFile3.ts b/tests/cases/fourslash/getEmitOutputWithDeclarationFile3.ts index 60f7b433149..dfcf49c0e1f 100644 --- a/tests/cases/fourslash/getEmitOutputWithDeclarationFile3.ts +++ b/tests/cases/fourslash/getEmitOutputWithDeclarationFile3.ts @@ -18,5 +18,4 @@ // @Filename: inputFile5.js //// var x2 = 1000; -debugger; verify.baselineGetEmitOutput(); \ No newline at end of file diff --git a/tests/cases/fourslash/getEmitOutputWithSemanticErrorsForMultipleFiles.ts b/tests/cases/fourslash/getEmitOutputWithSemanticErrorsForMultipleFiles.ts index d24bcfbf504..0c6f4786c25 100644 --- a/tests/cases/fourslash/getEmitOutputWithSemanticErrorsForMultipleFiles.ts +++ b/tests/cases/fourslash/getEmitOutputWithSemanticErrorsForMultipleFiles.ts @@ -12,5 +12,4 @@ // @Filename: inputFile2.ts //// // File not emitted, and contains semantic errors //// var semanticError: boolean = "string"; -debugger; verify.baselineGetEmitOutput(); \ No newline at end of file diff --git a/tests/cases/fourslash/getOccurrencesTryCatchFinally.ts b/tests/cases/fourslash/getOccurrencesTryCatchFinally.ts index db0f792880e..4b9a47cfe5c 100644 --- a/tests/cases/fourslash/getOccurrencesTryCatchFinally.ts +++ b/tests/cases/fourslash/getOccurrencesTryCatchFinally.ts @@ -16,7 +16,6 @@ ////[|fina/*3*/lly|] { ////} -debugger; for (var i = 1; i <= test.markers().length; i++) { goTo.marker("" + i); verify.occurrencesAtPositionCount(3); diff --git a/tests/cases/fourslash/navigateItemsLet.ts b/tests/cases/fourslash/navigateItemsLet.ts index 8a82d042738..8d6886ceb69 100644 --- a/tests/cases/fourslash/navigateItemsLet.ts +++ b/tests/cases/fourslash/navigateItemsLet.ts @@ -4,7 +4,7 @@ ////function foo() { //// {| "itemName": "d", "kind": "let", "parentName": "foo" |}let d = 10; ////} -debugger; + test.markers().forEach(marker => { verify.navigationItemsListContains( marker.data.itemName, diff --git a/tests/cases/fourslash/navigationItemsExactMatch2.ts b/tests/cases/fourslash/navigationItemsExactMatch2.ts index e96d4f65ed4..1bf4552a49b 100644 --- a/tests/cases/fourslash/navigationItemsExactMatch2.ts +++ b/tests/cases/fourslash/navigationItemsExactMatch2.ts @@ -17,7 +17,7 @@ ////function distance2(distanceParam1): void { //// var distanceLocal1; ////} -debugger; + goTo.marker("file1"); verify.navigationItemsListCount(2, "point", "exact"); verify.navigationItemsListCount(5, "distance", "prefix"); diff --git a/tests/cases/fourslash/navigationItemsOverloads2.ts b/tests/cases/fourslash/navigationItemsOverloads2.ts index 98908c84e98..2c33ef65f0d 100644 --- a/tests/cases/fourslash/navigationItemsOverloads2.ts +++ b/tests/cases/fourslash/navigationItemsOverloads2.ts @@ -8,5 +8,5 @@ ////interface I { //// interfaceMethodSignature(b: boolean): boolean; ////} -debugger; + verify.navigationItemsListCount(2, "interfaceMethodSignature", "exact"); diff --git a/tests/cases/fourslash/navigationItemsSubStringMatch.ts b/tests/cases/fourslash/navigationItemsSubStringMatch.ts index 4be74953142..071a1ae212f 100644 --- a/tests/cases/fourslash/navigationItemsSubStringMatch.ts +++ b/tests/cases/fourslash/navigationItemsSubStringMatch.ts @@ -17,7 +17,6 @@ ////// Local variables ////{| "itemName": "MymyPointThatIJustInitiated", "kind": "var", "parentName": "", "matchKind": "substring"|}var MymyPointThatIJustInitiated = new Shapes.Point(); -debugger; test.markers().forEach((marker) => { if (marker.data) { var name = marker.data.itemName; diff --git a/tests/cases/fourslash/navigationItemsSubStringMatch2.ts b/tests/cases/fourslash/navigationItemsSubStringMatch2.ts index 7ea901c9de3..5c7e3e5d202 100644 --- a/tests/cases/fourslash/navigationItemsSubStringMatch2.ts +++ b/tests/cases/fourslash/navigationItemsSubStringMatch2.ts @@ -17,7 +17,6 @@ //// INITIATED123; //// public horizon(): void; ////} -debugger; var notFoundSearchValue = "mPointThatIJustInitiated wrongKeyWord"; goTo.marker("file1"); diff --git a/tests/cases/fourslash/quickInfoDisplayPartsConst.ts b/tests/cases/fourslash/quickInfoDisplayPartsConst.ts index b3d601368b9..1e600e82775 100644 --- a/tests/cases/fourslash/quickInfoDisplayPartsConst.ts +++ b/tests/cases/fourslash/quickInfoDisplayPartsConst.ts @@ -22,7 +22,6 @@ /////*15*/h(10); /////*16*/h("hello"); -debugger; var marker = 0; function verifyConst(name: string, typeDisplay: ts.SymbolDisplayPart[], optionalNameDisplay?: ts.SymbolDisplayPart[], optionalKindModifiers?: string) { marker++; diff --git a/tests/cases/fourslash/quickInfoDisplayPartsVar.ts b/tests/cases/fourslash/quickInfoDisplayPartsVar.ts index a1f150d2457..d7666bace34 100644 --- a/tests/cases/fourslash/quickInfoDisplayPartsVar.ts +++ b/tests/cases/fourslash/quickInfoDisplayPartsVar.ts @@ -15,7 +15,6 @@ ////var /*11*/i = /*12*/h; /////*13*/h(10); /////*14*/h("hello"); -debugger; var marker = 0; function verifyVar(name: string, typeDisplay: ts.SymbolDisplayPart[], optionalNameDisplay?: ts.SymbolDisplayPart[], optionalKindModifiers?: string) { marker++;