forked from External/mage
tests: improved testable dialogs (added source code ref in result table for better IDE navigation, part of #13643, #13638);
This commit is contained in:
parent
4f8eb30e4c
commit
d893d52190
21 changed files with 127 additions and 49 deletions
|
|
@ -9,6 +9,11 @@ import java.util.List;
|
|||
*/
|
||||
public interface TestableResult {
|
||||
|
||||
/**
|
||||
* Get source code line with called dialog, use it as starting debug point
|
||||
*/
|
||||
String getResDebugSource();
|
||||
|
||||
/**
|
||||
* Dialog's result
|
||||
*/
|
||||
|
|
@ -22,7 +27,7 @@ public interface TestableResult {
|
|||
/**
|
||||
* Save new result after show dialog
|
||||
*/
|
||||
void onFinish(boolean resStatus, List<String> resDetails);
|
||||
void onFinish(String chooseDebugSource, boolean resStatus, List<String> resDetails);
|
||||
|
||||
boolean isFinished();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue