Esme Povirk (@madewokherd) commented about dlls/uiautomationcore/tests/uiautomation.c:
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- ok(!!cache_req, "cache_req == NULL\n");
- for (i = 0; i < ARRAY_SIZE(cache_test_props); i++)
- {
hr = IUIAutomationCacheRequest_AddProperty(cache_req, cache_test_props[i]);
ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- }
- /* element2, invalid values for all cached properties. */
- element2 = NULL;
- Provider.ret_invalid_prop_type = TRUE;
- set_uia_rect(&Provider.bounds_rect, 0, 0, 0, 0);
- hr = IUIAutomationElement_BuildUpdatedCache(element, cache_req, &element2);
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- ok(!!element2, "element3 == NULL\n");
Typo in message.