[PATCH 2/2] d3drm/tests: Add tests for IDirect3DRMObject::Add/DeleteDestroyCallback (v2).

Aaryaman Vasishta jem456.vasishta at gmail.com
Sat Apr 9 14:55:05 CDT 2016


On Mon, Apr 4, 2016 at 1:40 AM, Stefan Dösinger <stefandoesinger at gmail.com>
wrote:

> *) The test already does some testing of the call order. I think you could
> extend it a bit if you store arrays of expected callback functions and
> context pointers in the structure and compare them when the callbacks are
> invoked.
>
> Something like this? http://pastebin.com/hwAA66Vj
It's not final yet. I could leave the existing tests alone and use a
seperate context pointer for the call order. I'm also aware that the id
member might be useless.

Cheers,
Aaryaman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160410/e1f07c32/attachment.html>


More information about the wine-devel mailing list