Nikolay Sivov : ole32/tests: Move tests to a separate function.

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:06 CDT 2010


Module: wine
Branch: master
Commit: a37dfe3584394c1afa2e66daa45aa26b273e84da
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a37dfe3584394c1afa2e66daa45aa26b273e84da

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat May  1 13:37:42 2010 +0400

ole32/tests: Move tests to a separate function.

---

 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();
+}




More information about the wine-cvs mailing list