mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 22:20:24 +00:00
dswave/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7560f0c59d
commit
3d62a461d0
|
@ -190,7 +190,6 @@ static void test_parsedescriptor(void)
|
|||
IStream *stream;
|
||||
DMUS_OBJECTDESC desc = {0};
|
||||
HRESULT hr;
|
||||
const WCHAR s_inam[] = {'I','N','A','M','\0'};
|
||||
const FOURCC alldesc[] =
|
||||
{
|
||||
FOURCC_RIFF, mmioFOURCC('W','A','V','E'), DMUS_FOURCC_CATEGORY_CHUNK, FOURCC_LIST,
|
||||
|
@ -279,7 +278,7 @@ static void test_parsedescriptor(void)
|
|||
ok(hr == S_OK, "ParseDescriptor failed: %08x, expected S_OK\n", hr);
|
||||
ok(desc.dwValidData == DMUS_OBJ_NAME, "Got valid data %#x, expected DMUS_OBJ_NAME\n",
|
||||
desc.dwValidData);
|
||||
ok(!memcmp(desc.wszName, s_inam, sizeof(s_inam)), "Got name '%s', expected 'INAM'\n",
|
||||
ok(!lstrcmpW(desc.wszName, L"INAM"), "Got name '%s', expected 'INAM'\n",
|
||||
wine_dbgstr_w(desc.wszName));
|
||||
IStream_Release(stream);
|
||||
|
||||
|
@ -291,7 +290,7 @@ static void test_parsedescriptor(void)
|
|||
ok(desc.dwValidData == (DMUS_OBJ_OBJECT | DMUS_OBJ_NAME | DMUS_OBJ_VERSION),
|
||||
"Got valid data %#x, expected DMUS_OBJ_OBJECT | DMUS_OBJ_NAME | DMUS_OBJ_VERSION\n",
|
||||
desc.dwValidData);
|
||||
ok(!memcmp(desc.wszName, s_inam, sizeof(s_inam)), "Got name '%s', expected 'INAM'\n",
|
||||
ok(!lstrcmpW(desc.wszName, L"INAM"), "Got name '%s', expected 'INAM'\n",
|
||||
wine_dbgstr_w(desc.wszName));
|
||||
IStream_Release(stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue