-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Use TestHost consistently #45861
Use TestHost consistently #45861
Conversation
@@ -18,6 +18,15 @@ | |||
using Roslyn.Test.Utilities.Remote; | |||
using Roslyn.Utilities; | |||
|
|||
namespace Microsoft.CodeAnalysis.Remote.Testing |
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.
Another pending PR is moving this file and changing namespace Microsoft.CodeAnalysis.Test.Utilities.RemoteHost
to Microsoft.CodeAnalysis.Remote.Testing
, so for now leave it like so to avoid merge issues.
@CyrusNajmabadi @dotnet/roslyn-ide PTAL |
src/EditorFeatures/Test2/ReferenceHighlighting/AbstractReferenceHighlightingTests.vb
Show resolved
Hide resolved
src/EditorFeatures/Test2/ReferenceHighlighting/AbstractReferenceHighlightingTests.vb
Outdated
Show resolved
Hide resolved
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.
Overall LGTM. Probably want to confirm with Cyrus about OutOfProcess_SplitCall/SingleCall values.
Everything looks fine except for the rename case. either fix or revert that bit. i'm happy to fixup the rename side later if you don't want to deal with it now :) |
@CyrusNajmabadi Fixed. |
|
||
public static Option<bool> OOP64Bit => new Option<bool>( | ||
nameof(RemoteHostOptions), nameof(OOP64Bit), defaultValue: false, | ||
storageLocations: new LocalUserProfileStorageLocation(LocalRegistryPath + nameof(OOP64Bit))); |
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.
❔ Why is this changing?
Some tests used
bool outOfProcess
and othersTestHost
enum (multiple copies of it).Replace
bool outOfProcess
with a singleTestHost
enum everywhere.