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

Ivanbasov/integration tests #17885

Merged
merged 10 commits into from
Mar 16, 2017
Merged

Ivanbasov/integration tests #17885

merged 10 commits into from
Mar 16, 2017

Conversation

ivanbasov
Copy link
Contributor

First set of tests for #14369

@jasonmalinowski
Copy link
Member

Tagging @dotnet/roslyn-ide for more reviews.

@jasonmalinowski jasonmalinowski self-requested a review March 15, 2017 19:29
namespace Roslyn.VisualStudio.IntegrationTests.CSharp
{
[Collection(nameof(SharedIntegrationHostFixture))]
public class CSharpInteractiveDemo : AbstractInteractiveWindowTest
Copy link
Member

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");
Copy link
Member

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.

Copy link
Contributor Author

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));
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you! Will update

@ivanbasov ivanbasov merged commit 2ba0d8f into master Mar 16, 2017
@ivanbasov ivanbasov deleted the ivanbasov/IntegrationTests branch March 16, 2017 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants