Commit graph

224 commits

Author SHA1 Message Date
Rafal Harabien 34c8ab588c [USER32_APITEST] Fix GetSystemMetrics test output which was interpret by testman as crash.
svn path=/trunk/; revision=54060
2011-10-09 09:41:49 +00:00
Giannis Adamopoulos 1a2f1828f4 [user32_apitest]
- Add a couple of tests for the messages sent when changing the z-oder of windows with DeferWindowPos (this test ignores owners z-order)

svn path=/trunk/; revision=54025
2011-10-06 14:19:04 +00:00
Giannis Adamopoulos 1e41f9ec85 [user32_apitest]
- remove all previous SetActiveWindow tests as they were completely wrong. This is because changing the z-order of the owner windows is done by SetWindowPos as tested in the same test suite. However SetActiveWindow calls SetWindowPos without SWP_NOOWNERZORDER parameter which leads to changing the zorder of owner windows 

svn path=/trunk/; revision=54023
2011-10-06 13:06:52 +00:00
Giannis Adamopoulos 59b0d94ae2 [user32_apitest]
- Add some more tests for SetWindowPos with or without SWP_NOOWNERZORDER. This clears the misunderstanding on changing owner window z-order once and for all

svn path=/trunk/; revision=54022
2011-10-06 12:46:21 +00:00
Giannis Adamopoulos 080c9a5b1e [user32_apitest]
- Add some message tests for DeferWindowPos

svn path=/trunk/; revision=54010
2011-10-05 14:44:45 +00:00
Giannis Adamopoulos fbf5e4605b [user32_apitest]
- Do not log WM_QUERYNEWPALETTE but make sure that we get this message only on 8bpp

svn path=/trunk/; revision=53991
2011-10-04 17:53:43 +00:00
Thomas Faber e69656b340 [ADVAPI32_APITEST] - Test passing tag, but no group to CreateService
[KMTESTS/MM] - MmSection: Wait for write completion to prevent a random test failure

svn path=/trunk/; revision=53943
2011-10-02 21:42:33 +00:00
Giannis Adamopoulos dbab32c663 [user32_apitest]
- properly cleanup when tests are completed
- Add some more tests for SetActiveWindow that prove that bringing owner/owned windows to front is done by SetActiveWindow and not by SetWindowPos

svn path=/trunk/; revision=53905
2011-09-30 15:37:13 +00:00
Giannis Adamopoulos b1e2faf090 [user32]
- Fix a couple of misleading tests

svn path=/trunk/; revision=53883
2011-09-28 12:40:43 +00:00
Eric Kohl b8329db06a [APITESTS]
Add service tag tests.

Patch by Thomas Faber.

svn path=/trunk/; revision=53873
2011-09-27 13:06:33 +00:00
Giannis Adamopoulos dc6c2f8e88 [user32_apitest]
- In TrackMouseEvent tests, use mouse_event function to move the mouse cause this causes low level hooks to be called and SetCursorPos doesn't
- Test low level mouse hooks for TrackMouseEvent
- Test ways to block WM_MOUSEHOVER and WM_MOUSELEAVE. This is useful to detect where each message is generated
- clean up the code a bit by adding FLUSH_MESSAGES macro that checks for expected message queue status and flushes the message queue

svn path=/trunk/; revision=53855
2011-09-25 16:05:09 +00:00
Giannis Adamopoulos 0c34695bab [user32_apitest]
- Add one more small test for WM_SYSTIMER

svn path=/trunk/; revision=53835
2011-09-24 12:22:21 +00:00
Giannis Adamopoulos aa39ad7260 [user32_apitest.exe]
- Fix gcc build

svn path=/trunk/; revision=53832
2011-09-24 12:05:14 +00:00
Giannis Adamopoulos 31eb9d7849 [user32_apitest]
- Implement logging post messages or winevents
- For SetActiveWindow test, also test the parameters of WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages
- For TrackMouseEvent test, also test the WM_SYSTIMER that is possible to be logged now

svn path=/trunk/; revision=53830
2011-09-24 11:55:19 +00:00
Giannis Adamopoulos 184aeeeeef [user32_apitest]
- add back showing the index of the message when comparing massage logs

svn path=/trunk/; revision=53815
2011-09-23 16:04:17 +00:00
Giannis Adamopoulos b540c10e9f [user32_apitest]
- Fix build with gcc

svn path=/trunk/; revision=53814
2011-09-23 14:19:40 +00:00
Giannis Adamopoulos d55b76ab43 [user32_apitest]
- Simplify compare_cache and make it show more meaningful results

svn path=/trunk/; revision=53813
2011-09-23 14:09:30 +00:00
Giannis Adamopoulos a947b9c6fc [user32_apitest.rbuild]
- Move shared code used to log window messages in helper.c
- Implement logging hooks
- Fix comparing the logged messages to show the correct line of the test
- Add tests for hooks in TrackMouseEvent test

svn path=/trunk/; revision=53812
2011-09-23 12:05:40 +00:00
Giannis Adamopoulos 34f9dc947a [user32_apitest]
- Fix white spaces

svn path=/trunk/; revision=53811
2011-09-23 11:45:44 +00:00
Giannis Adamopoulos 104f40f71f [user32_apitest]
- Add some tests for TrackMouseEvent

svn path=/trunk/; revision=53787
2011-09-21 12:30:22 +00:00
Giannis Adamopoulos d7f5b33e0d [user32]
- Add some more tests for the messages that are sent by SetActiveWindow

svn path=/trunk/; revision=53643
2011-09-08 15:53:38 +00:00
Giannis Adamopoulos 2225b4b938 [user32_apitest]
- Add more tests for SetActiveWindow

svn path=/trunk/; revision=53640
2011-09-08 11:31:31 +00:00
Giannis Adamopoulos 7635cc18b1 [user32_apitest]
- Add some more tests hoping that SetActiveWindow will reveal its secrets

svn path=/trunk/; revision=53632
2011-09-07 23:08:14 +00:00
Giannis Adamopoulos 2f5ccca699 [user32_apitest]
- Add a test case for SetActiveWindow that shows its behavior related to owner windows. It should point the bug observed in bug 1239

svn path=/trunk/; revision=53621
2011-09-07 14:05:58 +00:00
Thomas Faber 1a358ac727 [NTDLL_APITEST]
- Fix warnings and failure messages

svn path=/trunk/; revision=53563
2011-09-03 19:44:07 +00:00
Timo Kreuzer c47522f9e8 [USER32_APITEST]
Fix amd64 build

svn path=/trunk/; revision=53395
2011-08-23 06:45:36 +00:00
Jérôme Gardou 9a41e5d6ec [APITESTS]
- Add some more tests to NtFreeVirtualMemory

svn path=/trunk/; revision=52659
2011-07-12 17:55:20 +00:00
Jérôme Gardou 68d0db0868 [APITEST]
- add one more test to NtFreeVirtualMemory

svn path=/trunk/; revision=52658
2011-07-12 17:36:52 +00:00
Jérôme Gardou 0a8af6df7c [APITESTS]
- add simple tests for NtFreeVirtualMemory

svn path=/trunk/; revision=52642
2011-07-11 19:31:34 +00:00
Rafal Harabien 77760f12f6 [APITESTS]
- Add more Rectangle function tests
- Improve ScrollDC tests

svn path=/trunk/; revision=52045
2011-06-01 18:20:51 +00:00
Timo Kreuzer 3e584471ab [MSVCRT_APITEST]
Add tests for splitpath

svn path=/trunk/; revision=52022
2011-05-31 17:26:30 +00:00
Rafal Harabien 6486187cdb [ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters
- Add imagehlp winetest to CMake build

svn path=/trunk/; revision=52006
2011-05-30 11:40:58 +00:00
James Tabor 9ca7155a56 [ApiTest]
- Add a test for stack corruption when in window procedure call out.

svn path=/trunk/; revision=51773
2011-05-15 21:15:38 +00:00
Jérôme Gardou 9482663bde [CMAKE/ROSTESTS]
Addendum to 51749

svn path=/trunk/; revision=51750
2011-05-14 20:55:36 +00:00
Jérôme Gardou 34d5d94b0a [ROSTESTS/CMAKE]
- addendum to 51731

svn path=/trunk/; revision=51733
2011-05-14 14:03:44 +00:00
Rafal Harabien ee795b8b1e [APITESTS]
* Add GetDriveType tests. Some fails in ReactOS
* Fix few rbuild files

svn path=/trunk/; revision=51484
2011-04-28 22:10:51 +00:00
Amine Khaldi e564c595f2 [CMAKE]
* Addendum to the previous commit.

svn path=/trunk/; revision=51382
2011-04-17 16:55:24 +00:00
Giannis Adamopoulos c280a2b6ae [user32_apitest]
- Some more tests for GetKeyState

svn path=/trunk/; revision=51376
2011-04-17 10:35:09 +00:00
Amine Khaldi 4ae88bb7a4 [CMAKE]
- Reflect the recent user32_apitest changes. Please consider updating the cmake files when you alter the rbuild files in the future.

svn path=/trunk/; revision=51336
2011-04-14 11:55:40 +00:00
Giannis Adamopoulos c08567e81e [user32_apitest]
- Add some more tests for SetCursorPos

svn path=/trunk/; revision=51312
2011-04-10 15:14:15 +00:00
Giannis Adamopoulos 36147ed99d add some tests for GetKeyState and SetCursorPos
svn path=/trunk/; revision=51304
2011-04-09 19:12:49 +00:00
Jérôme Gardou 8324997bc4 [CMAKE]
RosTests : buildno_header is no longer a valid target

svn path=/trunk/; revision=51267
2011-04-06 13:28:32 +00:00
Rafal Harabien 68af0e9cd1 [GDI32_APITEST]
Improve CreatePen and GetCurrentObject tests

svn path=/trunk/; revision=51160
2011-03-26 15:23:10 +00:00
Rafal Harabien 96de2d1363 Improve GetClipRgn and SetSysColors apitests
svn path=/trunk/; revision=51107
2011-03-21 14:36:32 +00:00
James Tabor 5177b0a967 [User32_ApiTests]
- Patch by Thomas Faber: Tests for new DeferWindowPos implementation. See bug 6025.

svn path=/trunk/; revision=51100
2011-03-20 12:59:07 +00:00
Jérôme Gardou 1f0f4f62b0 [GDI32_APITEST]
- Test Rectangle function.
Don't laugh, ROS fails those tests and fixing this breaks the GUI.

svn path=/trunk/; revision=51018
2011-03-11 15:32:54 +00:00
Timo Kreuzer 54010b7e9e [USER32_APITEST]
Add a cursor and an icon and use those instead of system cursor. Fixes tests on Windows.

svn path=/trunk/; revision=50965
2011-03-03 21:49:44 +00:00
Jérôme Gardou 8be61c1a29 [GDI32_APITESTS]
- Test behaviour of SetDIBits for 1bpp bitmaps.
  - Add small test to GetPixel just to verify that SetDIBits doesn't say BS.

svn path=/trunk/; revision=50950
2011-03-02 01:15:10 +00:00
Jérôme Gardou d5954abbf2 [[GDI32_APITEST]
- actually make a test, with == instead of =, relevant bits sets, good test value, etc.

svn path=/trunk/; revision=50947
2011-03-01 21:32:58 +00:00
Jérôme Gardou a5115608c9 [GDI32_APITEST]
- add a basic test for SetDIBits

svn path=/trunk/; revision=50946
2011-03-01 20:50:47 +00:00