kernel32/tests: Fix atom tests on Win7.

This commit is contained in:
Ge van Geldorp 2001-09-17 00:00:00 +02:00 committed by Alexandre Julliard
parent 8bb68933ea
commit 4d5059060a
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
TESTDLL = kernel32.dll
IMPORTS = advapi32 kernel32
IMPORTS = user32 advapi32 kernel32
CTESTS = \
actctx.c \

View File

@ -619,6 +619,10 @@ static void test_local_error_handling(void)
START_TEST(atom)
{
/* Global atom table seems to be available to GUI apps only in
Win7, so let's turn this app into a GUI app */
GetDesktopWindow();
test_add_atom();
test_get_atom_name();
test_error_handling();