-
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
Ivanbasov/integration tests #17885
Ivanbasov/integration tests #17885
Conversation
Tagging @dotnet/roslyn-ide for more reviews. |
namespace Roslyn.VisualStudio.IntegrationTests.CSharp | ||
{ | ||
[Collection(nameof(SharedIntegrationHostFixture))] | ||
public class CSharpInteractiveDemo : AbstractInteractiveWindowTest |
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 file was a duplicate of CSharpInteractive.cs
public void CutDeletePasteSelectAll() | ||
{ | ||
SendKeys("Text"); | ||
ExecuteCommand("Edit.LineStart"); |
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.
nit: It would be nice if we had these commands centralized somewhere for general use.
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.
Thank you! Will update
{ | ||
ClearReplText(); | ||
InsertCode(" 2 + 4 "); | ||
SendKeys(new KeyPress(VirtualKey.Z, ShiftState.Ctrl)); |
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.
nit: AbstractEditorTest provides a function for doing Ctrl(VirtualKey.Z)
: http://source.roslyn.io/#Roslyn.VisualStudio.IntegrationTests/AbstractEditorTest.cs,144, it would be nice if we could be consistent across the various tests.
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.
Thank you! Will update
First set of tests for #14369