Make it easier for tests to init the platform
Only a single static method is needed now, instead of 2.
This commit is contained in:
@@ -42,8 +42,8 @@ public:
|
||||
bool tests_waitForResize(Controller *, int timeout = 2000) const override;
|
||||
bool tests_waitForDeleted(View *, int timeout = 2000) const override;
|
||||
void tests_sendEvent(std::shared_ptr<Window>, QEvent *) const override;
|
||||
void tests_initTests() override;
|
||||
void tests_cleanupTests() override;
|
||||
void tests_initPlatform_impl() override;
|
||||
void tests_deinitPlatform_impl() override;
|
||||
#endif
|
||||
protected:
|
||||
int screenNumberForQWindow(QWindow *) const;
|
||||
|
||||
Reference in New Issue
Block a user