[4/5] gameux/tests: Add creating test for IGameExplorer

Nikolay Sivov bunglehead at gmail.com
Sun Jul 18 08:41:14 CDT 2010


  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).



More information about the wine-devel mailing list