Commit graph

181 commits

Author SHA1 Message Date
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
Pierre Schweitzer
8fdd4d9b2a Forgot to commit urlmon.dll tests synced with Wine HEAD
svn path=/trunk/; revision=33564
2008-05-17 22:29:12 +00:00
Colin Finck
b655fc4f5e Add a testing suite for CMD based on CMD scripts.
Of course, ReactOS' cmd doesn't work at all with the framework at the moment :-)

Some tests were taken from "seta_test.cmd" by Royce. (see file headers)

svn path=/trunk/; revision=33560
2008-05-17 20:01:21 +00:00
The Wine Synchronizer
a5d311777a Autosyncing with Wine HEAD
svn path=/trunk/; revision=33559
2008-05-17 19:46:54 +00:00
Marc Piulachs
107c3d29cb -make rbuild files XML compliant by adding the XInclude namespace
-sync winetest to WINE-rc1
-add a rbuild file for winetest (not added to build yet)
note: minor winetest modifications should be made like loading tests from a folder at startup

svn path=/trunk/; revision=33556
2008-05-17 15:44:47 +00:00
Aleksey Bragin
b17882ecd8 Kamil Hornicek <tykef@atlas.cz>
- Update tests to Wine head (as of 11th of May, 2008).

svn path=/trunk/; revision=33464
2008-05-12 08:33:26 +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
Daniel Reimer
f108d390f0 Update of Winetests of non autosynched Dlls. Done by Kamil Horniceck
svn path=/trunk/; revision=33397
2008-05-09 17:35:45 +00:00
Colin Finck
908a3aa96b Fix win32kdxtest build
svn path=/trunk/; revision=33374
2008-05-08 17:00:15 +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
6727851943 add small help text and file dump from win32kdxtest
svn path=/trunk/; revision=33032
2008-04-19 07:21:03 +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
f858c31142 implement dump for all texture format our drv can create in windows nt and reactos
svn path=/trunk/; revision=32942
2008-04-13 14:50:23 +00:00
Magnus Olsen
fdf22bd547 add more dump output for win3kdxtest
fixed crash for texture.

svn path=/trunk/; revision=32941
2008-04-13 11:47:04 +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
274c59186d update the dump output, so it list more flags with names.
it also let me found undocumented flags more easy. 

svn path=/trunk/; revision=32938
2008-04-13 08:50:20 +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
0d32aa149d adding flag translations for allot different value for D3DNTHAL_CALLBACKS
so human brain does not need doing binary calc to known which flag are set. 

svn path=/trunk/; revision=32929
2008-04-12 19:24:31 +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
c84d32917f add one more dump data output to win32kdxtest
svn path=/trunk/; revision=32923
2008-04-12 13:54:48 +00:00
Magnus Olsen
0640f653d0 Bugfix : disable a testcase that does crash on xp but not on windows 2000.
svn path=/trunk/; revision=32922
2008-04-12 12:46:02 +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