Skip to content

Commit dd4fcf8

Browse files
committed
Reimplement and reenable DebugServiceTests.cs
* Removed uncessary using directives and sorted * Applied `readonly` and `const` suggestions * Updated use of `psesHost` instead of `powerShellContextService` * Call `GC.SuppressFinalize()` in `Dispose()` to avoid warning * Improved names of things * Removed unnecessary `this.` prefixes * Added easy-to-use PowerShell execution wrappers * Removed all logic around `sessionStateQueue` because of new pipeline * Fixed threading assumptions by using `ConfigureAwait(true)` * Used `Task.Run()` to avoid deadlock when calling onto pipeline thread * Replaced `FirstOrDefault` with `Array.Find` * Removed deprecated data from `DebuggerAcceptsScriptArgs` * Stopped aborting at end of each test because xUnit disposes everything * Ditto for waiting on `executeTask` * Skip broken tests around setting variables (punting this fix) * General reorginzation and cleanup
1 parent eebeb9f commit dd4fcf8

File tree

1 file changed

+358
-575
lines changed

1 file changed

+358
-575
lines changed

0 commit comments

Comments
 (0)