tests: improved testable dialogs (added source code ref in result table for better IDE navigation, part of #13643, #13638);

This commit is contained in:
Oleg Agafonov 2025-06-15 14:08:43 +04:00
parent 4f8eb30e4c
commit d893d52190
21 changed files with 127 additions and 49 deletions

View file

@ -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();