msxml3/tests: Don't outdent todo_wine*.

This prevents -Wmisleading-indentation warnings (Mingw GCC11).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-21 08:07:27 +01:00 committed by Alexandre Julliard
parent 53cb28e6d9
commit bee722a77b
3 changed files with 23 additions and 23 deletions

View file

@ -7532,7 +7532,7 @@ static void test_XSLPattern(void)
if (len) {
if (ptr->todo) {
char *str = list_to_string(list);
todo_wine
todo_wine
ok(!strcmp(str, ptr->list), "Invalid node list: %s, expected %s\n", str, ptr->list);
IXMLDOMNodeList_Release(list);
}
@ -8730,7 +8730,7 @@ static void test_createProcessingInstruction(void)
hr = IXMLDOMDocument_get_xml(doc, &xml);
ok(hr == S_OK, "got 0x%08x\n", hr);
todo_wine
todo_wine
ok(!wcscmp(xml, xml1), "got %s\n", wine_dbgstr_w(xml));
SysFreeString(xml);
@ -10942,7 +10942,7 @@ static void test_mxnamespacemanager(void)
EXPECT_REF(mgr2, 2);
prefixes = NULL;
hr = IVBMXNamespaceManager_getDeclaredPrefixes(mgr2, &prefixes);
todo_wine
todo_wine
ok(hr == S_OK, "got 0x%08x\n", hr);
if (hr == S_OK)
{
@ -11513,7 +11513,7 @@ static void test_dispex(void)
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
ok(hr == DISP_E_BADPARAMCOUNT, "got 0x%08x\n", hr);
ok(V_VT(&ret) == VT_EMPTY, "got %d\n", V_VT(&ret));
todo_wine
todo_wine
ok(broken(V_DISPATCH(&ret) == (void*)0x1) || (V_DISPATCH(&ret) == NULL), "got %p\n", V_DISPATCH(&ret));
V_VT(&arg) = VT_I4;
@ -11528,7 +11528,7 @@ todo_wine
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
ok(hr == DISP_E_BADPARAMCOUNT, "got 0x%08x\n", hr);
ok(V_VT(&ret) == VT_EMPTY, "got %d\n", V_VT(&ret));
todo_wine
todo_wine
ok(broken(V_DISPATCH(&ret) == (void*)0x1) || (V_DISPATCH(&ret) == NULL), "got %p\n", V_DISPATCH(&ret));
V_VT(&arg) = VT_I4;
@ -11581,7 +11581,7 @@ todo_wine
hr = IDispatchEx_Invoke(dispex, DISPID_DOM_NODELIST_LENGTH, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
ok(hr == DISP_E_MEMBERNOTFOUND, "got 0x%08x\n", hr);
ok(V_VT(&ret) == VT_EMPTY, "got %d\n", V_VT(&ret));
todo_wine
todo_wine
ok(broken(V_I4(&ret) == 1) || (V_I4(&ret) == 0), "got %d\n", V_I4(&ret));
IXMLDOMNodeList_Release(node_list);
@ -11607,7 +11607,7 @@ todo_wine
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
ok(hr == DISP_E_MEMBERNOTFOUND, "got 0x%08x\n", hr);
ok(V_VT(&ret) == VT_EMPTY, "got %d\n", V_VT(&ret));
todo_wine
todo_wine
ok(broken(V_DISPATCH(&ret) == (void*)0x1) || (V_DISPATCH(&ret) == NULL), "got %p\n", V_DISPATCH(&ret));
IDispatchEx_Release(dispex);
@ -11712,7 +11712,7 @@ todo_wine {
V_VT(&ret) = VT_EMPTY;
V_DISPATCH(&ret) = (void*)0x1;
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
todo_wine
todo_wine
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(V_VT(&ret) == VT_DISPATCH, "got %d\n", V_VT(&ret));
ok(V_DISPATCH(&ret) == NULL, "got %p\n", V_DISPATCH(&ret));
@ -11752,7 +11752,7 @@ todo_wine
V_I4(&ret) = 1;
hr = IDispatchEx_Invoke(dispex, DISPID_DOM_NODELIST_LENGTH, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
ok(hr == DISP_E_MEMBERNOTFOUND, "got 0x%08x\n", hr);
todo_wine
todo_wine
ok(V_VT(&ret) == VT_EMPTY, "got %d\n", V_VT(&ret));
ok(broken(V_I4(&ret) == 1) || (V_I4(&ret) == 0), "got %d\n", V_I4(&ret));
@ -12791,7 +12791,7 @@ static void test_newline_normalization(void)
if (IsEqualGUID(table->clsid, &CLSID_DOMDocument60))
{
/* DOMDocument60 does the newline normalization but does not insert line breaks around the root node */
todo_wine
todo_wine
ok(!lstrcmpW(s, L"<?xml version=\"1.0\"?><root>foo\r\n\r\n\r\n\r\nbar</root>"),
"got %s\n", wine_dbgstr_w(s));
}
@ -13303,7 +13303,7 @@ static HRESULT WINAPI transformdest_QueryInterface(IUnknown *iface, REFIID riid,
IsEqualIID(riid, &IID_ISequentialStream) ||
IsEqualIID(riid, &IID_IResponse);
todo_wine_if(IsEqualIID(riid, &IID_IXMLDOMDocument))
todo_wine_if(IsEqualIID(riid, &IID_IXMLDOMDocument))
ok(known_iid, "Unexpected riid %s\n", wine_dbgstr_guid(riid));
return E_NOINTERFACE;
@ -13733,15 +13733,15 @@ static void test_load_with_site(void)
hr = IObjectWithSite_SetSite(site, (IUnknown *)&sp);
ok(hr == S_OK, "got %#x\n", hr);
ok(qi_count != 0, "got %d QI calls\n", qi_count);
todo_wine
todo_wine
ok(qi_list_contains(&IID_IXMLDOMDocument), "QI(IID_IXMLDOMDocument) was not called\n");
ok(qi_list_contains(&IID_IHTMLDocument2), "QI(IID_IHTMLDocument2) was not called\n");
ok(qi_list_contains(&IID_IServiceProvider), "QI(IID_IServiceProvider) was not called\n");
todo_wine
todo_wine
ok(qi_list_contains(&IID_IOleClientSite), "QI(IID_IOleClientSite) was not called\n");
ok(qi_list_contains_service(&SID_SContainerDispatch, &IID_IHTMLDocument2),
"QI(SID_SContainerDispatch, IID_IHTMLDocument2) was not called\n");
todo_wine
todo_wine
ok(qi_list_contains_service(&SID_SInternetHostSecurityManager, &IID_IXMLDOMDocument),
"QI(SID_SInternetHostSecurityManager, IID_IXMLDOMDocument) was not called\n");

View file

@ -1401,11 +1401,11 @@ static void set_xhr_site(IXMLHttpRequest *xhr)
EXPECT_HR(hr, S_OK);
CHECK_CALLED(site_qi_IServiceProvider);
todo_wine
todo_wine
CHECK_CALLED(sp_queryservice_SID_SBindHost);
CHECK_CALLED(sp_queryservice_SID_SContainerDispatch_htmldoc2);
CHECK_CALLED(sp_queryservice_SID_secmgr_htmldoc2);
todo_wine
todo_wine
CHECK_CALLED(sp_queryservice_SID_secmgr_xmldomdoc);
/* this one isn't very reliable
CHECK_CALLED(sp_queryservice_SID_secmgr_secmgr); */

View file

@ -4504,7 +4504,7 @@ static void test_mxwriter_domdoc(void)
V_DISPATCH(&dest) = (IDispatch *)domdoc;
hr = IMXWriter_put_output(writer, dest);
todo_wine
todo_wine
ok(hr == S_OK, "Failed to set writer output, hr %#x.\n", hr);
if (FAILED(hr))
{
@ -4530,11 +4530,11 @@ todo_wine
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
hr = IXMLDOMDocument_get_documentElement(domdoc, &root);
todo_wine
todo_wine
ok(hr == S_FALSE, "Unexpected hr %#x.\n", hr);
hr = IXMLDOMDocument_createElement(domdoc, _bstr_("TestElement"), &root);
todo_wine
todo_wine
ok(hr == E_FAIL, "Unexpected hr %#x.\n", hr);
/* startElement allows document root node to be accessed. */
@ -4547,7 +4547,7 @@ todo_wine
hr = IXMLDOMElement_get_nodeName(root, &str);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
todo_wine
todo_wine
ok(!lstrcmpW(L"BankAccount", str), "Unexpected name %s.\n", wine_dbgstr_w(str));
SysFreeString(str);
@ -4560,11 +4560,11 @@ todo_wine
hr = IXMLDOMNodeList_get_length(node_list, &list_length);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
todo_wine
todo_wine
ok(list_length == 1, "list length %i, expected 1\n", list_length);
hr = IXMLDOMNodeList_get_item(node_list, 0, &node);
todo_wine
todo_wine
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
hr = IXMLDOMNode_get_nodeName(node, &str);
@ -4618,7 +4618,7 @@ todo_wine {
ok(2 == list_length, "list length %i, expected 2\n", list_length);
}
hr = IXMLDOMNodeList_get_item(node_list, 1, &node);
todo_wine
todo_wine
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
hr = IXMLDOMNode_get_nodeName(node, &str);