[PATCH] Move tests to a separate function
Nikolay Sivov
nsivov at codeweavers.com
Sat May 1 04:37:42 CDT 2010
---
dlls/ole32/tests/dragdrop.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/dragdrop.c b/dlls/ole32/tests/dragdrop.c
index b28a831..ce08bc3 100644
--- a/dlls/ole32/tests/dragdrop.c
+++ b/dlls/ole32/tests/dragdrop.c
@@ -124,7 +124,7 @@ static ATOM register_dummy_class(void)
return RegisterClass(&wc);
}
-START_TEST(dragdrop)
+static void test_Register_Revoke(void)
{
HRESULT hr;
HWND hwnd;
@@ -172,3 +172,8 @@ START_TEST(dragdrop)
DestroyWindow(hwnd);
}
+
+START_TEST(dragdrop)
+{
+ test_Register_Revoke();
+}
--
1.5.6.5
--=-14HA+D/6Y8Wdr8KwruQ5--
More information about the wine-patches
mailing list