-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ecukes integration test for completing overrides
- Loading branch information
1 parent
a9ed181
commit 0978c35
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Feature: Complete overrides | ||
|
||
Background: | ||
Given I open temp file "some-file.cs" | ||
Given The buffer is empty | ||
|
||
Scenario: Complete overrides in the current buffer with ido | ||
When My buffer contents are, and my point is at $: | ||
""" | ||
namespace Test { | ||
public class Awesome { | ||
$ | ||
} | ||
} | ||
""" | ||
Given I start an action chain | ||
And I press "M-x" | ||
And I type "omnisharp-auto-complete-overrides" | ||
# Finish M-x | ||
And I press "RET" | ||
# Select the first proposed override | ||
And I press "RET" | ||
And I execute the action chain | ||
|
||
Then I should see, ignoring line endings: | ||
""" | ||
public override bool Equals(object obj) | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters