20 references to ScreenshotOnFailureAsync
Microsoft.VisualStudioCode.Razor.IntegrationTests (20)
CodeActionsTests.cs (1)
16
public Task CodeAction_AddUsing_AddsUsingDirective() =>
ScreenshotOnFailureAsync
(async () =>
CompletionTests.cs (3)
16
public Task CSharpCompletion_InCodeBlock_ShowsCSharpItems() =>
ScreenshotOnFailureAsync
(async () =>
48
public Task HtmlCompletion_InMarkup_ShowsHtmlElements() =>
ScreenshotOnFailureAsync
(async () =>
79
public Task RazorDirectiveCompletion_AfterAt_ShowsDirectives() =>
ScreenshotOnFailureAsync
(async () =>
DiagnosticsTests.cs (6)
16
public Task Diagnostics_CSharpSyntaxError_ShowsInProblemsPanel() =>
ScreenshotOnFailureAsync
(async () =>
31
public Task Diagnostics_FixError_RemovesFromProblemsPanel() =>
ScreenshotOnFailureAsync
(async () =>
53
public Task Diagnostics_ValidFile_NoErrors() =>
ScreenshotOnFailureAsync
(async () =>
70
public Task Diagnostics_UnclosedTag_ShowsRZ9980() =>
ScreenshotOnFailureAsync
(async () =>
88
public Task Diagnostics_UnclosedComponentTag_ShowsRZ9980() =>
ScreenshotOnFailureAsync
(async () =>
108
public Task Diagnostics_UnusedDirective_IsFadedWithoutWarningSquiggle() =>
ScreenshotOnFailureAsync
(async () =>
FindReferencesTests.cs (2)
16
public Task FindReferences_Field_ShowsMultipleUsages() =>
ScreenshotOnFailureAsync
(async () =>
38
public Task FindReferences_Method_ShowsCallSites() =>
ScreenshotOnFailureAsync
(async () =>
FormattingTests.cs (2)
16
public Task FormatDocument_BadlyIndentedCode_FixesIndentation() =>
ScreenshotOnFailureAsync
(async () =>
40
public Task FormatDocument_MixedHtmlAndCSharp_FormatsCorrectly() =>
ScreenshotOnFailureAsync
(async () =>
GoToDefinitionTests.cs (3)
16
public Task GoToDefinition_MethodReference_NavigatesToMethodDefinition() =>
ScreenshotOnFailureAsync
(async () =>
40
public Task GoToDefinition_FieldUsage_NavigatesToFieldDeclaration() =>
ScreenshotOnFailureAsync
(async () =>
62
public Task GoToDefinition_ComponentTag_NavigatesToComponentFile() =>
ScreenshotOnFailureAsync
(async () =>
HoverTests.cs (3)
17
public Task Hover_CSharpField_ShowsFieldInfo() =>
ScreenshotOnFailureAsync
(async () =>
38
public Task Hover_Method_ShowsMethodSignature() =>
ScreenshotOnFailureAsync
(async () =>
59
public Task Hover_CSharpKeyword_ShowsTypeInfo() =>
ScreenshotOnFailureAsync
(async () =>