ole32/tests: Move tests to a separate function.

oldstable
Nikolay Sivov 2010-05-01 13:37:42 +04:00 committed by Alexandre Julliard
parent 40cd9a7ff0
commit a37dfe3584
1 changed files with 6 additions and 1 deletions

View File

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