Katayama Hirofumi MZ
0d43ce7879
[USER32_APITEST][SDK] Add GW_ENABLEDPOPUP testcase ( #6564 )
...
JIRA issue: CORE-6920
- Add GW_ENABLEDPOPUP constant to
<winuser.h>.
- Add GW_ENABLEDPOPUP testcase.
2024-03-06 07:52:30 +09:00
Whindmar Saksit
82c07abf1a
[USER32] Support loading icons from data file module ( #6065 )
...
GetModuleFileName() fails on LOAD_LIBRARY_AS_DATAFILE causing LoadImage to fail.
Use a fake filename for LR_SHARED (with same format as Windows).
This may not be a good design, but it does match Windows' behaviour.
+ Added test.
2023-12-17 22:11:50 +01:00
Doug Lyons
c00d41d91c
[USER32_APITEST] Add test for bad 'Icon Groups' but good 'Icons' such as F1'97 ( #6020 )
...
Add test for bad 'Icon Groups' but good 'Icons' such as created
by old versions of Watcom C/C++
That icon shows fine in Windows Explorer WinXP/Win2K3,
but does not show in WinVista/Win7 anymore.
A very special corner case.
We will commit the proposed fix shortly after committing the new test.
2023-11-26 15:26:05 +00:00
Hermès Bélusca-Maïto
6cdaad13bd
Add missing OEMRESOURCE for using the OBM_, OIC_, OCR_ defines from winuser.h
...
Fix build by commit 072965eb0
for modules:
EXPLORER, COMCTL32, IERNONCE, URLMON, USER32_(API|WINE)TESTS
Note that some of these modules (from Wine) already have the OEMRESOURCE
defined; however, only in one of their files. But we have added
precompiled headers for them where we have included either windows.h
or winuser.h in them, without OEMRESOURCE. The result is, that when
compiling these modules with PCH support, the OEMRESOURCE define was
_not_ satisfied and thus, compile errors arose.
Fix this by adding #define OEMRESOURCE before the windows headers also
in the precompiled headers we have added for these modules.
2023-11-22 17:02:45 +01:00
Egor Ananyin
26ffe2f826
[USER32_APITEST] Add a test for system menu messages ( #5573 )
...
Based on msg.c Wine test. CORE-19061
2023-08-24 16:33:03 +02:00
Doug Lyons
454a27cdff
[USER32_APITEST] Improve user32:PrivateExtractIcons test ( #5209 )
...
- Improve the test by examining total number of icon groups in files
and by adding more testcases including two new icon files.
- Add new ROS.ico file which has both a normal icon and a PNG one.
- Add tests for explorer.exe and new ROS.ico and sysicon.ico files.
CORE-18897
2023-07-10 22:24:41 +03:00
Timo Kreuzer
c7fd9983cb
[USER32_APITEST] Add tests for GetClassInfo
2023-05-16 21:59:19 +03:00
Timo Kreuzer
a9675d00a2
[USER32_APITEST] Add tests for [Get|Set]Window[Word|Long|LongPtr]
2023-05-16 21:59:19 +03:00
Timo Kreuzer
28a305e26a
[USER32_APITEST] Comment out a test for GetMessageTime that randomly fails on Windows
2023-04-17 00:41:31 +03:00
Timo Kreuzer
e536256e0a
[USER32_APITEST] Remove "ugly ros hack"
...
This hack corrupts memory and causes test failures on Windows.
2023-04-17 00:41:31 +03:00
Katayama Hirofumi MZ
7c14c0ed73
[USER32_APITEST] Follow-up of c39bf0d
...
Avoid buffer overflow. CORE-15289, CORE-11700
2023-03-20 16:33:11 +09:00
Katayama Hirofumi MZ
c39bf0d54b
[USER32_APITEST] Improve MessageStateAnalyzer testcase
...
CORE-15289, CORE-11700
2023-03-20 16:17:50 +09:00
Stanislav Motylkov
4b10fdbce9
[USER32_APITEST] Add tests for CharPrev/Next/Ex/A/W
...
CORE-18415 CORE-18452
2022-11-07 19:02:09 +03:00
Stanislav Motylkov
6aacfa93c0
[USER32_APITEST] Add tests for Keyboard Layouts
...
CORE-17906
2022-10-05 16:18:16 +03:00
Stanislav Motylkov
c1c127932d
[USER32_APITEST] Add tests for MapVirtualKeyW
...
For @julcar. See PR #4730 for details. CORE-17906
2022-10-02 02:46:24 +03:00
Victor Perevertkin
97f075a2ab
[USER32_APITEST] Convert global variables to static ones
2022-04-26 03:38:29 +03:00
James Tabor
993eb07654
[User32|API_TEST] Add Get Window Ptr Test
...
Adding test to verify results from a foreign window process.
See CORE-17856.
2021-11-27 14:47:11 -06:00
Arjav Garg
a602bc3550
[NTUSER] Fix UserSendKeyboardInput() KEYEVENTF_SCANCODE use case (CORE-17144)
2021-09-25 09:56:12 -04:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Hermès Bélusca-Maïto
9b1edceae1
[REACTOS] Fix some instances of DPRINTs with trailing whitespace before newlines.
2021-09-13 03:52:19 +02:00
Katayama Hirofumi MZ
94d9e9c2a8
[USER32_APITEST] Add SetFocus testcase ( #3732 )
...
Investigate about setting keyboard focus. CORE-17550
2021-06-09 16:14:31 +09:00
Katayama Hirofumi MZ
a8ed286c86
[USER32_APITEST] Add ShowWindow testcase ( #3689 )
...
Investigate the implementation of user32!ShowWindow. CORE-15669
2021-05-30 09:37:38 +09:00
Dmitry Borisov
2e6c9ee1ca
[USER32_APITEST] Add a test for SPI_GETGRADIENTCAPTIONS ( #3338 )
2020-12-20 23:12:20 +03:00
Amine Khaldi
139a3d6661
[CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905
2020-06-06 21:58:41 +03:00
Katayama Hirofumi MZ
1816e4f6cb
[USER32_APITEST] Strengthen DrawText testcase ( #2450 )
...
Add uFormat and pszText parameters into user32_apitest DrawText testcase. CORE-16753
2020-03-17 23:24:11 +09:00
Katayama Hirofumi MZ
eb227153e5
[USER32_APITEST] Strengthen ScrollWindowEx for SW_SCROLLCHILDREN ( #2324 )
...
Improve ScrollWindowEx testcase for investigation of SW_SCROLLCHILDREN flag.
CORE-16687, CORE-12114
2020-02-11 11:27:55 +09:00
Mark Jansen
2eb96f0c40
[ROSTESTS] Update test helpers to allow custom file/line info
2020-02-08 22:09:13 +01:00
Thomas Faber
787b2c7660
[APITESTS] Centrally define AllocateGuarded/FreeGuarded instead of duplicating them.
2019-12-31 15:18:41 +01:00
Timo Kreuzer
465745b683
[APITESTS] Improve and fix tests
2019-12-21 12:44:48 +01:00
Katayama Hirofumi MZ
d2ae609522
[USER32_APITEST] Add DrawText testcase ( #2140 )
...
This PR will add a testcase for user32!DrawText function. CORE-15478
2019-12-09 10:02:50 +09:00
Timo Kreuzer
e26c8bc66f
[ROSTESTS] Skip some flaky test / do not count successes
2019-12-04 01:24:49 +01:00
Katayama Hirofumi MZ
2a93f61fcb
[USER32_APITEST] Power to DM_REPOSITION testcase ( #2055 )
...
- Add the minimized case.
- Add a test for WS_DISPLAYCHANGE message.
CORE-16490
2019-11-20 09:23:32 +09:00
Katayama Hirofumi MZ
bef841c3ee
[USER32_APITEST] Add DM_REPOSITION testcase ( #2043 )
...
CORE-16490
2019-11-18 10:46:36 +09:00
Timo Kreuzer
58588b76e2
[REACTOS] Fix MSVC printf format warnings
2019-08-15 15:24:12 +02:00
Katayama Hirofumi MZ
8084c042f1
[USER32_APITEST] Add #include 'precomp.h' in MessageStateAnalyzer
2019-07-26 21:45:11 +09:00
Katayama Hirofumi MZ
9c5d8cf7db
[USER32_APITEST] Move <strsafe.h> #inclusion
2019-07-26 21:30:36 +09:00
Katayama Hirofumi MZ
782160bbc0
[USER32_APITEST][INCLUDE] Add MessageStateAnalyzer testcase ( #1732 )
...
I want to visualize the message stream and verify the states of each message. ROSTESTS-328
- Add a testcase named MessageStateAnalyzer into user32_apitest.
- Also fix type casts in <windowsx.h>.
2019-07-25 01:45:55 +09:00
Serge Gautherie
620d8c01ea
[USER32_APITEST:WNDPROC] Improve failure handling
...
ROSTESTS-316
2019-06-02 19:08:17 +02:00
Serge Gautherie
c5d3ff03fb
[USER32_APITEST:WNDPROC] 0 to NULL
2019-06-02 19:08:17 +02:00
Serge Gautherie
9a8b5ffc91
[FORMATTING] 3-spaces to 4-spaces
...
And a few additional formatting improvements.
2019-06-02 19:08:17 +02:00
Mark Jansen
3df31a8217
[USER32_APITEST] Show that scrollbars can be created when extra window data is requested.
2019-01-21 22:25:35 +01:00
Timo Kreuzer
bb9a5f6046
[ROSTESTS] Fix 64bit issues ( #1261 )
2019-01-20 15:58:32 +01:00
Katayama Hirofumi MZ
4b924a8685
[USER32_APITEST] Improve GetMessageTime tests more ( #1254 )
...
Compare GetMessageTime and GetTickCount values.
CORE-15565
2019-01-18 12:11:53 +09:00
Katayama Hirofumi MZ
b490084d38
[USER32_APITEST] Improve GetMessageTime tests
2019-01-17 09:31:35 +09:00
Katayama Hirofumi MZ
249d55f4a0
[USER32_APITEST] Add tests for GetMessageTime
2019-01-16 22:59:35 +02:00
Katayama Hirofumi MZ
665269be9c
[APITESTS] Add InSendMessage check in SwitchToThisWindow testcase ( #998 )
...
CORE-15165
2018-10-30 17:14:37 +09:00
Katayama Hirofumi MZ
c550bad4ef
[APITESTS] Improve CloseWindow testcase ( #997 )
...
Improve the testcase for user32!CloseWindow function.
2018-10-30 08:54:40 +09:00
Katayama Hirofumi MZ
328a4c3834
[APITESTS] Add CloseWindow testcase ( #996 )
...
Add a testcase for user32!CloseWindow function.
2018-10-30 08:38:03 +09:00
Katayama Hirofumi MZ
3e00e7fb22
[APITESTS][USER32] Add testcase for SwitchToThisWindow ( #980 )
...
Add an API test program for user32!SwitchToThisWindow function.
JIRA issue: CORE-15165
2018-10-26 19:56:25 +09:00
Hermès Bélusca-Maïto
57a9fca04b
[USER32_APITEST] Add a test for PrivateExtractIcons(A/W) that shows that this API can accept unexpanded file paths.
...
CORE-15150
2018-10-07 20:32:26 +02:00