Commit graph

64 commits

Author SHA1 Message Date
Timo Kreuzer
5b8f6f48da [GDI32_APITEST]
- Add more tests for CreateDIBitmap and SetDIBitsToDevice

svn path=/trunk/; revision=60787
2013-10-28 20:39:26 +00:00
Amine Khaldi
655b467d9a [GDI32_APITEST]
* Fix GCC warnings.
* Enable -Werror again.
* Remove redundant test header inclusion.
* Speedup linking.

svn path=/trunk/; revision=60347
2013-09-23 21:54:01 +00:00
Hermès Bélusca-Maïto
fe6644f895 [APITESTS]
- No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use StartSeh() / EndSeh() macros; this is done automagically.
- Use explicitely unicode macros where it's needed.

svn path=/trunk/; revision=60319
2013-09-22 19:07:35 +00:00
Hermès Bélusca-Maïto
4b95e17c61 [ROSTESTS:APITESTS]
Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).

svn path=/trunk/; revision=60313
2013-09-22 17:52:42 +00:00
Thomas Faber
7a91442d56 [APITESTS]
- Avoid warnings

svn path=/trunk/; revision=59274
2013-06-21 17:22:46 +00:00
Amine Khaldi
5bbe8eb4d6 [GDI32_APITEST]
* Add missing stdio inclusion.

svn path=/trunk/; revision=58307
2013-02-10 16:48:18 +00:00
Amine Khaldi
c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00
Timo Kreuzer
b556d39888 [GDI32_APITEST]
Fix a warning and improve code.

svn path=/trunk/; revision=58054
2012-12-30 13:21:52 +00:00
Timo Kreuzer
d65327d318 [GDI32_APITEST]
Add tests for SetDIBitsToDevice

svn path=/trunk/; revision=58052
2012-12-30 12:56:55 +00:00
Jérôme Gardou
cde9a5f895 [GDI32_APITEST]
- Add test showing that a bitmap created using CreateDIBItmap can be selected into a DC despite a different bits depth

svn path=/trunk/; revision=57693
2012-11-08 14:46:47 +00:00
Thomas Faber
38ce718bde [GDI32_APITEST]
- Fix build

svn path=/trunk/; revision=57165
2012-08-26 11:35:58 +00:00
Thomas Faber
3287e13f6f [GDI32_APITEST]
- Actually run the CreateIconIndirect test when it's called

svn path=/trunk/; revision=57164
2012-08-26 11:17:37 +00:00
Timo Kreuzer
01800e8784 [GDI32_APITEST]
Fix use of uninitialized variables and remove broken test.
See issue #7299 for more details.

svn path=/trunk/; revision=57157
2012-08-24 20:25:29 +00:00
Amine Khaldi
aa0fc5cdca [GDI32_APITESTS]
* Allow warnings when compiling with gcc.

svn path=/trunk/; revision=56978
2012-07-29 02:44:53 +00:00
Timo Kreuzer
c73fd0768f [GDI32_APITEST]
- Create a global 4bpp dib section for tests
- More tests for GetDIBits

svn path=/trunk/; revision=56606
2012-05-17 18:56:00 +00:00
Timo Kreuzer
62d76ebae8 [GDI32_APITEST]
More tests for CreateBitmap by Victor Martinez

svn path=/trunk/; revision=56605
2012-05-17 18:51:47 +00:00
Timo Kreuzer
cb383858f1 [GDI32_APITEST]
Simplify code

svn path=/trunk/; revision=56586
2012-05-14 11:48:17 +00:00
Timo Kreuzer
2e19d5b6f6 [GDI32_APITEST]
Add more tests for GetDIBColorTable

svn path=/trunk/; revision=56545
2012-05-08 23:15:49 +00:00
Timo Kreuzer
6743cf9776 [GDI32_APITEST]
Add more tests for CreateDIBitmap and CreateDIBPatternBrushPt

svn path=/trunk/; revision=56542
2012-05-08 15:49:04 +00:00
Timo Kreuzer
2d7b85a68d [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56512
2012-05-05 14:19:22 +00:00
Timo Kreuzer
da7a389957 [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56511
2012-05-05 12:59:08 +00:00
Timo Kreuzer
bc53e4ea25 [GDI32_APITEST]
- Comment out tests that fail on windows 2003
- Try to fix a number of tests for Windows 2003

svn path=/trunk/; revision=56509
2012-05-05 12:21:56 +00:00
Timo Kreuzer
5b92fc6b91 [GDI32_APITEST]
Fix warnings

svn path=/trunk/; revision=56499
2012-05-04 19:06:12 +00:00
Timo Kreuzer
92d1183079 [GDI32_APITEST]
- Add tests for CreateDIBPatternBrush(Pt)
- Add some helper code to initialize a dibsection and a palette, which can be reused by other tests
- Add tests for DIB brush in GetObject

svn path=/trunk/; revision=56498
2012-05-04 18:56:43 +00:00
Timo Kreuzer
7434309535 [GDI32_APITEST]
- Comment out a broken test (works only on 32bpp)
- Fix MSVC warning

svn path=/trunk/; revision=56495
2012-05-04 12:32:11 +00:00
Timo Kreuzer
6c68899cf1 [GDI32_APITEST]
Fix gcc build

svn path=/trunk/; revision=56493
2012-05-04 12:10:15 +00:00
Timo Kreuzer
f0771d26df [GDI32_APITEST]
- Add tests for GetDIBColorTable and SetPixel, 
- Add more tests for CreateBitmap, GetPixel, PatBlt

svn path=/trunk/; revision=56492
2012-05-04 11:40:36 +00:00
Timo Kreuzer
a97d8f8aee [GDI32_APITEST]
Add tests for SetBrushOrgEx

svn path=/trunk/; revision=56485
2012-05-03 18:54:19 +00:00
Timo Kreuzer
e28f37f061 [GDI32_APITEST]
Add more tests for SetWindowExtEx

svn path=/trunk/; revision=56423
2012-04-25 18:14:52 +00:00
Timo Kreuzer
308687a953 [GDI32_APITEST]
Add more tests for CombineTransform and cleanup the code a bit

svn path=/trunk/; revision=56420
2012-04-25 15:18:12 +00:00
Timo Kreuzer
3263e4fd82 {ROSTESTS]
Fix compilation

svn path=/trunk/; revision=56418
2012-04-25 12:42:40 +00:00
Timo Kreuzer
65873aaab9 [GDI32_APITEST]
- Add tests for CombineRgn

svn path=/trunk/; revision=56408
2012-04-24 17:11:08 +00:00
Timo Kreuzer
4fc848b780 [GDI32_APITEST]
- Add more tests for GetObject

svn path=/trunk/; revision=56405
2012-04-24 14:45:12 +00:00
Timo Kreuzer
bbf9dac724 [GDI32_APITEST]
- Add more tests for GetObject and SelectObject
- Fix a bug that made gcc builds crash

svn path=/trunk/; revision=56402
2012-04-23 22:16:50 +00:00
Timo Kreuzer
4bea149dd8 fix build
svn path=/trunk/; revision=56398
2012-04-23 19:06:10 +00:00
Timo Kreuzer
ce51c9773d [GDI32_APITEST]
- Add more tests for GetCurrentObject and GetObject
- Comment out tests that fail on debug builds

svn path=/trunk/; revision=56397
2012-04-23 19:02:51 +00:00
Timo Kreuzer
cc8ff50175 [GDI32_APITEST]
Fix build

svn path=/trunk/; revision=56394
2012-04-23 10:56:45 +00:00
Timo Kreuzer
3f8f2a7550 [GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt

svn path=/trunk/; revision=56393
2012-04-23 10:42:22 +00:00
Amine Khaldi
b5e6b0441c [GDI32_APITEST]
* Addendum to r56319.

svn path=/trunk/; revision=56320
2012-04-02 10:52:54 +00:00
Amine Khaldi
7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Kamil Hornicek
5b1ee500b6 fix build
svn path=/trunk/; revision=54108
2011-10-13 13:38:22 +00:00
Timo Kreuzer
f886d23efc [GDI32_APITEST]
- Add tests for CreateDIBitmap
- more tests for AddFontResource, GetPixel, SetSysColors

svn path=/trunk/; revision=54106
2011-10-13 12:52:25 +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
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
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
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
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