Commit graph

414 commits

Author SHA1 Message Date
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
Timo Kreuzer a53926e3bf [USER32_APITEST]
Patch by Thomas Faber: some tests for GetMessage and PeekMessage

svn path=/trunk/; revision=50943
2011-03-01 12:05:39 +00:00
Timo Kreuzer 962c0688f5 [GDI32_APITEST]
Fix a bug

svn path=/trunk/; revision=50938
2011-02-28 20:04:10 +00:00
Timo Kreuzer e9b7bf6df2 [GDI32_APITEST]
More tests for MaskBlt

svn path=/trunk/; revision=50937
2011-02-28 18:01:12 +00:00
Timo Kreuzer 27b33c3045 [GDI32_APITEST]
More testcases for SelectObject and GetDIBits

svn path=/trunk/; revision=50929
2011-02-27 22:00:13 +00:00
Timo Kreuzer eaf8e05a46 [NTDLL_APITEST]
some printf tests

svn path=/trunk/; revision=50663
2011-02-11 21:22:18 +00:00
Timo Kreuzer dc0e8ba402 [NTDLL_APITEST]
Make syntax of ZwContinue.S ML compatible

svn path=/trunk/; revision=50555
2011-01-29 14:47:29 +00:00
Timo Kreuzer 2d462cd8b1 [CMAKE]
Don't compile w32kdll and w32knapi test on MSVC

svn path=/trunk/; revision=50553
2011-01-29 14:08:44 +00:00
Amine Khaldi e8a298b190 [CMAKE]
- Adapt gdi32 apitest cmake build to the recent changes.

svn path=/trunk/; revision=50407
2011-01-16 22:11:35 +00:00
Timo Kreuzer 93fc2852cd [USER32_APITEST]
Add tests for GetIconInfo.

svn path=/trunk/; revision=50405
2011-01-16 21:03:20 +00:00
Timo Kreuzer 8bf0247095 [GDI32_APITEST]
Add tests for DPtoLP
- More tests for CombineTransform, CreateBitmapIndirect and SelectObject

svn path=/trunk/; revision=50404
2011-01-16 20:53:48 +00:00
Roel Messiant f4bc8a0c1e [CMAKE]
- Add tests for CombineTransform and MaskBlt, part 2. Build is happy again.

svn path=/trunk/; revision=50379
2011-01-12 23:20:02 +00:00
Timo Kreuzer c265d7532b [GDI32_APITEST]
Remove the stuff that shouldn't have been comitted.

svn path=/trunk/; revision=50331
2011-01-08 19:20:20 +00:00
Timo Kreuzer 281dd88c8c [GDI32_APITEST]
Add tests for CombineTransform and MaskBlt

svn path=/trunk/; revision=50329
2011-01-08 18:56:38 +00:00
Amine Khaldi 7f7729cb6c [CMAKE]
- Add ntdll apitest to build.

svn path=/trunk/; revision=50312
2011-01-07 20:31:56 +00:00
Timo Kreuzer b58a3e9752 [NTDLL_APITEST]
Convert asm to GAS/ML compatible format

svn path=/trunk/; revision=50311
2011-01-07 20:11:56 +00:00
Jérôme Gardou 38bbc45b31 [APITESTS:GDI32]
Add missing \n

svn path=/trunk/; revision=50306
2011-01-06 19:03:09 +00:00
Sylvain Petreolle 6d8a71b4a4 [CMAKE]
Add apitests and pseh2_test.


svn path=/trunk/; revision=50277
2011-01-03 11:24:54 +00:00
Amine Khaldi f5ce699517 [CMAKE]
- Add the apitests to build.
- Improve some winetests.

svn path=/trunk/; revision=50100
2010-12-22 16:33:37 +00:00
Sylvain Petreolle 1e4af3fa18 [APITESTS]
Fix (R)TEST macros in gdi32_apitest,
ensures correct display and no crash report in testman.

svn path=/trunk/; revision=49182
2010-10-17 14:50:02 +00:00
Timo Kreuzer 6ddec3f063 Fix build
svn path=/trunk/; revision=48625
2010-08-26 02:48:03 +00:00
Timo Kreuzer 1b2ab4ce31 [NTDLL_APITEST]
- Add a test for RtlInitializeBitMap.

svn path=/trunk/; revision=48623
2010-08-26 02:29:19 +00:00
Timo Kreuzer 14d5a266b3 [ROSTESTS]
- Add wine style ntdll_apitest and move test for ZwContinue there

svn path=/trunk/; revision=48621
2010-08-25 10:15:01 +00:00
Timo Kreuzer 57434c8ebf Add missing files
svn path=/trunk/; revision=48620
2010-08-25 08:50:10 +00:00
Timo Kreuzer ecc6804976 [APITESTS]
Convert dciman32api, user32api and wa2_32 into wine style tests

svn path=/trunk/; revision=48619
2010-08-25 08:48:55 +00:00
Timo Kreuzer e3a2103631 Convert gdi32api into wine style test
svn path=/trunk/; revision=48617
2010-08-24 13:54:10 +00:00
Timo Kreuzer e3736b149a Add some tests for GetTextExtentExPoint. Dedicated to Pigglesworth
svn path=/trunk/; revision=48445
2010-08-03 23:15:20 +00:00
Timo Kreuzer 711796acd9 [GDI32API]
- fix some 64 bit warnings

svn path=/trunk/; revision=48314
2010-07-27 16:24:31 +00:00
Jérôme Gardou a6017cd9b2 [W32KNAPI] - More tests to NtUserGetIconInfo
svn path=/trunk/; revision=48106
2010-07-18 16:57:32 +00:00
Jérôme Gardou 2946af0b8e Fix my grotesque mistake of r48104
svn path=/trunk/; revision=48105
2010-07-18 16:45:05 +00:00
Jérôme Gardou 0f1aba925e [W32KNAPI] - Add some more NtUserGetIconInfo tests
svn path=/trunk/; revision=48104
2010-07-18 16:40:15 +00:00
Jérôme Gardou ec5e0ea56a [W32KNAPI] - Add some more NtUserGetIconInfo tests
svn path=/trunk/; revision=48103
2010-07-18 16:34:14 +00:00
Jérôme Gardou 8ad729230c [W32KNAPI]
- Test ONE_PARAM_ROUTINE_CREATEEMPTYCUROBJECT
  - Test NtUserGetIconInfo

svn path=/trunk/; revision=48039
2010-07-14 14:56:53 +00:00
Timo Kreuzer c2da054c20 usurp: Physicus: better use </if> in .rbuild ;)
So be it.

svn path=/trunk/; revision=47889
2010-06-28 01:29:27 +00:00
Timo Kreuzer c0cf67d988 build w32knapi only for x86
svn path=/trunk/; revision=47888
2010-06-28 00:32:35 +00:00
Jérôme Gardou 937d830410 [ROSTESTS]
test what happens when a DC is saved and a bitmap is selected into it.

svn path=/trunk/; revision=47730
2010-06-10 00:17:06 +00:00
Timo Kreuzer 859c81ee74 [W32KNAPI]
Add few more tests for NtGdiCreateBitmap

svn path=/trunk/; revision=47550
2010-06-03 19:39:28 +00:00
Timo Kreuzer 4e381837a0 [GDI32API]
add IsHandleValid and use it SelectObject test

svn path=/trunk/; revision=47549
2010-06-03 19:35:05 +00:00
Jérôme Gardou 31dfebe9a7 Revert part of 47209. Hope this time is the good one
svn path=/trunk/; revision=47218
2010-05-15 09:59:42 +00:00
Jérôme Gardou 9993f9c793 [ROSTESTS]
- something went wrong with previous commit...


svn path=/trunk/; revision=47211
2010-05-14 23:21:04 +00:00
Jérôme Gardou e23160a43c [ROSTESTS]
- more tests for direct DC creation/deletion

svn path=/trunk/; revision=47210
2010-05-14 23:19:16 +00:00
Timo Kreuzer bfe6479cf7 Revert r47130, it was already comitted.
svn path=/trunk/; revision=47132
2010-05-08 16:42:03 +00:00
Timo Kreuzer 2545e83084 [w32knapi}
Patch by Jerome Gardou: add some more tests for NtGdiDeleteObjectApp

svn path=/trunk/; revision=47130
2010-05-08 16:38:05 +00:00
Gregor Schneider 0963ef8f61 Add some win32k/gdi DC tests created by Jerome Gardou
svn path=/trunk/; revision=47128
2010-05-08 16:27:36 +00:00
Timo Kreuzer c31fcaaae7 [W32KNAPI]
Patch by Jerome Gardou: more tests for NtGdiBitBlt

svn path=/trunk/; revision=46948
2010-04-19 19:45:10 +00:00
Timo Kreuzer c99e966e79 Patch by Jerome Gardou: add a bunch of tests for NtGdiBitBlt
svn path=/trunk/; revision=46946
2010-04-19 17:52:56 +00:00
Timo Kreuzer 3af3194bbc Add syscall lists for x86
svn path=/trunk/; revision=44478
2009-12-09 01:50:38 +00:00
Colin Finck dfa9eb6204 [General]
- Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common". Also fix the indentation in some files.

svn path=/trunk/; revision=44368
2009-12-02 20:32:16 +00:00
Timo Kreuzer cfff690aae Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
svn path=/trunk/; revision=43326
2009-10-07 16:58:53 +00:00
James Tabor e3083bb86d - Update win32k tests.
svn path=/trunk/; revision=43054
2009-09-15 15:25:37 +00:00
Stefan Ginsberg 3a85cbb4da - combotst: Fix uninitialized variable usage spotted by MSVC
- tmrqueue: Don't use empty structures, MSVC doe
- w32knapi: Implement IntSyscall in MSVC assembly, be compatible with C89 variable initialization and use '%' instead of '\%' to avoid a msvc warning.

svn path=/trunk/; revision=42845
2009-08-22 14:40:56 +00:00
Timo Kreuzer 665c8196de Add lmissing file
svn path=/trunk/; revision=42553
2009-08-09 11:38:53 +00:00
Timo Kreuzer 3979f7432d win32knapi: More / improved tests for NtUserSystemParametersInfo, NtGdiSelectBrush, NtGdiSelectBitmap, NtGdiGetFontResourceInfoInternalW, NtGdiDoPalette
svn path=/trunk/; revision=42552
2009-08-09 11:27:25 +00:00
Stefan Ginsberg c71617e216 - Fix some msvc issues in rostests
svn path=/trunk/; revision=42365
2009-08-03 16:59:43 +00:00
James Tabor a4009f2c99 - Update apptest.
svn path=/trunk/; revision=41791
2009-07-06 20:57:23 +00:00
James Tabor 57aa46671d - Update apitests.
svn path=/trunk/; revision=41785
2009-07-06 16:24:00 +00:00
Timo Kreuzer f0ab7bf60b unbreak build of rostests
svn path=/trunk/; revision=41655
2009-06-28 00:05:51 +00:00
KJK::Hyperion eb3b62597d Supersedes r40536, r40537
modified   winetests/advpack/advpack.rbuild
modified   winetests/browseui/browseui.rbuild
modified   winetests/cabinet/cabinet.rbuild
modified   winetests/comcat/comcat.rbuild
modified   winetests/comdlg32/comdlg32.rbuild
modified   winetests/gdiplus/gdiplus.rbuild
modified   winetests/hlink/hlink.rbuild
modified   winetests/imm32/imm32.rbuild
modified   winetests/lz32/lz32.rbuild
modified   winetests/mapi32/mapi32.rbuild
modified   winetests/mlang/mlang.rbuild
modified   winetests/msacm32/msacm32.rbuild
modified   winetests/mshtml/mshtml.rbuild
modified   winetests/msi/msi.rbuild
modified   winetests/mstask/mstask.rbuild
modified   winetests/netapi32/netapi32.rbuild
modified   winetests/odbccp32/odbccp32.rbuild
modified   winetests/ole32/ole32.rbuild
modified   winetests/rsabase/rsabase.rbuild
modified   winetests/rsaenh/rsaenh.rbuild
modified   winetests/schannel/schannel.rbuild
modified   winetests/shell32/shell32.rbuild
modified   winetests/shlwapi/shlwapi.rbuild
modified   winetests/urlmon/urlmon.rbuild
modified   winetests/usp10/usp10.rbuild
modified   winetests/uxtheme/uxtheme.rbuild
modified   winetests/version/version.rbuild
modified   winetests/winhttp/winhttp.rbuild
modified   winetests/wininet/wininet.rbuild
   -Wno-format no longer necessary

Some obsolete flags removed, some useless compiler flags removed & shit. Nothing earth-shattering
<insert ginormous commit message ruined by TortoiseSVN's shitty GUI>

svn path=/trunk/; revision=40623
2009-04-21 00:33:05 +00:00
KJK::Hyperion 77db4acd5e This is why we can't have nice things. Reverting r40536, r40537, due to RosBE differences between Windows and Linux hosts (because RosBE sucks)
svn path=/trunk/; revision=40541
2009-04-16 04:57:28 +00:00
KJK::Hyperion 0464762cd6 modified winetests/advpack/advpack.rbuild
modified   winetests/browseui/browseui.rbuild
modified   winetests/cabinet/cabinet.rbuild
modified   winetests/comcat/comcat.rbuild
modified   winetests/comdlg32/comdlg32.rbuild
modified   winetests/gdiplus/gdiplus.rbuild
modified   winetests/hlink/hlink.rbuild
modified   winetests/imm32/imm32.rbuild
modified   winetests/lz32/lz32.rbuild
modified   winetests/mapi32/mapi32.rbuild
modified   winetests/mlang/mlang.rbuild
modified   winetests/msacm32/msacm32.rbuild
modified   winetests/mshtml/mshtml.rbuild
modified   winetests/msi/msi.rbuild
modified   winetests/mstask/mstask.rbuild
modified   winetests/netapi32/netapi32.rbuild
modified   winetests/odbccp32/odbccp32.rbuild
modified   winetests/ole32/ole32.rbuild
modified   winetests/rsabase/rsabase.rbuild
modified   winetests/rsaenh/rsaenh.rbuild
modified   winetests/schannel/schannel.rbuild
modified   winetests/shell32/shell32.rbuild
modified   winetests/shlwapi/shlwapi.rbuild
modified   winetests/urlmon/urlmon.rbuild
modified   winetests/usp10/usp10.rbuild
modified   winetests/uxtheme/uxtheme.rbuild
modified   winetests/version/version.rbuild
modified   winetests/winhttp/winhttp.rbuild
modified   winetests/wininet/wininet.rbuild
   -Wno-format no longer necessary


svn path=/trunk/; revision=40536
2009-04-16 02:06:20 +00:00
Timo Kreuzer 579dc0993e Improve tests for NtGdiDeleteObjectApp
svn path=/trunk/; revision=40389
2009-04-06 02:49:47 +00:00
Timo Kreuzer 0bbce9519c Add one more test for SetDCPenColor
svn path=/trunk/; revision=40307
2009-04-01 02:02:21 +00:00
Timo Kreuzer 809d606072 Add the macro I forgot.
svn path=/trunk/; revision=40220
2009-03-25 04:25:39 +00:00
Timo Kreuzer 9a1d43e359 Add one test for NtGdiDeleteObjectApp, and a bunch of tests for NtGdiSaveDC and NtGdiRestoreDC.
svn path=/trunk/; revision=40217
2009-03-25 03:51:22 +00:00
Timo Kreuzer 8c84226668 - Add a bunch of tests for NtGdiDeleteObjectApp
- Add Is handle valid function to check whether a handle is still valid.

svn path=/trunk/; revision=40199
2009-03-24 01:25:03 +00:00
Timo Kreuzer 849e2133ac Add tests for SetWindowExtEx, one more test for CreateCompatibleDC
svn path=/trunk/; revision=39280
2009-02-02 00:37:01 +00:00
Timo Kreuzer fa581e2636 Add more tests for SetMapMode
svn path=/trunk/; revision=39201
2009-01-29 19:16:45 +00:00
Timo Kreuzer ce56804010 More tests for NtGdiCreateDIBSection
svn path=/trunk/; revision=38657
2009-01-09 00:52:04 +00:00
Timo Kreuzer 132c804512 More tests for GetObject
svn path=/trunk/; revision=38656
2009-01-09 00:50:20 +00:00
Timo Kreuzer 39c466cd17 Tests for NtGdiCreateDIBSection and NtGdiExtTextOutW
svn path=/trunk/; revision=38636
2009-01-08 00:34:38 +00:00
Timo Kreuzer bd38886763 Add tests for CreateFontIndirect
svn path=/trunk/; revision=38571
2009-01-04 21:48:32 +00:00
Timo Kreuzer 879c57d63c use _wcsicmp instead of non-standard wcscmpi
svn path=/trunk/; revision=38216
2008-12-21 02:40:09 +00:00
Timo Kreuzer 1e4507a141 fix build
svn path=/trunk/; revision=38049
2008-12-13 19:47:24 +00:00
Timo Kreuzer 1208ee14e8 Add 101 tests for GetSystemMetrics
svn path=/trunk/; revision=38046
2008-12-13 17:55:44 +00:00
Timo Kreuzer 702df456d2 Add DumpMem function to apitests lib for debugging purposes
svn path=/trunk/; revision=38045
2008-12-13 16:52:49 +00:00
Timo Kreuzer 4a3e577b8f Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
Stefan Ginsberg a153517e86 - Hey STDCALL, you just got deprecated from rostests
svn path=/trunk/; revision=37750
2008-11-29 21:37:54 +00:00
Stefan Ginsberg ecff3e72ed - FIX is declared in winddi.h, don't redeclare
svn path=/trunk/; revision=37642
2008-11-25 17:08:48 +00:00
Stefan Ginsberg 373296b548 - Remove version defines
svn path=/trunk/; revision=37031
2008-10-27 20:32:17 +00:00
KJK::Hyperion 8c7bebfed8 - test GetTextFaceW instead of GetTextFaceA
- test that:
    - the last error is never set
    - the buffer size is ignored if the buffer is NULL
    - the buffer size is returned if the buffer is non-NULL and too small
    - the function fails if a non-NULL buffer has a size <= 0
 - allocate the DC for a GDI test with a GDI routine (CreateCompatibleDC) instead of an USER routine (GetDC)

svn path=/trunk/; revision=36779
2008-10-17 00:28:47 +00:00
Timo Kreuzer 2f5ea4625b Tests for GetTextFace
svn path=/trunk/; revision=36774
2008-10-16 20:16:38 +00:00
Timo Kreuzer f5cbabe20c Add basic tests for BeginPath andd SetMapMode
svn path=/trunk/; revision=36691
2008-10-08 10:58:41 +00:00
Timo Kreuzer 66397a3a3f - add test for GdiGetCharDimension
- fix a test name
- comment out more tests for EngReleaseSemaphore, they cause heap corruption on ros
- convert more TEST -> RTEST

svn path=/trunk/; revision=33994
2008-06-16 15:24:05 +00:00
Timo Kreuzer aa36da89c9 TEST -> RTEST as these succeed on ros now
svn path=/trunk/; revision=33993
2008-06-16 13:27:39 +00:00
Timo Kreuzer e49f53ea51 comment out some tests that fail on win XP, until someone fixes them
svn path=/trunk/; revision=33992
2008-06-16 13:20:06 +00:00
Magnus Olsen cfd749136a add dummy test for dciman32 for now, real test will come later
svn path=/trunk/; revision=33896
2008-06-08 08:29:04 +00:00
Colin Finck c91fecf968 - Add a test suite for ws2_32.dll
It currently tests the features I needed to adjust/implement when fixing the wininet problem.
  ReactOS currently passes all tests, but fails one if you launch the test app for the second time quickly after the first time (timing problem in the network code?).
- Fix the behaviour on an ioctlsocket FIONREAD call: The output buffer is not touched, when we have no socket, but when we have no connection, it is set to 0.
- Forward the socket call to WSASocketW instead of WSASocketA, minimal performance improvement

svn path=/trunk/; revision=33824
2008-06-01 22:08:45 +00:00
Colin Finck ce52fa83e3 Use the Windows CreateFile/WriteFile functions instead of open/write.
Fixes compilation with MSVC. (note that you also have to change the calling convention from __stdcall to __cdecl in the auto-created project file for the lib)

svn path=/trunk/; revision=33823
2008-06-01 20:34:12 +00:00
Colin Finck 0f76b280cc - Add a parameter for listing all valid test names
- Generate valid XHTML 1.0 Strict

svn path=/trunk/; revision=33820
2008-06-01 18:37:55 +00:00
Colin Finck d55028d26f Set svn:eol-style "native" for all apitest stuff
svn path=/trunk/; revision=33818
2008-06-01 18:06:22 +00:00
Magnus Olsen ba14ded010 Adding complete test kit for EngCreateSemaphore, EngAcquireSemaphore, EngDeleteSemaphore, EngReleaseSemaphore
I think it testing all case it can now, and also split up some test to EngDeleteSemaphore and EngReleaseSemaphore and EngAcquireSemaphore, that was in EngCreateSemaphore


svn path=/trunk/; revision=33816
2008-06-01 17:33:51 +00:00
Magnus Olsen 457aee023d add all test we can do for EngCreateSemaphore, it checking some info in the internal HANDLE hsem is same as PRTL_CRITICAL_SECTION struct
svn path=/trunk/; revision=33811
2008-06-01 15:48:51 +00:00
Magnus Olsen 0b090eef6a add more test for EngCreateSemaphore, it checking some info in the internal HANDLE hsem is same as PRTL_CRITICAL_SECTION struct
svn path=/trunk/; revision=33809
2008-06-01 15:06:40 +00:00
Magnus Olsen f54e38e9ac add Test for EngDeleteSemaphore, it only test if it been create or not
svn path=/trunk/; revision=33807
2008-06-01 14:38:02 +00:00
Timo Kreuzer 2027d8d907 patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com)
Testcase for NtGdiSetDIBitsToDeviceInternal
See issue #3294 for more details.

svn path=/trunk/; revision=33781
2008-05-31 00:04:16 +00:00
Magnus Olsen b86be5acd2 started added test for InitializeLpkHooks
this tests are not completed more will follow.
this is the frame work for testing InitializeLpkHooks


svn path=/trunk/; revision=33697
2008-05-25 12:04:06 +00:00
Magnus Olsen 73e46408e9 implemeted test for GdiDeleteLocalDC, GdiReleaseLocalDC, GdiSetAttrs
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33681
2008-05-24 22:42:46 +00:00
Magnus Olsen 287182ff5f implemeted test for GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiGetLocalBrush, GdiGetLocalDC
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33680
2008-05-24 22:20:31 +00:00
Magnus Olsen 389b7a34fb add test for NtUserGetTitleBarInfo patch by Daniel Zimmermann (netzimme at aim dot com)
tested on xp sp3 by me

See issue #3266 for more details.

svn path=/trunk/; revision=33665
2008-05-23 18:22:39 +00:00
Magnus Olsen 3797dab429 Fixed memory leak in w32knapi if it fail found gdihandle table patch by Daniel Zimmermann (netzimme at aim dot com)
See issue #3266 for more details.

svn path=/trunk/; revision=33664
2008-05-23 18:14:15 +00:00
Gregor Brunmar e657a0d73a ReactOS leads you to mysterious API calls. Added tests for RealGetWindowsClass() with some strange behaviours for later use when implementing RealGetWindowClass().
svn path=/trunk/; revision=33599
2008-05-19 17:50:39 +00:00
Timo Kreuzer e7657c026b - a bunch of tests for NtUserEnumDisplaySettings
- one test for NtGdiGetFontResourceInfoInternalW

svn path=/trunk/; revision=33452
2008-05-11 21:49:56 +00:00
Magnus Olsen 4b2acdc21b Adding simple test for CreateBitmapIndrect and show it care if bmWidthBytes is align or not
this test have done on windows xp sp2 and pass it fine. 


svn path=/trunk/; revision=33433
2008-05-11 10:35:09 +00:00
Magnus Olsen 0dfbae2961 adding test to NtGdiCreateBitmap show it does not accpect height = 0 and widith = 0
svn path=/trunk/; revision=33426
2008-05-11 08:09:02 +00:00
Magnus Olsen 1bc8ff3d85 adding a testcase for GetStockObject(21);
it is 1x1 1Bpp Bitmap.

svn path=/trunk/; revision=33410
2008-05-10 16:12:35 +00:00
Magnus Olsen 04df00182d adding more testcase for NtGdiGetStockObject it testing what type for gdi object the handle return now and we manger figout what type of handle the value 20 and value 21
NtGdiGetStockObject(20) == GDI_OBJECT_TYPE_COLORSPACE
 NtGdiGetStockObject(21) == GDI_OBJECT_TYPE_BITMAP

svn path=/trunk/; revision=33409
2008-05-10 15:21:49 +00:00
Magnus Olsen c958c7e3b0 adding a simple NtGdiGetStockObject
it show undocumented stockobject exists in windows xp/2003
value 20 and 21

svn path=/trunk/; revision=33407
2008-05-10 14:01:40 +00:00
Magnus Olsen 826f6108be commit testcase for wdith negative and 0
svn path=/trunk/; revision=33406
2008-05-10 12:02:59 +00:00
Magnus Olsen a623366dca adding height -1 and height 0 test for create a bitmap
svn path=/trunk/; revision=33405
2008-05-10 11:55:58 +00:00
Timo Kreuzer 6ea5c51737 add tests for GetCurrentObject
svn path=/trunk/; revision=33295
2008-05-05 13:33:42 +00:00
Magnus Olsen a811ab72f3 Fixed one test so it be more fair.
svn path=/trunk/; revision=33278
2008-05-04 19:58:33 +00:00
Magnus Olsen f87e400c88 adding test for param puNumHeaps and puvmList in NtGdiDdQueryDirectDrawObject test
only param puNumFourCC, puFourCC left to add test for. 

svn path=/trunk/; revision=32944
2008-04-13 17:02:33 +00:00
Magnus Olsen f49a642aad adding test for param puD3dTextureFormats in NtGdiDdQueryDirectDrawObject test
only param puNumHeaps, puvmList, puNumFourCC, puFourCC left to add test for. 

svn path=/trunk/; revision=32943
2008-04-13 15:38:23 +00:00
Magnus Olsen 6b84c8166a adding test for param puD3dBufferCallbacks in NtGdiDdQueryDirectDrawObject test
svn path=/trunk/; revision=32940
2008-04-13 11:00:52 +00:00
Magnus Olsen f484c4c16f adding test for param puD3dDriverData in NtGdiDdQueryDirectDrawObject test
svn path=/trunk/; revision=32939
2008-04-13 09:53:25 +00:00
Magnus Olsen eda37fd967 fixed a spelling error for NtGdiSelectBitmap thx Caemyr notes it and testing on win2k3
svn path=/trunk/; revision=32930
2008-04-12 19:56:09 +00:00
Magnus Olsen 72a3860fd7 remove RTEST(pHalInfo->vmiData.fpPrimary != 0 ); for this test was wrong for it is can be zero
cleanup some other part and adding few other as well

svn path=/trunk/; revision=32927
2008-04-12 18:21:41 +00:00
Magnus Olsen 6d29ef63e3 added more testcase for w32knapi
svn path=/trunk/; revision=32924
2008-04-12 13:56:23 +00:00
Magnus Olsen 624117705d forget add ASSERT for pHalInfo->GetDriverInfo if the drv does not set this, the dx will not be activated.
svn path=/trunk/; revision=32921
2008-04-12 12:36:55 +00:00
Magnus Olsen 449827d222 fixed more test after my notes of old testkit I wrote for private use.
svn path=/trunk/; revision=32920
2008-04-12 12:32:32 +00:00
Magnus Olsen 6a80fdf161 correct some test, so they works with some bugi nivda drv
svn path=/trunk/; revision=32919
2008-04-12 12:23:13 +00:00
Magnus Olsen db575d112b Completed some testcase in w32knapi testkit for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=32918
2008-04-12 11:44:41 +00:00
Timo Kreuzer 871375bbfb sorry forgot to commit this one.
svn path=/trunk/; revision=32774
2008-03-28 03:44:49 +00:00
Timo Kreuzer 114e07cda7 better don't mess with the focus border height
svn path=/trunk/; revision=32759
2008-03-23 17:24:54 +00:00
Timo Kreuzer fa2f4d10ba - add tests for SetWorldTransform
- more tests for CreateCompatibleDC, GetClipRgn, SelectObject and SetDCPenColor

svn path=/trunk/; revision=32746
2008-03-22 03:21:52 +00:00
Timo Kreuzer 9f99e0a7c4 add tests for NtUserCallHwnd, NtUserCallHwndLock, NtUserCallHwndOpt, NtUserCallHwndParam, NtUserCallHwndParamLock, NtUserCallNoParam, NtUserCallOneParam and NtUserSystemParametersInfo
svn path=/trunk/; revision=32744
2008-03-22 03:12:01 +00:00
Sylvain Petreolle e56ca759ce add missing winetests : hlink & schannel,
.rbuild fixes


svn path=/trunk/; revision=32456
2008-02-22 21:01:47 +00:00
Timo Kreuzer 689819ce3e fix 2 names
svn path=/trunk/; revision=31659
2008-01-08 02:49:09 +00:00
Hervé Poussineau 94f4d04f97 Fix svn properties
svn path=/trunk/; revision=31613
2008-01-05 18:57:24 +00:00
Timo Kreuzer b7761adada w32kdll for vista
svn path=/trunk/; revision=31457
2007-12-27 03:48:36 +00:00
Timo Kreuzer 0915b2ac9b fix export definition
svn path=/trunk/; revision=31271
2007-12-16 02:45:59 +00:00
Timo Kreuzer ae9965fb5d w32kdll for windows 2003 SP2
svn path=/trunk/; revision=31270
2007-12-16 02:32:20 +00:00
Timo Kreuzer 07eb7f5d69 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- more tests for NtGdiGetDIBitsInternal

svn path=/trunk/; revision=31226
2007-12-15 04:35:16 +00:00
Timo Kreuzer 5f55fe95c7 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- CrateFont -> CreateFontA
- A bunch of tests for SelectObject

svn path=/trunk/; revision=31225
2007-12-15 04:22:19 +00:00
Timo Kreuzer 142fc9bedc - another test for NtGdiBitBlt
- Add tests for NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiSelectFont and NtGdiSelectPen

svn path=/trunk/; revision=30904
2007-11-30 00:09:28 +00:00
Timo Kreuzer a63375b80e Another test for AddFontResourceEx
svn path=/trunk/; revision=30849
2007-11-28 23:45:23 +00:00
Timo Kreuzer 3ac4bd2b4f Query the gdi handle table for later use in tests
svn path=/trunk/; revision=30848
2007-11-28 23:41:11 +00:00
Timo Kreuzer 86962e6878 - some more tests for GetObject
svn path=/trunk/; revision=30847
2007-11-28 23:39:45 +00:00
Timo Kreuzer 556614fa8a some more tests for NtUserScrollDC and NtGdiBitBlt
svn path=/trunk/; revision=30343
2007-11-11 00:19:42 +00:00
Timo Kreuzer 9c4b252f62 Some tests for NtUserScrollDC
svn path=/trunk/; revision=30342
2007-11-10 23:04:33 +00:00
Timo Kreuzer 7248541e08 some tests for NtUserToUnicodeEx
svn path=/trunk/; revision=30317
2007-11-10 04:21:35 +00:00
Daniel Reimer 622c29bffb Delete all Trailing spaces in code.
svn path=/trunk/; revision=29688
2007-10-19 23:01:40 +00:00
Magnus Olsen c81402138a Adding a text file call notes.txt it is some werid thing I have have not yet figout how it works.
Add testcase for AddFontResourceA

svn path=/trunk/; revision=29306
2007-09-30 11:57:37 +00:00
Timo Kreuzer e1b2e7a30f - header update
- add a resource

svn path=/trunk/; revision=29284
2007-09-28 17:26:29 +00:00
Timo Kreuzer 51c8156d1e update export list
svn path=/trunk/; revision=29281
2007-09-28 16:32:57 +00:00
Timo Kreuzer b6ebc1b19c add another small test for AddFontResource
svn path=/trunk/; revision=29263
2007-09-27 22:32:09 +00:00
Ged Murphy b3c3c9ba5b add more checks for GetDIBits
svn path=/trunk/; revision=29199
2007-09-25 13:20:46 +00:00
Ged Murphy 9be6565d51 Add basic tests for NtGdiGetDIBitsInternal
svn path=/trunk/; revision=29191
2007-09-24 15:09:15 +00:00
Ged Murphy f26bd07f86 Add basic tests for GetDIBits
svn path=/trunk/; revision=29190
2007-09-24 15:02:20 +00:00
Timo Kreuzer 35bf0957bc - use NtDd api directly instead of using old syscall function.
- remove some old definitions
- fix build to make Wax happy

svn path=/trunk/; revision=28890
2007-09-06 00:42:51 +00:00
Timo Kreuzer 2b31cf640d - Add test for AddFontResourceEx showing that the function accepts 0 as flags.
- remove header inclusion in test files

svn path=/trunk/; revision=28753
2007-09-01 22:06:05 +00:00
Timo Kreuzer b91657fe81 - rename ASSERT1 to ASSERT
- link to w32kdll instead of implementing all syscalls as stubs. I will remove the rest of the syscall code as soon as our syscall db is more complete
- more TEST -> RTEST
- update w32kdll_ros.def
- add tests for NtGdiEngCreatePalette, NtGdiEnumFontOpen
- Add some gdi handle table code to w32knapi
- header cleanup

svn path=/trunk/; revision=28619
2007-08-28 15:06:36 +00:00
Timo Kreuzer 71b085c651 - Simplify w32knapi. It now always uses w32kdll.dll
Copy the right dll into the same folder as w32knapi.exe (name must be w32kdll.dll) to make it work of different windows versions and ros of cause.
Tested on win xp.

svn path=/trunk/; revision=28531
2007-08-24 22:23:44 +00:00
Timo Kreuzer e2167fe00e one more TEST -> RTEST for NtGdiGetRandomRgn
svn path=/trunk/; revision=28458
2007-08-23 00:20:30 +00:00
Timo Kreuzer 3385ef604e some tests for NtGdiDoPalette
svn path=/trunk/; revision=28457
2007-08-23 00:19:00 +00:00
Timo Kreuzer d99309335f win32k syscall dlls for win xp and 2k
svn path=/trunk/; revision=28456
2007-08-22 21:49:49 +00:00
Timo Kreuzer 007aa094f9 65 tests for NtGdiCreateBitmap
svn path=/trunk/; revision=28308
2007-08-12 22:33:21 +00:00
Magnus Olsen f41e3a0f1a win32kdxtest does not contain any more test for NtGdiDdQueryDirectDrawObject
So now I start adding new test, that I did manual testing for and reading debugout put for. 
we still missing test for NtGdiDdQueryDirectDrawObject

svn path=/trunk/; revision=28299
2007-08-12 14:11:00 +00:00
Magnus Olsen b694e14566 update with more test for w32knapi
svn path=/trunk/; revision=28298
2007-08-12 12:31:10 +00:00
Magnus Olsen 01d9041103 adding more dx test to w32knapi, convert from win32kdxtest tool
svn path=/trunk/; revision=28290
2007-08-11 15:48:50 +00:00
Magnus Olsen 2b8f46f472 adding more dx test to w32knapi, convert from win32kdxtest tool
svn path=/trunk/; revision=28288
2007-08-11 14:35:44 +00:00
Magnus Olsen e6980dd58b update with some more dx test
svn path=/trunk/; revision=28284
2007-08-11 10:11:19 +00:00
Magnus Olsen 58272e652f Adding dx test from my win32kdxtest to win32knapi test.
win32kdxtest are more like a analysis tools to examine some struct and dumping it, 
win32knapi is true test tools 

svn path=/trunk/; revision=28279
2007-08-11 08:52:38 +00:00
Timo Kreuzer 08bb46f842 add syscall list for windows 2000 SP4, so GreatLord can do testing
svn path=/trunk/; revision=28274
2007-08-10 23:55:54 +00:00
Timo Kreuzer 8f82a2f3ed - restructure syscall code, add edi to RosSyscall clobber list
- more NtGdiGetRandomRgn tests
- more TEST -> RTEST

svn path=/trunk/; revision=28232
2007-08-07 23:13:25 +00:00
Timo Kreuzer 174418b0d1 - convert a bunch of tests to regression tests as they succeed on ros
- add tests for NtGdiGetRandomRgn

svn path=/trunk/; revision=28182
2007-08-05 23:05:02 +00:00
Sylvain Petreolle ec345d7f85 fix build
svn path=/trunk/; revision=28178
2007-08-05 14:58:58 +00:00
Timo Kreuzer 58c6a293bc - make apitest.c into a static lib to be used by different tests
- add a gdi32 api test, based on the one in the win32 folder
- add a user32 api test
- change type of test functions to int
- implement a quick 'n dirty html api status output
- uncomment NtGdiTransormPoints in w32kdll.def
- add ASSERT1 macro (ASSERT is already used)
- include some more headers

svn path=/trunk/; revision=28169
2007-08-05 03:32:24 +00:00
Timo Kreuzer 5f857c9cba small bugfix
svn path=/trunk/; revision=28161
2007-08-04 16:51:10 +00:00
Timo Kreuzer 2669c54fcc - implement quick 'n dirty HTML api status output
- change test function return type to INT
- add ASSERT macro
- include some more headers

svn path=/trunk/; revision=28160
2007-08-04 16:45:12 +00:00
Sylvain Petreolle 21876ed8a8 C uses / as dir separator, not \
svn path=/trunk/; revision=28157
2007-08-04 13:22:48 +00:00
Timo Kreuzer 9c457ea930 fix some names
svn path=/trunk/; revision=28149
2007-08-03 22:31:55 +00:00
Timo Kreuzer 867e2eb7f4 0x124a is NtUserValidateTimerCallback, thanks jimtabor for finding this out.
svn path=/trunk/; revision=28112
2007-08-02 23:29:43 +00:00
Timo Kreuzer e97388eec3 small bugfix: don't zero terminate the szCSDVersion sting beyond the buffer.
svn path=/trunk/; revision=28111
2007-08-02 22:23:27 +00:00
Timo Kreuzer 603ac00e50 an API test kit + win32k native API test app.
It does syscalls on ros by linking to w32kdll.dll
On windows it uses syscall tables (only winxp sp2 available atm)

svn path=/trunk/; revision=28106
2007-08-02 21:42:37 +00:00