-
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.
- improved tests - added interactive command to update user settings
- Loading branch information
Showing
6 changed files
with
403 additions
and
28 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
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,26 @@ | ||
Feature: Formatting | ||
|
||
Scenario: Changing formatter | ||
Given I have maven project "m" in "tmp" | ||
And I have a java file "tmp/m/src/main/java/temp/App.java" | ||
And I add project "m" folder "tmp" to the list of workspace folders | ||
And I clear the buffer | ||
And I insert: | ||
""" | ||
package temp; import java.util.ArrayList; class App {ArrayList<String> al = new ArrayList<>();} | ||
""" | ||
And I call "save-buffer" | ||
And I use formatter profile "profileName" from "testFormatter.xml" | ||
And I start lsp-java | ||
And The server status must become "LSP::Started" | ||
When I indent buffer | ||
And I call "save-buffer" | ||
Then I should see: | ||
""" | ||
package temp; | ||
import java.util.ArrayList; | ||
class App | ||
{ | ||
ArrayList<String> al = new ArrayList<>(); | ||
} | ||
""" |
Oops, something went wrong.