kernel32/tests: Fix atom tests on Win7.
This commit is contained in:
parent
8bb68933ea
commit
4d5059060a
|
@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
TESTDLL = kernel32.dll
|
||||
IMPORTS = advapi32 kernel32
|
||||
IMPORTS = user32 advapi32 kernel32
|
||||
|
||||
CTESTS = \
|
||||
actctx.c \
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue