forked from External/mage
tests: added automated tests to run all possible dialogs under AI (WIP, part of #13643, improved testable dialogs from #13638);
This commit is contained in:
parent
6ad2cdaa78
commit
361c320890
19 changed files with 555 additions and 107 deletions
|
|
@ -0,0 +1,29 @@
|
|||
package mage.utils.testers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Part of testable game dialogs, must contain dialogs result
|
||||
*
|
||||
* @author JayDi85
|
||||
*/
|
||||
public interface TestableResult {
|
||||
|
||||
boolean getStatus();
|
||||
|
||||
List<String> getInfo();
|
||||
|
||||
/**
|
||||
* Save new result after show dialog
|
||||
*
|
||||
* @param status result of choice dialog call
|
||||
* @param info detail result to show in GUI
|
||||
*/
|
||||
void save(boolean status, List<String> info);
|
||||
|
||||
boolean isSaved();
|
||||
|
||||
void clear();
|
||||
|
||||
boolean isOk();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue