Re: [4/5] gameux/tests: Add creating test for IGameExplorer
18 Jul
2010
18 Jul
'10
1:41 p.m.
On 7/18/2010 15:59, Mariusz PluciĆski wrote:
+ /* interface available up from Vista */ + hr = CoCreateInstance(&CLSID_GameExplorer, NULL, CLSCTX_INPROC_SERVER,&IID_IGameExplorer, (LPVOID*)&ge); + ok(ge&& hr == S_OK, "IGameExplorer creating failed (result false)\n"); + if(ge) + { + IGameExplorer_Release(ge); + } It's still better to properly skip even if automated run won't try this test cause gameux module is missing. Nice way is to try to create object inside main function of a test, before any other test_* functions and skip properly with win_skip or skip (if wine can't create it either at this point).
5632
Age (days ago)
5632
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov