Skip to content
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

Merged
merged 5 commits into from
Jul 11, 2020
Merged

Use TestHost consistently #45861

merged 5 commits into from
Jul 11, 2020

Conversation

tmat
Copy link
Member

@tmat tmat commented Jul 10, 2020

Some tests used bool outOfProcess and others TestHost enum (multiple copies of it).

Replace bool outOfProcess with a single TestHost enum everywhere.

@tmat tmat requested review from a team as code owners July 10, 2020 02:40
@@ -18,6 +18,15 @@
using Roslyn.Test.Utilities.Remote;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.Remote.Testing
Copy link
Member Author

@tmat tmat Jul 10, 2020

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.

@tmat
Copy link
Member Author

tmat commented Jul 10, 2020

@CyrusNajmabadi @dotnet/roslyn-ide PTAL

Copy link
Contributor

@mavasani mavasani left a 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.

@CyrusNajmabadi
Copy link
Member

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 :)

@tmat
Copy link
Member Author

tmat commented Jul 11, 2020

@CyrusNajmabadi Fixed.

@tmat tmat merged commit 4153950 into dotnet:master Jul 11, 2020
@ghost ghost added this to the Next milestone Jul 11, 2020
@tmat tmat deleted the RemoteTestOption branch July 11, 2020 22:24

public static Option<bool> OOP64Bit => new Option<bool>(
nameof(RemoteHostOptions), nameof(OOP64Bit), defaultValue: false,
storageLocations: new LocalUserProfileStorageLocation(LocalRegistryPath + nameof(OOP64Bit)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❔ Why is this changing?

@JoeRobich JoeRobich modified the milestones: Next, 16.8.P1 Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants