Commit Graph

247 Commits

Author SHA1 Message Date
Jérôme Gardou
63fa6d040d [DAMN_IT]
- addendum to r56081

svn path=/trunk/; revision=56082
2012-03-07 21:46:15 +00:00
Amine Khaldi
7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Amine Khaldi
2494d9170c * Addendum to r55764.
svn path=/trunk/; revision=55765
2012-02-20 22:09:21 +00:00
Giannis Adamopoulos
b65af38817 [user32_apitest]
- Test the initial desktop and window station of processes

svn path=/trunk/; revision=55727
2012-02-19 23:46:06 +00:00
Jérôme Gardou
31a15829d9 [WIN32KDLL]
- use spec file
 - fix use of def files

svn path=/trunk/; revision=55482
2012-02-07 14:54:02 +00:00
Giannis Adamopoulos
29a7102825 [user32_apitest]
- Add some more tests

svn path=/trunk/; revision=55349
2012-01-31 10:49:44 +00:00
Giannis Adamopoulos
3d8783aa35 [user32_apitest]
- Add a couple of tests for SPI_SETMOUSESPEED and SPI_GETMOUSESPEED
- inspired by bug 905

svn path=/trunk/; revision=55347
2012-01-31 09:58:05 +00:00
Thomas Faber
42942c9fbe [NTDLL_APITEST]
- NtAllocateVirtualMemory: fix handling of an error condition; check that newly-committed memory is zeroed

svn path=/trunk/; revision=54748
2011-12-24 10:26:04 +00:00
Pierre Schweitzer
b1b439d600 [MSVCRT_APITEST]
Add MSDN example

svn path=/trunk/; revision=54554
2011-11-30 23:47:41 +00:00
Pierre Schweitzer
12c5843d21 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54550
2011-11-30 21:03:35 +00:00
Thomas Faber
246357c187 [NTDLL_APITEST]
- Add NtAllocateVirtualMemory test, which is a small stress test for virtual memory allocation/freeing/reuse
- Can be used to reproduce bug 5857 in third stage (install with VT-x enabled, then disable for the test)
- Shows that the bug is a race condition in Mm, and not heap's fault
- I've put ASSERTs instead of ok's for easier debugging

svn path=/trunk/; revision=54548
2011-11-30 17:00:23 +00:00
Pierre Schweitzer
a9e9b29ff5 [MSVCRT_APITEST]
Force linking to msvcrt instead of ntdll. Purpose is to test crt from msvcrt not ntdll.
Patch by Sylvain Petreolle.

svn path=/trunk/; revision=54450
2011-11-19 22:06:18 +00:00
Pierre Schweitzer
363b460431 [MSVCRT_APITEST]
Fix tests according to the platform they are run on.
This fixes msvcrt_apitest crash on w2k3.

svn path=/trunk/; revision=54449
2011-11-19 21:59:12 +00:00
Pierre Schweitzer
83d38617e6 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54437
2011-11-19 15:05:26 +00:00
Pierre Schweitzer
84212a76b6 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54430
2011-11-19 09:44:49 +00:00
Pierre Schweitzer
73d88a5f6f [MSVCRT_APITEST]
Add test suite for IEEE floatting-point functions.
It's been tested on w2k3 and it has 0 failed tests.
Some are failing on ReactOS.

svn path=/trunk/; revision=54425
2011-11-18 22:26:35 +00:00
Pierre Schweitzer
0bc955e9cf [MSVCRT_APITEST]
Build msvcrt_apitest

svn path=/trunk/; revision=54416
2011-11-18 18:23:43 +00:00
Giannis Adamopoulos
8451dca5ee [user32_apitest]
- Add one more testcase and fix another one for SPI_SETNONCLIENTMETRICS

svn path=/trunk/; revision=54187
2011-10-18 11:19:24 +00:00
Giannis Adamopoulos
f8cd9ebd14 [user32_apitest]
- Add some tests for the messages that are sent when SPI_SETNONCLIENTMETRICS is used

svn path=/trunk/; revision=54180
2011-10-17 16:35:22 +00:00
Kamil Hornicek
5b1ee500b6 fix build
svn path=/trunk/; revision=54108
2011-10-13 13:38:22 +00:00
Timo Kreuzer
f886d23efc [GDI32_APITEST]
- Add tests for CreateDIBitmap
- more tests for AddFontResource, GetPixel, SetSysColors

svn path=/trunk/; revision=54106
2011-10-13 12:52:25 +00:00
Timo Kreuzer
072e367a5d [ntdll_apitests]
Fix rbuild build

svn path=/trunk/; revision=54080
2011-10-11 16:09:34 +00:00
Timo Kreuzer
802e11b708 [ntdll_apitests]
Add tests for NtQuery/SetSystemInformation

svn path=/trunk/; revision=54079
2011-10-11 15:29:25 +00:00
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