Commit b22fa89d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winmm/tests: Remove unreliable tests.

parent a360cc47
......@@ -316,7 +316,6 @@ static void wave_in_test_device(UINT_PTR device)
GetSystemInfo(&sSysInfo);
dwPageSize = sSysInfo.dwPageSize;
memset(&capsA, 0xff, sizeof(capsA));
rc=waveInGetDevCapsA(device,&capsA,sizeof(capsA));
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_BADDEVICEID ||
rc==MMSYSERR_NODRIVER,
......@@ -324,14 +323,11 @@ static void wave_in_test_device(UINT_PTR device)
dev_name(device),wave_in_error(rc));
if (rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER)
return;
ok(capsA.wReserved1 != 0xffff, "got %u\n", capsA.wReserved1);
memset(&capsW, 0xcc, sizeof(capsW));
rc=waveInGetDevCapsW(device,&capsW,sizeof(capsW));
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED,
"waveInGetDevCapsW(%s): MMSYSERR_NOERROR or MMSYSERR_NOTSUPPORTED "
"expected, got %s\n",dev_name(device),wave_in_error(rc));
ok(capsW.wReserved1 == 0, "got %u\n", capsW.wReserved1);
rc=waveInGetDevCapsA(device,NULL,sizeof(capsA));
ok(rc==MMSYSERR_INVALPARAM,
......
......@@ -893,7 +893,6 @@ static void wave_out_test_device(UINT_PTR device)
GetSystemInfo(&sSysInfo);
dwPageSize = sSysInfo.dwPageSize;
memset(&capsA, 0xcc, sizeof(capsA));
rc=waveOutGetDevCapsA(device,&capsA,sizeof(capsA));
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_BADDEVICEID ||
rc==MMSYSERR_NODRIVER,
......@@ -901,14 +900,11 @@ static void wave_out_test_device(UINT_PTR device)
dev_name(device),wave_out_error(rc));
if (rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER)
return;
ok(capsA.wReserved1 == 0, "got %u\n", capsA.wReserved1);
memset(&capsW, 0xcc, sizeof(capsW));
rc=waveOutGetDevCapsW(device,&capsW,sizeof(capsW));
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED,
"waveOutGetDevCapsW(%s): MMSYSERR_NOERROR or MMSYSERR_NOTSUPPORTED "
"expected, got %s\n",dev_name(device),wave_out_error(rc));
ok(capsW.wReserved1 == 0, "got %u\n", capsW.wReserved1);
rc=waveOutGetDevCapsA(device,0,sizeof(capsA));
ok(rc==MMSYSERR_INVALPARAM,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment