Commit graph

111 commits

Author SHA1 Message Date
Giannis Adamopoulos a28235c709 [USER32_APITEST] -Add a monster of a test to check if WM_DESTROYCLIPBOARD is blocking or not. Use a critical section while recording as we use a single message cache in two threads. After 50154, 50816, 50846 and 75616 changing back and forth, this test shows that 75616 is correct and making sure that it won't be changed again in the future, somehting that would break the ole clipboard.
svn path=/trunk/; revision=75663
2017-08-24 23:08:09 +00:00
Mark Jansen 85dde2e51b [USER32_APITEST] Add tests to validate the messages sent during MDI window creation. CORE-12052
The test passes from 2k3 - 10.

svn path=/trunk/; revision=75274
2017-07-03 20:33:36 +00:00
Giannis Adamopoulos 7dea13d496 [USER32_APITEST] -Initial tests for desktop reference numbers.
svn path=/trunk/; revision=75153
2017-06-20 19:25:10 +00:00
Mark Jansen 440290e1cb [USER32_APITEST] Add more tests to validate messages sent during window creation / modifying of styles. CORE-12052
svn path=/trunk/; revision=74691
2017-05-28 17:40:48 +00:00
Mark Jansen 9386daa570 [USER32_APITEST] Add tests to validate messages sent during window creation / modifying of styles. CORE-12052
svn path=/trunk/; revision=74689
2017-05-28 13:55:05 +00:00
Hermès Bélusca-Maïto 5c9adf775d [NDK]: No, the NDK applications do not have to use UNICODE.
Indeed the RTL/NDK/whatever always explicitely uses ANSI and/or UNICODE string types where needed (and do not depend on tchar.h stuff).
It is up to the given application to explicitely specify (in its CMakeLists.txt or elsewhere) whether it wants to define UNICODE or not.
--> Fix the problem of having the UNICODE define magically being defined after including some NDK header.

[DNSAPI][USER32_APITEST]: Explicitely use UNICODE functions where needed (and as was already done in other parts of the code).

svn path=/trunk/; revision=74172
2017-03-15 00:06:42 +00:00
Giannis Adamopoulos 93bbc9d548 [USER32_APITEST] -Move the helper functions in the common include directory
[UXTHEME_APITEST] -Use the helper functions to test the messages sent by DrawThemeParentBackground

svn path=/trunk/; revision=74123
2017-03-07 22:29:48 +00:00
Thomas Faber 3df8b3ccc8 [USER32_APITEST]
- Add a test for SetScrollRange
CORE-12763

svn path=/trunk/; revision=74058
2017-03-04 18:34:35 +00:00
Giannis Adamopoulos 126bbfdb97 [USER32_APITEST]: Add a couple more tests for GetClassInfoExW.
svn path=/trunk/; revision=73787
2017-02-13 09:58:06 +00:00
Giannis Adamopoulos a5ab07e889 [USER32_APITEST] -Add more tests for versioned classes.
svn path=/trunk/; revision=73769
2017-02-11 10:01:13 +00:00
Giannis Adamopoulos 47ee20b4ab [USER32_APITEST]: Add more tests for RegisterClassEx.
svn path=/trunk/; revision=73747
2017-02-07 12:11:26 +00:00
Giannis Adamopoulos 0b7e31082f [USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.
svn path=/trunk/; revision=73725
2017-02-06 16:33:25 +00:00
Colin Finck da200b3a2c [ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

svn path=/trunk/; revision=73533
2017-01-13 09:24:15 +00:00
James Tabor 833738127d [User32_API]
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons.

svn path=/trunk/; revision=73468
2016-12-19 16:28:42 +00:00
Thomas Faber bf8b336ec9 [USER32_APITEST]
- Fix build

svn path=/trunk/; revision=72901
2016-10-04 15:37:25 +00:00
Thomas Faber 0a783e0ff3 [USER32_APITEST]
- Extend GetUserObjectInformation tests by adding tests for UOI_NAME on the default as well as custom window stations/desktops.
CORE-12073

svn path=/trunk/; revision=72900
2016-10-04 15:14:30 +00:00
Dmitry Chapyshev 5e9b9699a6 [USER32_APITEST] Add tests for EnumDisplaySettingsA
svn path=/trunk/; revision=72658
2016-09-11 19:50:16 +00:00
Thomas Faber a976f17441 [USER32_APITEST]
- Add a test for window station reference counts
CORE-11124

svn path=/trunk/; revision=71173
2016-04-16 20:30:11 +00:00
Amine Khaldi 2b6ae1241e [USER32_APITEST] Fix a typo.
svn path=/trunk/; revision=69799
2015-11-03 21:14:15 +00:00
Thomas Faber 7744b35234 [USER32_APITEST]
- Add a test for sending recursive inter-thread messages
CORE-9210

svn path=/trunk/; revision=69797
2015-11-03 20:40:19 +00:00
Thomas Faber dde60eb9ef [USER32_APITEST]
- Add some tests for other WS_CHILD/WS_POPUP combinations

svn path=/trunk/; revision=69710
2015-10-26 12:12:01 +00:00
Thomas Faber a8f4623261 [USER32_APITEST]
- Remove nonexistent test...

svn path=/trunk/; revision=69708
2015-10-26 12:05:35 +00:00
Thomas Faber ca8fcf5402 [USER32_APITEST]
- Add a test for the bug in win32k highlighted by the recent ATL breakage
CORE-10413

svn path=/trunk/; revision=69707
2015-10-26 12:03:09 +00:00
Thomas Faber 9c78e0659c [USER32_APITEST]
- Add some tests for window properties
CORE-3897

svn path=/trunk/; revision=69490
2015-10-10 16:08:31 +00:00
Sylvain Petreolle 4aa8ae13c2 [user32_apitest]
0x%lu does not mean anything correct.

svn path=/trunk/; revision=69434
2015-10-03 21:41:10 +00:00
Thomas Faber 8c4e56def9 [USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!

svn path=/trunk/; revision=68189
2015-06-18 14:02:55 +00:00
Thomas Faber 484a5f8751 [USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728

svn path=/trunk/; revision=68188
2015-06-18 13:59:51 +00:00
Thomas Faber 171f891e93 [USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728

svn path=/trunk/; revision=68186
2015-06-18 13:41:52 +00:00
Thomas Faber 45c2f87c87 [WIN32K:NTUSER]
- Fix some GetWindowPlacement tests
CORE-9578

svn path=/trunk/; revision=67333
2015-04-21 10:14:12 +00:00
Thomas Faber 842d5b87ea [USER32_APITEST]
- Use correct format specifiers aka fix GCC build

svn path=/trunk/; revision=67331
2015-04-21 09:25:51 +00:00
Thomas Faber ea06801805 [USER32_APITEST]
- Add a test for GetWindowPlacement
CORE-9578

svn path=/trunk/; revision=67330
2015-04-21 09:21:22 +00:00
Thomas Faber 2829ed5afe [USER32_APITEST]
- Add a test for SetScrollInfo
CORE-9553

svn path=/trunk/; revision=67226
2015-04-17 17:22:07 +00:00
Thomas Faber f499a92d44 [USER32_APITEST]
- Add a test for CreateDialog. Patch by Andreas Maier.
ROSTESTS-163 #resolve

svn path=/trunk/; revision=67213
2015-04-16 11:35:23 +00:00
Thomas Faber 3233f5f8b3 [USER32_APITEST]
- Rename CreateWindowEx test to SetParent since that's what it tests

svn path=/trunk/; revision=67070
2015-04-06 06:34:04 +00:00
Timo Kreuzer 42017a3c83 [USER32_APITEST]
Add some test for GetDCEx that highlight the ridiculous implementation of owned and class DCs.

svn path=/trunk/; revision=66444
2015-02-24 23:15:08 +00:00
James Tabor 8f317b9b09 [ApiTest]
- Add Thomas Faber API test from CORE-8703.

svn path=/trunk/; revision=66233
2015-02-11 23:53:08 +00:00
James Tabor 0c9a650aa9 [ApiTest]
- Add a test for sequential list of control atoms. This is an addition to the Real Classes tests.

svn path=/trunk/; revision=65989
2015-01-05 22:25:48 +00:00
Thomas Faber 487818ab87 [USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948
2014-10-24 09:16:04 +00:00
Jérôme Gardou 03b386d0e0 [USER32_APITEST]
- Add a test showing that CopyImage accepts LR_SHARED flag.
CORE-7575

svn path=/trunk/; revision=64916
2014-10-23 11:19:21 +00:00
Timo Kreuzer 211e68d9b1 [NTDLL_APITEST] Disable NtContinue test when runtime checks are enabled
[USER32_APITEST] Disable WndProc test when runtime checks are enabled
[KERNEL32_WINETEST] Zero initialize a buffer. This is necessary, since we fail all calls to GetVolumePathNamesForVolumeNameW and thus never get any data into the buffer, which can later result in a buffer-overrun, when doing a lstrlenW on it.

svn path=/trunk/; revision=64831
2014-10-19 19:37:55 +00:00
Thomas Faber 80ecfd75ed [USER32_APITEST]
- Extend GetUserObjectInformation test to include the ansi version. ... this is the lazy way and just duplicates the code, feel free to make it more concise.
CORE-8101

svn path=/trunk/; revision=64706
2014-10-13 09:22:59 +00:00
Hermès Bélusca-Maïto ea3f9d6c6e [APITEST:USER32]
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133
2014-05-03 17:08:39 +00:00
Thomas Faber a21f22e98d [USER32_APITEST]
- Add parameter checks for GetUserObjectInformationW
CORE-8094

svn path=/trunk/; revision=62964
2014-04-25 11:24:41 +00:00
Giannis Adamopoulos 0fbc07a49d [user32_apitest]
- Arch, don't allow the mouse to create unexpected messages because this will surely cause failures. Also if you move the mouse during the test you will also get these failures

svn path=/trunk/; revision=61311
2013-12-21 10:44:10 +00:00
Jérôme Gardou cd3af3c4c8 [USER32_APITEST]
- Add tests for LookupIconIdFromDirectoryEx
 - Add a workaround in GetIconInfo tests for a ReactOS bug in EnumDisplaySettings
 - Add tests for EnumDisplaySettings demonstrating the bug.
 - Add some traces to better follow the test run

svn path=/trunk/; revision=60994
2013-11-14 23:11:23 +00:00
James Tabor 746f5c09a7 - Fix ATI test and go.
svn path=/trunk/; revision=60720
2013-10-20 05:36:36 +00:00
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +00:00
Hermès Bélusca-Maïto f63c233859 [APITESTS:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60314
2013-09-22 18:17:54 +00:00
Thomas Faber 7a91442d56 [APITESTS]
- Avoid warnings

svn path=/trunk/; revision=59274
2013-06-21 17:22:46 +00:00
Hermès Bélusca-Maïto 1e6feb87df [ROSAPPS]
Fix remaining "initialize" misspellings.

svn path=/trunk/; revision=58680
2013-04-04 20:13:05 +00:00