fusion/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
8c771e3f7e
commit
262dab8418
|
@ -745,6 +745,7 @@ static void test_CreateAssemblyNameObject(void)
|
||||||
to_widechar(namestr, "wine, processorArchitecture=AMD64");
|
to_widechar(namestr, "wine, processorArchitecture=AMD64");
|
||||||
name = NULL;
|
name = NULL;
|
||||||
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
||||||
|
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
|
||||||
|
|
||||||
size = MAX_PATH;
|
size = MAX_PATH;
|
||||||
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
||||||
|
@ -758,6 +759,7 @@ static void test_CreateAssemblyNameObject(void)
|
||||||
to_widechar(namestr, "wine, processorArchitecture=IA64");
|
to_widechar(namestr, "wine, processorArchitecture=IA64");
|
||||||
name = NULL;
|
name = NULL;
|
||||||
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
||||||
|
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
|
||||||
|
|
||||||
size = MAX_PATH;
|
size = MAX_PATH;
|
||||||
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
||||||
|
@ -771,6 +773,7 @@ static void test_CreateAssemblyNameObject(void)
|
||||||
to_widechar(namestr, "wine, processorArchitecture=MSIL");
|
to_widechar(namestr, "wine, processorArchitecture=MSIL");
|
||||||
name = NULL;
|
name = NULL;
|
||||||
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
|
||||||
|
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
|
||||||
|
|
||||||
size = MAX_PATH;
|
size = MAX_PATH;
|
||||||
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
|
||||||
|
|
Loading…
Reference in New Issue