Commit Graph

45 Commits

Author SHA1 Message Date
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Piotr Caban 74ee5a2156 oleacc/tests: Fix intermittent AccessibleObjectFromPoint tests failures.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-05 17:16:27 +01:00
Alex Henrie 9d8bf363cf oleacc/tests: Add AccessibleObjectFromPoint tests.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-25 21:19:46 +01:00
Alex Henrie d9984aa505 oleacc/tests: Fix failure messages in test_AccessibleObjectFromEvent.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 13:42:16 +01:00
Connor McAdams 7246ccea1d oleacc/tests: Add tests for default edit accessible object.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 20:15:18 +02:00
Piotr Caban 589be8c1be oleacc: Reorganize class specific behaviour handling.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:15 +02:00
Piotr Caban 82b8b361d2 oleacc: Introduce helper for checking accessibility object hwnd.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Piotr Caban 3e3a2be891 oleacc: Add Window_OleWindow_GetWindow implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams 1a3db363c6 oleacc: Add Client_get_accFocus tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams c33618ffdd oleacc: Add tests for AccessibleObjectFromEvent.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor Mcadams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Connor McAdams 966e6283db oleacc: Add STATE_SYSTEM_FOCUSED test for default client object.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Francois Gouget 0c3bb47589 oleacc/tests: Fix the window name and keyboard shortcut tests.
Unlike button names and static messages, window titles don't contain
keyboard shortcuts so they should be returned as is.
Windows did not make any distinction between these cases before
Windows 10 1607.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 20:47:43 +01:00
Nikolay Sivov da4dc79db9 oleacc/tests: Use wide string constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 10:44:05 +02:00
Francois Gouget a909baeb4e tests: Report all errors when failing to wait for a child process.
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Alexandre Julliard 749243b869 oleacc/tests: Preserve the full 64 bits of the LRESULT value.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Michael Stefaniuc 1144f09229 oleacc/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Gerald Pfeifer 92f9dd1942 oleacc: Avoid two cases of shift overflow. 2015-09-14 16:47:53 +09:00
Piotr Caban cc737bd460 oleacc: Added AccessibleChildren tests. 2015-03-23 16:23:19 +09:00
Piotr Caban 15e13220f1 oleacc: Added client IEnumVARIANT tests. 2015-03-23 16:23:05 +09:00
Piotr Caban 89721ba40d oleacc: Added Client_get_accChild implementation. 2015-03-23 16:22:38 +09:00
Jacek Caban c5af3d912b oleacc: Added CAccPropServices stub implementation. 2014-09-16 09:33:53 +02:00
Piotr Caban 6bd87c6bdb oleacc: Add WindowFromAccessibleObject implementation. 2014-05-15 19:05:23 +02:00
Piotr Caban 25312a10d3 oleacc: Add IOleWindow::GetWindow implementation in default client accessible object. 2014-05-15 19:05:19 +02:00
Piotr Caban 8c808f3ee9 oleacc: Add IOleWindow interface stub to default client accessible object. 2014-05-15 19:05:15 +02:00
Piotr Caban 94b721000a oleacc: Disable tests on old oleacc. 2014-05-15 19:05:12 +02:00
Piotr Caban dccc4283a7 oleacc: Don't return partial data in GetRoleTextA if buffer is too small. 2014-05-15 19:05:10 +02:00
Piotr Caban 1f6ade45c1 oleacc: Modify output buffer on incorrect role in GetRoleTextA. 2014-05-15 19:05:08 +02:00
Piotr Caban 5f51dda7ee oleacc: Add GetStateText implementation. 2014-05-14 17:28:07 +02:00
Piotr Caban 7a0fd9cfe2 oleacc: Add Client_accLocation implementation. 2014-05-12 19:30:11 +02:00
Piotr Caban 40bdbda825 oleacc: Add Client_get_accParent implementation. 2014-05-09 14:25:46 +02:00
Piotr Caban e99dc1aced oleacc: Add Client_accHitTest implementation. 2014-05-09 14:25:44 +02:00
Piotr Caban d8467aee74 oleacc: Add GetProcessHandleFromHwnd implementation. 2014-05-05 12:17:46 +02:00
Piotr Caban 7c029e02ae oleacc: Add tests for default client accessible object. 2014-05-01 17:23:12 +02:00
Piotr Caban 41f5b15523 oleacc: Add AccessibleObjectFromWindow tests. 2014-04-28 18:24:15 +02:00
Piotr Caban 2858f1ee63 oleacc: Add initial LresultFromObject tests. 2014-04-25 16:18:06 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 212ce8b6d6 oleacc/tests: Fix the test failures on Win9x/WinMe and Vista/W2K8. 2008-12-05 13:52:41 +01:00
Francois Gouget 3b140ccb0e Assorted spelling fixes. 2008-11-17 16:04:39 +01:00
Alistair Leslie-Hughes a4dc3213ae oleacc: Removed failed test case. 2008-10-29 11:52:33 +01:00
Paul Vriens c9b8a28576 oleacc/tests: Fix some failures on Win98 up to W2K. 2008-10-23 12:13:46 +02:00
Nikolay Sivov e2399a969f oleacc: Implemented GetRoleText[A/W] with tests. 2008-10-15 15:20:31 +02:00