Commit graph

129 commits

Author SHA1 Message Date
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