Commit graph

313 commits

Author SHA1 Message Date
Timo Kreuzer
879c57d63c use _wcsicmp instead of non-standard wcscmpi
svn path=/trunk/; revision=38216
2008-12-21 02:40:09 +00:00
Stefan Ginsberg
52eab0439a - Hack-skip the gdi32 font test in an attempt to fix the infinite loop build server encounters
svn path=/trunk/; revision=38140
2008-12-17 05:46:56 +00:00
Stefan Ginsberg
a99a144adb - Sync gdiplus Winetest too
svn path=/trunk/; revision=38124
2008-12-16 18:41:26 +00:00
Stefan Ginsberg
76e4f9ca92 - Hack away mru tests as Cm is broken
svn path=/trunk/; revision=38064
2008-12-14 00:46:06 +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
Gregor Schneider
9bb14d43db - Update ntdll winetests
- Warning: the reg test may bsod/restart your Windows system- not a problem in ros though

svn path=/trunk/; revision=38035
2008-12-12 23:42:40 +00:00
Stefan Ginsberg
8e07c62725 - Disable crashing advapi32 tests -- add print and notes
svn path=/trunk/; revision=37999
2008-12-10 17:32:31 +00:00
James Tabor
339bbdd5bf - Sync to date wine AdvApi32 cross tests.
svn path=/trunk/; revision=37982
2008-12-09 19:26:45 +00:00
Stefan Ginsberg
e27a1b6f47 - Initialize pointer to null
svn path=/trunk/; revision=37978
2008-12-09 18:48:28 +00:00
Stefan Ginsberg
b87814a4c9 - Add back debug print -- build server still crashes
svn path=/trunk/; revision=37973
2008-12-09 17:44:27 +00:00
Stefan Ginsberg
12a6dfd816 - Revert the debug print
svn path=/trunk/; revision=37972
2008-12-09 16:39:33 +00:00
Stefan Ginsberg
358df6e806 - Test commit for the crash which the build server is experiencing (will be reverted)
svn path=/trunk/; revision=37961
2008-12-09 13:35:06 +00:00
Colin Finck
678aeae6f0 Revert r37916 and add some correct tests for WC_NO_BEST_FIT_CHARS, which pass under Windows XP SP3.
They show that our implementation still has some bugs here and there.

svn path=/trunk/; revision=37947
2008-12-08 22:18:50 +00:00
Dmitry Gorbachev
cdbca12bbb Remove WINVER, committed in r37916.
svn path=/trunk/; revision=37920
2008-12-07 22:03:22 +00:00
Dmitry Gorbachev
a6d6868c53 Use WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte(). Bug #3903.
svn path=/trunk/; revision=37916
2008-12-07 21:46:16 +00:00
Dmitry Chapyshev
6bf0881196 - Sync gdiplus wine tests
svn path=/trunk/; revision=37883
2008-12-06 09:26:52 +00:00
Stefan Ginsberg
3dd74720b7 - STDCALL strikes back
svn path=/trunk/; revision=37751
2008-11-29 21:42:41 +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
Gregor Schneider
67ac3637f8 Update msvcrt winetest, test_codepage still disabled as before
svn path=/trunk/; revision=37736
2008-11-29 19:18:59 +00:00
Kamil Hornicek
acffd663c1 - update user32 winetest
svn path=/trunk/; revision=37702
2008-11-28 12:02:57 +00:00
Gregor Schneider
f9e772b2a2 Update gdi32 winetests, so we don't run out of things to fix.
svn path=/trunk/; revision=37695
2008-11-27 20:52:01 +00:00
Stefan Ginsberg
1afa5e29a0 - kmtest: Don't use user mode types
- memtest: uh, no. ZwQuerySystemInformation does not return NO_ERROR

svn path=/trunk/; revision=37667
2008-11-26 18:43:27 +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
Gregor Schneider
4409645578 - Enhance test with icon drawing
- Tests some configurations of DrawIcon and DrawIconEx, highlighting another problem in 32bpp
- Reference TransparentBlt and AlphaBlend directly

svn path=/trunk/; revision=37640
2008-11-25 16:50:25 +00:00
Stefan Ginsberg
21a89ddc01 - Don't. Include. ntdef.h. From. User. Mode.
svn path=/trunk/; revision=37550
2008-11-22 11:17:17 +00:00
Stefan Ginsberg
682255c554 - No, Winetests doesn't treat ntdef.h as a PSDK header, they don't include it. The include was added when the Winetest was added to ros, because of missing NTSTATUS type. Include NDK instead.
svn path=/trunk/; revision=37548
2008-11-22 11:03:56 +00:00
Stefan Ginsberg
7e38beba07 - Silence more "has virtual functions but non-virtual destructor" warnings
svn path=/trunk/; revision=37546
2008-11-22 10:38:09 +00:00
Stefan Ginsberg
12ee0b7efd - Silence more "has virtual functions but non-virtual destructor"
svn path=/trunk/; revision=37537
2008-11-21 23:14:30 +00:00
Stefan Ginsberg
00a5b02ea1 - Fix rostests build, part 1 of ?
svn path=/trunk/; revision=37533
2008-11-21 22:23:46 +00:00
Ged Murphy
29474c309b Rough code to start Winetests processes from the GUI, but with the console's stdout redirected to a pipe controlled by the GUI.
We can now read the console text from the winetest processes in the GUI (although it's just usage info at the moment)

svn path=/trunk/; revision=37447
2008-11-18 18:57:27 +00:00
Gregor Schneider
191a64db66 Remove old locations
svn path=/trunk/; revision=37413
2008-11-17 17:28:58 +00:00
Gregor Schneider
ce7603048e - Restructure dib related tests, 2nd try.
- Change build files accordingly

svn path=/trunk/; revision=37412
2008-11-17 17:28:14 +00:00
Gregor Schneider
085944a8b2 Moved dib tests remotely
svn path=/trunk/; revision=37411
2008-11-17 16:59:01 +00:00
Gregor Schneider
4aa4129e6f - Add new directory for some dib related test restructuring, including two new tests:
- bltrop test for well known BitBlt ROPs, highlighted bugs were processed in r37268, r37269, r37372
- vbltest for testing several blit and blend functions, highlighted bugs fixed in r37139, r37168 and some overlay issues still tbd

svn path=/trunk/; revision=37407
2008-11-17 15:05:02 +00:00
Aleksey Bragin
7dd446c187 - Sync rpcrt4_winetest too.
svn path=/trunk/; revision=37231
2008-11-06 20:12:22 +00:00
Aleksey Bragin
eaf88dc90a - Remove WINVER definition.
- Fix no-EOL-at-EOF warnings.

svn path=/trunk/; revision=37152
2008-11-02 19:07:00 +00:00
Stefan Ginsberg
373296b548 - Remove version defines
svn path=/trunk/; revision=37031
2008-10-27 20:32:17 +00:00
Christoph von Wittich
d80a56b7f9 fix advpack_winetest build
svn path=/trunk/; revision=36943
2008-10-25 14:16:58 +00:00
Christoph von Wittich
89ae880958 remove all version defines from rostests
svn path=/trunk/; revision=36942
2008-10-25 14:04:03 +00:00
Aleksey Bragin
5b1318aae8 - Remove version defines.
svn path=/trunk/; revision=36941
2008-10-25 14:00:02 +00:00
Ged Murphy
b686c53533 Prepare for a change of architecture.
Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent.

svn path=/trunk/; revision=36844
2008-10-20 14:49:59 +00:00
Stefan Ginsberg
c2a9e1f979 - Revert 36827
svn path=/trunk/; revision=36828
2008-10-19 11:47:27 +00:00
Stefan Ginsberg
b90c9f3490 - Temporarily (for one revision) disable Winetest's advapi32 security test to see how far build server survives -- will be reverted in next commit
svn path=/trunk/; revision=36827
2008-10-19 11:40:48 +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
Gregor Schneider
b3b0519142 A msvcrt test shouldn't test ntdll functions for correctness. Now people don't need to fix nonexistant "hidden" msvcrt bugs anymore.
svn path=/trunk/; revision=36577
2008-09-28 18:40:38 +00:00
Christoph von Wittich
2d4aadb83f sync advapi32_winetest to wine 1.1.4
svn path=/trunk/; revision=36247
2008-09-14 18:24:25 +00:00
Christoph von Wittich
c75a2ca168 sync ole2 winetest
svn path=/trunk/; revision=36197
2008-09-13 18:52:03 +00:00
Christoph von Wittich
1a8524f176 sync rpc4rt winetests as well
svn path=/trunk/; revision=36189
2008-09-13 16:18:44 +00:00
Pierre Schweitzer
3a41d8e7d8 Synced urlmon_winetest.exe with Wine HEAD
svn path=/trunk/; revision=36036
2008-09-07 15:13:38 +00:00
Christoph von Wittich
77a43e8afd fix winhttp_winetest
svn path=/trunk/; revision=36034
2008-09-07 14:49:11 +00:00
Pierre Schweitzer
d2b37f54df Commit 2/2
Imported mstask_winetest.exe, winhttp_winetest.exe from Wine HEAD

svn path=/trunk/; revision=36031
2008-09-07 13:50:21 +00:00
Pierre Schweitzer
687df0212a Synced riched20_winetest, riched32_winetest with Wine HEAD
svn path=/trunk/; revision=35729
2008-08-28 10:54:35 +00:00
Colin Finck
55c1fbf585 Add the "wine" include directory for the user32 Wine test and remove ROS-specific additions to some files.
Fixes the user32_winetest and thus rostests build under Unix.

svn path=/trunk/; revision=35711
2008-08-27 20:10:45 +00:00
Aleksey Bragin
4035fb69b9 - By default enable all tests. 0 failures in Windows XP SP3.
svn path=/trunk/; revision=34953
2008-07-30 11:15:48 +00:00
Aleksey Bragin
c6d5d68953 - Add unloading ability.
- Don't forget to wrap any testing module into StartTest / FinishTest.

svn path=/trunk/; revision=34951
2008-07-30 11:11:25 +00:00
Aleksey Bragin
8edd5bdaa0 - Add IRP tests based on a Alexander Morozov's patch to Wine ("[try 3] Add tests for IoInitializeIrp and IoAllocateIrp").
svn path=/trunk/; revision=34947
2008-07-30 09:23:45 +00:00
Colin Finck
f776a00eeb Commit my test suite I used for verifying the behaviours of wctomb, wcstombs and WideCharToMultiByte and writing the reimplementations for ReactOS on request of Stefan
svn path=/trunk/; revision=34558
2008-07-16 22:08:58 +00:00
Aleksey Bragin
c97e25991a - Update winetests for synced DLLs.
svn path=/trunk/; revision=34391
2008-07-09 11:34:20 +00:00
Pierre Schweitzer
85ba30dcf2 Synced usp10_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34386
2008-07-09 09:23:34 +00:00
Pierre Schweitzer
a1e82ff2da Synced riched32_winetest.exe, shlwapi_winetest.exe, urlmon_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34373
2008-07-08 19:30:15 +00:00
Pierre Schweitzer
1e229a53dc Synced riched20_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34368
2008-07-08 10:09:42 +00:00
Hervé Poussineau
87f7930820 Operator new[] should go with delete[]
svn path=/trunk/; revision=34168
2008-06-28 19:49:04 +00:00
Daniel Reimer
e8d6023ad5 Add Rbuild files for WineTestGUI.
I had to disable the Icons to be able to build it. They seem to be invalid.

svn path=/trunk/; revision=34067
2008-06-24 09:05:56 +00:00
Ged Murphy
3c16ea89b9 - Auto expand the list of available tests
- Add the selected test to the main combo
- Tag the dll path to each combo item
- Run the test when the 'run' button is hit. 
We can now run all Wine tests from the GUI, but we get no feedback yet.

svn path=/trunk/; revision=34043
2008-06-21 19:19:22 +00:00
Ged Murphy
8683e62101 Don't forget to free the parent nodes
svn path=/trunk/; revision=34035
2008-06-20 11:39:31 +00:00
Ged Murphy
0537163f8d Save the select test info on close.
The browse dialog now lists all winetest dlls and allows selection of either all tests in all dlls, all tests within a dll, or the option to choose individual tests. (rewuires a modified winetest framework)

svn path=/trunk/; revision=34034
2008-06-20 11:20:26 +00:00
Ged Murphy
938f407a80 - build up test data for each node in the treeview and tag it
- traverse the tree recursively and free all data on close

svn path=/trunk/; revision=34033
2008-06-20 08:21:49 +00:00
Ged Murphy
671448e212 Add all modules within a test to the treeview
svn path=/trunk/; revision=34024
2008-06-19 11:57:14 +00:00
Ged Murphy
b790fafdb2 add all test dlls into the treeview
svn path=/trunk/; revision=34022
2008-06-19 08:36:17 +00:00
Ged Murphy
cda095c0fe The start of a GUI to make running the Wine API tests a pleasure rather than a pain.
This will plug into the new testing framework for the Wine tests, which will also publish it's results on a live website (if I can get Colin to help me with the web stuff ;) )
This is the time to pester me with requests / ideas anyone may have.

svn path=/trunk/; revision=34016
2008-06-18 19:10:39 +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
Pierre Schweitzer
cbf728b477 Synced shlwapi_winetest.exe with Wine HEAD
svn path=/trunk/; revision=33904
2008-06-08 17:14:50 +00:00
Dmitry Chapyshev
077d269069 - Add wine test for gdiplus
svn path=/trunk/; revision=33897
2008-06-08 09:47:47 +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
Aleksey Bragin
97e7725dc9 - Misc cleanup of kmtest.
- Add paged/nonpaged pools test routines.
- Comment out invocations of other tests temporary.

svn path=/trunk/; revision=33852
2008-06-04 09:50:19 +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
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