forked from External/mage
tests: improved testable dialogs (added assert messages in result table, added single dialog debugging, part of #13643, #13638);
This commit is contained in:
parent
7a44ee2a97
commit
4732fdf527
10 changed files with 166 additions and 53 deletions
|
|
@ -21,7 +21,6 @@ public interface TestableResult {
|
|||
|
||||
/**
|
||||
* Save new result after show dialog
|
||||
*
|
||||
*/
|
||||
void onFinish(boolean resStatus, List<String> resDetails);
|
||||
|
||||
|
|
@ -29,5 +28,11 @@ public interface TestableResult {
|
|||
|
||||
void onClear();
|
||||
|
||||
Boolean getResAssert();
|
||||
/**
|
||||
* Assert dialog result
|
||||
* - null - not ready (dev must setup wanted result)
|
||||
* - empty - good
|
||||
* - not empty - fail (return error message)
|
||||
*/
|
||||
String getResAssert();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue