-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-09-23 13:52, schrieb Henri Verbeet:
I don't think the tests really support the implementation. For example, they don't test multiple swapchains at all, and they basically only test if WS_MINIMIZE is set or not as far as window styles are concerned. I'd expect at least some basic message and style tests along the lines of e.g. test_wndproc() and test_window_style().
Is the attached test what you had in mind? Mode switching is not included yet. Windows 7 and Windows Vista don't agree on the WM_WINDOWPOSCHANGING / WM_WINDOWPOSCHANGED parameters, so I'm not checking them. I can extend test_window_style as well to check for WS_VISIBLE, but I don't see a reason to do that given the messages being sent.
Wrt multiple swapchains, since we don't have any tests and support for multi-head or CreateAdditionalSwapchain in fullscreen mode that'd be a rather huge detour I'd prefer not to take.