Commit graph

38 commits

Author SHA1 Message Date
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 132c804512 More tests for GetObject
svn path=/trunk/; revision=38656
2009-01-09 00:50:20 +00:00
Timo Kreuzer bd38886763 Add tests for CreateFontIndirect
svn path=/trunk/; revision=38571
2009-01-04 21:48:32 +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
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
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 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
Timo Kreuzer 6ea5c51737 add tests for GetCurrentObject
svn path=/trunk/; revision=33295
2008-05-05 13:33:42 +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 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 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
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 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 f26bd07f86 Add basic tests for GetDIBits
svn path=/trunk/; revision=29190
2007-09-24 15:02:20 +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 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