mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
xaudio2_7/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a6aa3134d
commit
05e39f6af8
1 changed files with 2 additions and 6 deletions
|
@ -864,9 +864,7 @@ static void test_xapo_creation_legacy(const char *module, unsigned int version)
|
||||||
if(pCreateFX){
|
if(pCreateFX){
|
||||||
for(i = 0; i < sizeof(const_clsids) / sizeof(*const_clsids); ++i){
|
for(i = 0; i < sizeof(const_clsids) / sizeof(*const_clsids); ++i){
|
||||||
hr = pCreateFX(const_clsids[i].clsid, &fx_unk);
|
hr = pCreateFX(const_clsids[i].clsid, &fx_unk);
|
||||||
if(const_clsids[i].todo)
|
todo_wine_if(const_clsids[i].todo)
|
||||||
todo_wine ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
|
||||||
else
|
|
||||||
ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
||||||
if(SUCCEEDED(hr)){
|
if(SUCCEEDED(hr)){
|
||||||
IXAPO *xapo;
|
IXAPO *xapo;
|
||||||
|
@ -952,9 +950,7 @@ static void test_xapo_creation_modern(const char *module)
|
||||||
if(pCreateFX){
|
if(pCreateFX){
|
||||||
for(i = 0; i < sizeof(const_clsids) / sizeof(*const_clsids); ++i){
|
for(i = 0; i < sizeof(const_clsids) / sizeof(*const_clsids); ++i){
|
||||||
hr = pCreateFX(const_clsids[i].clsid, &fx_unk, NULL, 0);
|
hr = pCreateFX(const_clsids[i].clsid, &fx_unk, NULL, 0);
|
||||||
if(const_clsids[i].todo)
|
todo_wine_if(const_clsids[i].todo)
|
||||||
todo_wine ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
|
||||||
else
|
|
||||||
ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
ok(hr == S_OK, "%s: CreateFX(%s) failed: %08x\n", module, wine_dbgstr_guid(const_clsids[i].clsid), hr);
|
||||||
if(SUCCEEDED(hr)){
|
if(SUCCEEDED(hr)){
|
||||||
IXAPO *xapo;
|
IXAPO *xapo;
|
||||||
|
|
Loading…
Reference in a new issue