ole32/tests: make sure to use a return value (LLVM/Clang) (try 2)
Austin English
austinenglish at gmail.com
Thu Feb 10 17:50:30 CST 2011
Of course, one of the few I didn't test first fails...
Ran it through the full testbot, this time :-)
https://testbot.winehq.org/JobDetails.pl?Key=9191
--
-Austin
-------------- next part --------------
diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 6de8cd1..8961186 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1657,6 +1657,7 @@ static void test_default_handler(void)
sizel.cx = sizel.cy = 0;
hr = IOleObject_SetExtent(pObject, DVASPECT_CONTENT, &sizel);
+ ok(hr == OLE_E_NOTRUNNING, "IOleObject_SetExtent should have returned OLE_E_NOTRUNNING instead of 0x%08x\n", hr);
hr = IOleObject_SetHostNames(pObject, wszHostName, NULL);
ok_ole_success(hr, "IOleObject_SetHostNames");
More information about the wine-patches
mailing list