tests: improved testable dialogs with better/colored logs and asserts (part of #13643, #13638);

This commit is contained in:
Oleg Agafonov 2025-06-14 21:10:32 +04:00
parent d43e96eaf2
commit a98f72649a
17 changed files with 123 additions and 83 deletions

View file

@ -11,19 +11,19 @@ public class ChoiceTestableResult extends BaseTestableResult {
String choice = null;
public void save(boolean status, List<String> info, String choice) {
this.save(status, info);
public void onFinish(boolean status, List<String> info, String choice) {
this.onFinish(status, info);
this.choice = choice;
}
@Override
public boolean isOk() {
return true;
public Boolean getResAssert() {
return null; // TODO: implement
}
@Override
public void clear() {
super.clear();
public void onClear() {
super.onClear();
this.choice = null;
}
}