|
7 | 7 | using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
|
8 | 8 | using OmniSharp.Extensions.LanguageServer.Protocol.Document;
|
9 | 9 | using OmniSharp.Extensions.LanguageServer.Protocol.Models;
|
| 10 | +using TestingUtils; |
10 | 11 | using Xunit;
|
11 | 12 | using Xunit.Abstractions;
|
12 | 13 | using Range = OmniSharp.Extensions.LanguageServer.Protocol.Models.Range;
|
@@ -37,7 +38,7 @@ public ClientTests(ITestOutputHelper testOutput)
|
37 | 38 | /// <summary>
|
38 | 39 | /// Ensure that the language client can successfully request Hover information.
|
39 | 40 | /// </summary>
|
40 |
| - [Fact(DisplayName = "Language client can successfully request hover info")] |
| 41 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request hover info")] |
41 | 42 | public async Task Hover_Success()
|
42 | 43 | {
|
43 | 44 | const int line = 5;
|
@@ -110,7 +111,7 @@ public async Task Hover_Success()
|
110 | 111 | /// <summary>
|
111 | 112 | /// Ensure that the language client can successfully request Completions.
|
112 | 113 | /// </summary>
|
113 |
| - [Fact(DisplayName = "Language client can successfully request completions")] |
| 114 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request completions")] |
114 | 115 | public async Task Completions_Success()
|
115 | 116 | {
|
116 | 117 | const int line = 5;
|
@@ -213,7 +214,7 @@ public async Task Completions_Success()
|
213 | 214 | /// <summary>
|
214 | 215 | /// Ensure that the language client can successfully request SignatureHelp.
|
215 | 216 | /// </summary>
|
216 |
| - [Fact(DisplayName = "Language client can successfully request signature help")] |
| 217 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request signature help")] |
217 | 218 | public async Task SignatureHelp_Success()
|
218 | 219 | {
|
219 | 220 | const int line = 5;
|
@@ -306,7 +307,7 @@ public async Task SignatureHelp_Success()
|
306 | 307 | /// <summary>
|
307 | 308 | /// Ensure that the language client can successfully request Definition.
|
308 | 309 | /// </summary>
|
309 |
| - [Fact(DisplayName = "Language client can successfully request definition")] |
| 310 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request definition")] |
310 | 311 | public async Task Definition_Success()
|
311 | 312 | {
|
312 | 313 | const int line = 5;
|
@@ -382,7 +383,7 @@ public async Task Definition_Success()
|
382 | 383 | /// <summary>
|
383 | 384 | /// Ensure that the language client can successfully request DocumentHighlight.
|
384 | 385 | /// </summary>
|
385 |
| - [Fact(DisplayName = "Language client can successfully request document highlights")] |
| 386 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request document highlights")] |
386 | 387 | public async Task DocumentHighlights_Success()
|
387 | 388 | {
|
388 | 389 | const int line = 5;
|
@@ -447,7 +448,7 @@ public async Task DocumentHighlights_Success()
|
447 | 448 | /// <summary>
|
448 | 449 | /// Ensure that the language client can successfully request DocumentHighlight.
|
449 | 450 | /// </summary>
|
450 |
| - [Fact(DisplayName = "Language client can successfully request document symbols")] |
| 451 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request document symbols")] |
451 | 452 | public async Task DocumentSymbols_DocumentSymbol_Success()
|
452 | 453 | {
|
453 | 454 | const int line = 5;
|
@@ -532,7 +533,7 @@ public async Task DocumentSymbols_DocumentSymbol_Success()
|
532 | 533 | /// <summary>
|
533 | 534 | /// Ensure that the language client can successfully request FoldingRanges.
|
534 | 535 | /// </summary>
|
535 |
| - [Fact(DisplayName = "Language client can successfully request document folding ranges")] |
| 536 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully request document folding ranges")] |
536 | 537 | public async Task FoldingRanges_Success()
|
537 | 538 | {
|
538 | 539 | var expectedDocumentPath = AbsoluteDocumentPath;
|
@@ -592,7 +593,7 @@ public async Task FoldingRanges_Success()
|
592 | 593 | /// <summary>
|
593 | 594 | /// Ensure that the language client can successfully receive Diagnostics from the server.
|
594 | 595 | /// </summary>
|
595 |
| - [Fact(DisplayName = "Language client can successfully receive diagnostics")] |
| 596 | + [FactWithSkipOn(SkipOnPlatform.Windows, DisplayName = "Language client can successfully receive diagnostics")] |
596 | 597 | public async Task Diagnostics_Success()
|
597 | 598 | {
|
598 | 599 | var documentPath = AbsoluteDocumentPath;
|
|
0 commit comments