Commit 50629d7c authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

wmiutils/tests: Use BOOL type where appropriate.

parent aa0eceb5
...@@ -94,7 +94,7 @@ static void test_IWbemPath_SetText(void) ...@@ -94,7 +94,7 @@ static void test_IWbemPath_SetText(void)
const WCHAR *path; const WCHAR *path;
ULONG mode; ULONG mode;
HRESULT ret; HRESULT ret;
int todo; BOOL todo;
} test[] = } test[] =
{ {
{ path1, 0, WBEM_E_INVALID_PARAMETER }, { path1, 0, WBEM_E_INVALID_PARAMETER },
...@@ -113,15 +113,15 @@ static void test_IWbemPath_SetText(void) ...@@ -113,15 +113,15 @@ static void test_IWbemPath_SetText(void)
{ path7, WBEMPATH_CREATE_ACCEPT_RELATIVE, S_OK }, { path7, WBEMPATH_CREATE_ACCEPT_RELATIVE, S_OK },
{ path7, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK }, { path7, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK },
{ path7, WBEMPATH_CREATE_ACCEPT_ALL, S_OK }, { path7, WBEMPATH_CREATE_ACCEPT_ALL, S_OK },
{ path7, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS, WBEM_E_INVALID_PARAMETER, 1 }, { path7, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS, WBEM_E_INVALID_PARAMETER, TRUE },
{ path7, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS + 1, S_OK }, { path7, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS + 1, S_OK },
{ path8, WBEMPATH_CREATE_ACCEPT_RELATIVE, S_OK }, { path8, WBEMPATH_CREATE_ACCEPT_RELATIVE, S_OK },
{ path8, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, WBEM_E_INVALID_PARAMETER, 1 }, { path8, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, WBEM_E_INVALID_PARAMETER, TRUE },
{ path8, WBEMPATH_CREATE_ACCEPT_ALL, S_OK }, { path8, WBEMPATH_CREATE_ACCEPT_ALL, S_OK },
{ path8, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS, WBEM_E_INVALID_PARAMETER, 1 }, { path8, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS, WBEM_E_INVALID_PARAMETER, TRUE },
{ path8, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS + 1, S_OK }, { path8, WBEMPATH_TREAT_SINGLE_IDENT_AS_NS + 1, S_OK },
{ path9, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK }, { path9, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK },
{ path10, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, WBEM_E_INVALID_PARAMETER, 1 }, { path10, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, WBEM_E_INVALID_PARAMETER, TRUE },
{ path11, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK }, { path11, WBEMPATH_CREATE_ACCEPT_ABSOLUTE, S_OK },
{ path15, WBEMPATH_CREATE_ACCEPT_ALL, S_OK } { path15, WBEMPATH_CREATE_ACCEPT_ALL, S_OK }
}; };
......
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