mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 11:03:25 -08:00
[Tests] Play card interactions through a Cockatrice event player
This commit is contained in:
parent
e6847b0813
commit
d432d8d45a
14 changed files with 1092 additions and 3 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "latency_tracker.h"
|
||||
#include "logger.h"
|
||||
#ifdef WITH_GUI_TEST
|
||||
#include "../game_graphics/pq_cockatrice_event_player.h"
|
||||
#include "pqEventObserver.h"
|
||||
#include "pqEventSource.h"
|
||||
#include "pqEventTypes.h"
|
||||
|
|
@ -685,6 +686,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
testUtility->setRecordWithDialog(true);
|
||||
testUtility->addEventObserver("xml", new XMLEventObserver(this));
|
||||
testUtility->addEventSource("xml", new XMLEventSource(this));
|
||||
testUtility->eventPlayer()->addWidgetEventPlayer(new pqCockatriceEventPlayer(this));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue