-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Support diff toolwindow in IntelliJ IDEA (#2608)
For the toolwindow are required the "expected" and "actual" attributes in the test-failed-output message. Fixes: #2607 Co-authored-by: Andrey Vokin <[email protected]> Co-authored-by: M.P. Korstanje <[email protected]>
- Loading branch information
1 parent
3ea5401
commit 99c22e1
Showing
5 changed files
with
153 additions
and
9 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
21 changes: 21 additions & 0 deletions
21
cucumber-core/src/test/java/io/cucumber/core/backend/StubLocation.java
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,21 @@ | ||
package io.cucumber.core.backend; | ||
|
||
public class StubLocation implements Located { | ||
|
||
private final String location; | ||
|
||
public StubLocation(String location) { | ||
this.location = location; | ||
} | ||
|
||
@Override | ||
public boolean isDefinedAt(StackTraceElement stackTraceElement) { | ||
return false; | ||
} | ||
|
||
@Override | ||
public String getLocation() { | ||
return location; | ||
} | ||
|
||
} |
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