-
Notifications
You must be signed in to change notification settings - Fork 235
Fix testing for pipeline consumer branch #1588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(Had to mark this as ready for review to run CI) |
Where are our tests?? |
Interesting that it's just macOS and Ubuntu now. |
_pipelineThread.SetApartmentState(ApartmentState.STA); | ||
if (VersionUtils.IsWindows) | ||
{ | ||
_pipelineThread.SetApartmentState(ApartmentState.STA); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops!!
We're passing now! I have disabled the LSP unit tests, but I think those should be re-enabled in a different PR since they'll represent a fair amount more work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just double-checking that all of these disabled tests are intentionally disabled, since many of them are not LSP unit tests (unless I misread).
@@ -44,6 +45,7 @@ public async Task InitializeAsync() | |||
var factory = new LoggerFactory(); | |||
_psesProcess = new PsesStdioProcess(factory, IsDebugAdapterTests); | |||
await _psesProcess.Start().ConfigureAwait(false); | |||
//Debugger.Launch(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
using Xunit; | ||
|
||
namespace Microsoft.PowerShell.EditorServices.Test.Console | ||
{ | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This I think no longer exists and should be brought back maybe. See #1583
using Xunit; | ||
|
||
namespace Microsoft.PowerShell.EditorServices.Test.Debugging | ||
{ | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a host factory
using Microsoft.PowerShell.EditorServices.Test.Shared; | ||
using Microsoft.PowerShell.EditorServices.Utility; | ||
using Xunit; | ||
|
||
namespace Microsoft.PowerShell.EditorServices.Test.Console | ||
{ | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah these need to be converted to something like host tests
Assert.Equal(escapedPath, extensionEscapedPath); | ||
} | ||
|
||
[Trait("Category", "PathEscaping")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah these no longer apply because the method to test is gone
@@ -26,12 +27,13 @@ | |||
|
|||
namespace Microsoft.PowerShell.EditorServices.Test.Language | |||
{ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a host factory
No description provided.