Commit graph

585 commits

Author SHA1 Message Date
Thomas Faber e69c4796da [KERNEL32_APITEST]
- Make GetDriveType test succeed if the current directory is the drive root. Spotted by Edijs.
- Use strsafe functions
ROSTESTS-160 #resolve

svn path=/trunk/; revision=67222
2015-04-17 08:09:30 +00:00
Thomas Faber f499a92d44 [USER32_APITEST]
- Add a test for CreateDialog. Patch by Andreas Maier.
ROSTESTS-163 #resolve

svn path=/trunk/; revision=67213
2015-04-16 11:35:23 +00:00
Thomas Faber 3233f5f8b3 [USER32_APITEST]
- Rename CreateWindowEx test to SetParent since that's what it tests

svn path=/trunk/; revision=67070
2015-04-06 06:34:04 +00:00
Timo Kreuzer dd4901282a [GDI32_APITEST]
Add/fix some tests for CreateDIBPatternBrush, GetDIBits, PatBlt and SetWindowExtEx

svn path=/trunk/; revision=67051
2015-04-04 15:58:18 +00:00
Timo Kreuzer 4eebb1e0c9 [GDI32_APITEST]
Add some more tests for MaskBlt

svn path=/trunk/; revision=67047
2015-04-04 14:58:17 +00:00
Timo Kreuzer 9729094318 [GDI32_APITEST]
Fix some broken tests or disable them.

svn path=/trunk/; revision=67046
2015-04-04 14:51:20 +00:00
Timo Kreuzer 437306080d [GDI32_APITEST]
Improve/fix tests for CreateBitmap.

svn path=/trunk/; revision=67045
2015-04-04 14:38:04 +00:00
Timo Kreuzer 7d51577276 [CRT_APITEST]
Disable a broken test.

svn path=/trunk/; revision=67044
2015-04-04 13:42:41 +00:00
Timo Kreuzer 462b429d45 [GDI32_APITEST]
Disable the 7.5 million tests, that make our testbot print failure message forever.

svn path=/trunk/; revision=67043
2015-04-04 13:35:19 +00:00
Timo Kreuzer f7f6d79a8d [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=67042
2015-04-04 13:09:54 +00:00
Timo Kreuzer afc9bc7f2a [GDI32_APITEST]
Add more tests for ExtCreatePen. This adds tests for almost all thinkable combinations of parameters. On win7: "ExtCreatePen: 7594830 tests executed (0 marked as todo, 0 failures), 0 skipped." After evaluating the results on WHS2003, this test will be disabled, since it is expected that most of these fail on ros atm.

svn path=/trunk/; revision=67040
2015-04-04 12:53:05 +00:00
Amine Khaldi c2a8901863 [SETUPAPI_APITEST] Add tests for SetupDiInstallClassExA and SetupInstallServicesFromInfSectionEx. Brought to you by Victor Martinez with some changes by me. ROSTESTS-157
svn path=/trunk/; revision=66983
2015-03-30 21:08:47 +00:00
Thomas Faber b11c872f36 [NTDLL_APITEST]
- Also test decreasing the size in RtlReAllocateHeap. Patch by Mark Jansen.
CORE-9441

svn path=/trunk/; revision=66960
2015-03-29 14:47:21 +00:00
Thomas Faber c7d57b853b [NTDLL_APITEST]
- Add a test for RtlReAllocateHeap -- shows that it doesn't handle allocations larger than 0x7f000 correctly in ROS
CORE-9441

svn path=/trunk/; revision=66958
2015-03-29 14:07:00 +00:00
Timo Kreuzer e209e6b5ac [WS2_32_APITEST]
Addendum to r66695: use winternl.h from wine folder

svn path=/trunk/; revision=66696
2015-03-14 13:41:50 +00:00
Hermès Bélusca-Maïto 2fd746a504 Revert r66580 and r66579.
svn path=/trunk/; revision=66587
2015-03-06 14:31:32 +00:00
Hermès Bélusca-Maïto 5d3273e56a I hope this is the last one.
svn path=/trunk/; revision=66580
2015-03-06 00:37:49 +00:00
Hermès Bélusca-Maïto dc5cf71fa4 ... and that.
svn path=/trunk/; revision=66579
2015-03-06 00:34:20 +00:00
Thomas Faber 8e610dc42c [COM_APITEST]
- Add some more interfaces

svn path=/trunk/; revision=66455
2015-02-25 16:22:26 +00:00
Thomas Faber 4c25d9683c [COM_APITEST]
- Add some more interfaces
- Add CLSID_CDBurn

svn path=/trunk/; revision=66453
2015-02-25 15:00:24 +00:00
Timo Kreuzer 42017a3c83 [USER32_APITEST]
Add some test for GetDCEx that highlight the ridiculous implementation of owned and class DCs.

svn path=/trunk/; revision=66444
2015-02-24 23:15:08 +00:00
Thomas Faber e6003a5b4e [COM_APITEST]
- Add IID_ITranslateShellChangeNotify, the answer to CORE-8844 - found by David
- Fix some non-constant offsets
- Re-alphabetize the lists

svn path=/trunk/; revision=66440
2015-02-24 12:52:18 +00:00
Giannis Adamopoulos d084f43c43 [COM_APITEST]
- Test the interfaces of CLSID_SharedTaskScheduler and CLSID_BackgroundTaskScheduler

svn path=/trunk/; revision=66422
2015-02-23 13:49:43 +00:00
Thomas Faber bd97b31dbc [KERNEL32_APITEST]
- Use correct format specifier aka fix GCC build

svn path=/trunk/; revision=66368
2015-02-20 10:34:18 +00:00
Thomas Faber 93c0d33c18 [KERNEL32_APITEST]
- Add a test for process termination behavior. This shows that CreateProcess with CREATE_SUSPENDED followed by TerminateProcess causes a handle leak.
CORE-9234

svn path=/trunk/; revision=66367
2015-02-20 10:29:47 +00:00
Thomas Faber e6c4261148 [GDI32_APITEST]
- Refactor EnumFontFamilies test to be more generic, and check for some common expected system fonts. This shows that EnumFontFamilies behaves correctly, but that we're missing the System font in the enumeration.
CORE-9222

svn path=/trunk/; revision=66347
2015-02-18 13:18:30 +00:00
Jérôme Gardou 91ab921a3d [NTDLL_APITEST]
- Add tests showing windows behaviour in case of stack overflow.

svn path=/trunk/; revision=66326
2015-02-16 21:15:55 +00:00
Jérôme Gardou 03d126b2fa [NTDLL_APITEST]
- Add tests showing how NtAllocateVirtualMemory and NtQueryVirtualMemory work together

svn path=/trunk/; revision=66325
2015-02-16 21:15:27 +00:00
Timo Kreuzer 0be5288cdb [GDI32_APITEST]
Add additional tests for CreateBitmap and fix a test.
Patch by Victor Martinez
ROSTESTS-56 #resolve

svn path=/trunk/; revision=66262
2015-02-14 14:07:50 +00:00
Timo Kreuzer 35862dad78 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=66260
2015-02-14 13:24:54 +00:00
Timo Kreuzer dd25b0e4c0 [GDI32_APITEST]
Add tests for OffsetRgn, PaintRgn and FrameRgn, fix 1BPP DIB creation in InitStuff()

svn path=/trunk/; revision=66259
2015-02-14 13:19:02 +00:00
Thomas Faber 46e350e52c [COM_APITEST]
- Add classes found in Wine's shell32_classes.idl and browseui_classes.idl

svn path=/trunk/; revision=66258
2015-02-14 12:59:16 +00:00
Timo Kreuzer 529aae440b [GDI32_APITEST]
Fix InitStuff(), declare the 32 bpp DIB array 2 dimensional and make it 8x8 in size.

svn path=/trunk/; revision=66256
2015-02-14 11:25:02 +00:00
Thomas Faber c4f27cbca8 [GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve

svn path=/trunk/; revision=66242
2015-02-13 09:06:00 +00:00
James Tabor 8f317b9b09 [ApiTest]
- Add Thomas Faber API test from CORE-8703.

svn path=/trunk/; revision=66233
2015-02-11 23:53:08 +00:00
Timo Kreuzer 4b22cb6483 [GDI32_APITEST]
Add more tests for MaskBlt

svn path=/trunk/; revision=66221
2015-02-10 22:33:19 +00:00
Timo Kreuzer 95d5773b2e [GDI32_APITEST]
Add more helper code

svn path=/trunk/; revision=66220
2015-02-10 22:31:17 +00:00
Thomas Faber a7c7e5b7cf [GDI32_APITEST]
- Fix flakiness in GetDIBits test

svn path=/trunk/; revision=66218
2015-02-10 20:29:54 +00:00
Giannis Adamopoulos 7b2c9d42ef [COM_APITEST]
- Test the interfaces exposed by CLSID_ProgressDialog
CORE-4476

svn path=/trunk/; revision=66209
2015-02-08 23:47:11 +00:00
Timo Kreuzer 23a57a334f [W32KNAPI]
Load NtGdiFlushUserBatch dynamically to allow loading on Win 2003, where the function does not exist.
ROSTESTS-131 #resolve

svn path=/trunk/; revision=66172
2015-02-05 10:10:33 +00:00
Timo Kreuzer 949aef7e6c [GDI32_APITEST]
Add simple tests for RealizePalette.
CORE-8350 #comment Tests show that the patch is not correct.

svn path=/trunk/; revision=66158
2015-02-04 09:02:25 +00:00
James Tabor 0c9a650aa9 [ApiTest]
- Add a test for sequential list of control atoms. This is an addition to the Real Classes tests.

svn path=/trunk/; revision=65989
2015-01-05 22:25:48 +00:00
James Tabor 606ab6ed88 [w32knapi]
- Add Imm.h.

svn path=/trunk/; revision=65844
2014-12-27 06:33:48 +00:00
Amine Khaldi 395dc9ef1f [W32KDLL_APITESTS] Properly handle ASM files. Also use set_module_type() instead of manually setting the entry point.
svn path=/trunk/; revision=65615
2014-12-12 13:17:16 +00:00
Hermès Bélusca-Maïto e5d2106458 [WIN32K][ROSTESTS]
So...
... first of all NtUserQueryInformationThread takes only 4 parameters in Win2k3 so do it as well...
... and since we claim at being compatible with Win2k3 (and not XP), one **MUST** review **ALL** our win32k exports, in win32ss/w32ksvc.db database first, and then in our w32kdll apitests !!!!!
But I won't do it !

svn path=/trunk/; revision=65519
2014-11-28 23:19:25 +00:00
Timo Kreuzer 6ee2be9843 [GDI32_APITEST]
Fix build

svn path=/trunk/; revision=65381
2014-11-12 09:58:45 +00:00
Timo Kreuzer a1330711d6 [GDI32_APITEST]
Add tests for ExtCreateRegion

svn path=/trunk/; revision=65380
2014-11-12 09:49:32 +00:00
Timo Kreuzer d85969ddd5 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=65348
2014-11-09 17:19:16 +00:00
Timo Kreuzer 9165518e88 [GDI32_APITEST]
Add test for rect regions

svn path=/trunk/; revision=65347
2014-11-09 17:14:17 +00:00
Thomas Faber 487818ab87 [USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948
2014-10-24 09:16:04 +00:00
Jérôme Gardou 03b386d0e0 [USER32_APITEST]
- Add a test showing that CopyImage accepts LR_SHARED flag.
CORE-7575

svn path=/trunk/; revision=64916
2014-10-23 11:19:21 +00:00
Thomas Faber 268d1c62fe [RTL]
- Fix a buffer overflow in RtlSetBits/RtlClearBits

svn path=/trunk/; revision=64867
2014-10-21 14:22:28 +00:00
Timo Kreuzer 211e68d9b1 [NTDLL_APITEST] Disable NtContinue test when runtime checks are enabled
[USER32_APITEST] Disable WndProc test when runtime checks are enabled
[KERNEL32_WINETEST] Zero initialize a buffer. This is necessary, since we fail all calls to GetVolumePathNamesForVolumeNameW and thus never get any data into the buffer, which can later result in a buffer-overrun, when doing a lstrlenW on it.

svn path=/trunk/; revision=64831
2014-10-19 19:37:55 +00:00
Amine Khaldi 9333ffdf62 [APITESTS/W32KDLL_*]
* Use set_module_type() instead of set_entrypoint().

svn path=/trunk/; revision=64802
2014-10-18 14:00:20 +00:00
Amine Khaldi c0e495f046 [CMAKE]
* Addendum to r64795.
* Also remove unneeded wine linking and ntdll importing.
* Remove redundant defines.

svn path=/trunk/; revision=64796
2014-10-17 23:29:24 +00:00
Jérôme Gardou 4703670a3c [ADVAPI32_APITESTS]
- Add a few tests for DuplicateTokenEx

svn path=/trunk/; revision=64736
2014-10-13 18:49:09 +00:00
Thomas Faber d5b17b9082 [GDI32]
- Return 1 on failure in IntEnumFontFamilies, as shown by the test
CORE-8628 #resolve

svn path=/trunk/; revision=64720
2014-10-13 14:06:40 +00:00
Thomas Faber 00109ad544 [GDI32_APITEST]
- Add a test for EnumFontFamilies* returning no results
CORE-8628

svn path=/trunk/; revision=64719
2014-10-13 12:25:30 +00:00
Thomas Faber 80ecfd75ed [USER32_APITEST]
- Extend GetUserObjectInformation test to include the ansi version. ... this is the lazy way and just duplicates the code, feel free to make it more concise.
CORE-8101

svn path=/trunk/; revision=64706
2014-10-13 09:22:59 +00:00
Amine Khaldi 8a6c831120 * Minor formatting fixes for consistency.
svn path=/trunk/; revision=64486
2014-10-03 10:25:20 +00:00
Sylvain Petreolle 4a66664eba [WS2_32_APITEST]
Add WSAStartup-dependent tests.

svn path=/trunk/; revision=64480
2014-10-03 09:00:15 +00:00
Jérôme Gardou 1cef9e5e5b [ADVAPI32_APITEST]
- Add a few tests for RegEnumValueW

svn path=/trunk/; revision=64468
2014-10-02 17:31:06 +00:00
Jérôme Gardou cd4b86a398 [ADVAPI32_APITEST]
- Add a few more tests for corner cases of RegCreateKeyEx API with HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64440
2014-10-01 17:28:45 +00:00
Jérôme Gardou 758851efe4 [ADVAPI32_APITEST]
- Add more tests for HKCR subkeys creation.
CORE-8582

svn path=/trunk/; revision=64439
2014-10-01 15:59:54 +00:00
Timo Kreuzer dc5a81e32e [CRT_APITEST]
Fix some tests based on Windows 2003 SP1 behavior. Patch by Victor Martinez.

svn path=/trunk/; revision=64425
2014-09-30 21:10:15 +00:00
Jérôme Gardou de0f394751 [ADVAPI32_APITEST]
- Remove some tests that are broken if HKCU\software\classes\CLSID key exists.
Better tests were added later anyway.
CORE-8582

svn path=/trunk/; revision=64413
2014-09-30 19:59:02 +00:00
Jérôme Gardou cce1fd1f0c [ADVAPI32_APITEST]
- Skip tests if the user has no administrative rights
 - Add more tests for subkey creation

svn path=/trunk/; revision=64412
2014-09-30 19:58:59 +00:00
Jérôme Gardou 267bd04e5f [ADVAPI32_APITEST]
- Add tests testing behaviour of RegOpen/Create for HKEY_CLASSES_ROOT subkeys
 - Clean up a bit the other tests
CORE-8582

svn path=/trunk/; revision=64402
2014-09-29 19:13:37 +00:00
Jérôme Gardou ea57e45a4b [NTDLL_APITEST]
- Add tests for NtQueryKey(KeyNameInformation)
[ADVAPI32_APITEST]
 - Don't be so generous and claim back my code.
@Thomas: If you ever find out how buggy it is, feel free to claim it back. ;-)

svn path=/trunk/; revision=64394
2014-09-29 16:21:53 +00:00
Jérôme Gardou 40cf5d521c [ADVAPI32_APITEST]
- Add a few tests regarding HKEY_CLASSES_ROOT special keys.

svn path=/trunk/; revision=64393
2014-09-29 13:35:59 +00:00
Timo Kreuzer ec2f154c80 [GDI32_APITEST]
- Add tests for OffsetClipRgn
- Imporve ExcludeClipRect tests

svn path=/trunk/; revision=64370
2014-09-28 18:24:58 +00:00
Timo Kreuzer b9421c0166 [GDI32_APITEST]
Add another test case for ExcludeClipRect

svn path=/trunk/; revision=64332
2014-09-27 10:57:50 +00:00
Timo Kreuzer 5669230795 [GDI32_APITEST]
Add tests for ExcludeClipRect, convert tabs to spaces

svn path=/trunk/; revision=64254
2014-09-24 08:35:30 +00:00
Timo Kreuzer f85261888e [GDI32_APITEST]
- Add tests for GetClipBox

svn path=/trunk/; revision=64236
2014-09-23 11:16:56 +00:00
Jérôme Gardou 1f02ead2cc [NTDLL_APITEST]
- Add a test stressing the registry a lot. By "V".
ROSTESTS-141 #resolve #comment Committed, Thanks!

svn path=/trunk/; revision=64227
2014-09-22 14:46:08 +00:00
Timo Kreuzer 1d68dcce50 [ADVAPI32_APITEST]
- Fix linux build

svn path=/trunk/; revision=64164
2014-09-15 21:08:00 +00:00
Timo Kreuzer 34f49b3d4b [ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

svn path=/trunk/; revision=64162
2014-09-15 21:04:03 +00:00
Amine Khaldi 76eee27b07 [SHELL32_APITEST]
* CLSID_MenuDeskBar is already part of the uuid lib.

svn path=/trunk/; revision=64118
2014-09-11 11:07:03 +00:00
Christoph von Wittich 5d48b37adf [apitest/crt]
apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082
2014-09-08 07:00:00 +00:00
David Quintana c835af900d [BROWSEUI_APITEST]
* Do not depend on a file to exist, which in fact does not exist in ros. Fix the test expectations accordingly.

svn path=/trunk/; revision=64080
2014-09-08 01:54:29 +00:00
Christoph von Wittich c14e88bd12 [apitests/crt]
pass the correct buffer size

svn path=/trunk/; revision=64068
2014-09-07 18:11:08 +00:00
David Quintana e8a3f9a641 [BROWSEUI_APITEST]
* Improve SHExplorerParseCmdLine tests with whole bunch of new lines, and update the EXPLORER_INFO struct to match the findings.

svn path=/trunk/; revision=64029
2014-09-02 00:50:15 +00:00
Amine Khaldi b1661e20f1 [W32KNAPI_APITEST]
* Here's another memset call..

svn path=/trunk/; revision=63989
2014-08-30 12:05:36 +00:00
Amine Khaldi d332e8c9c5 [W32KNAPI_APITEST]
* Fix a memset call. CID 1223160.
CORE-7975

svn path=/trunk/; revision=63988
2014-08-30 12:03:58 +00:00
Amine Khaldi 78f1b595f0 [W32KNAPI_APITEST]
* Remove some unused pointer values. CID 1223186.
CORE-7975

svn path=/trunk/; revision=63987
2014-08-30 11:53:17 +00:00
Jérôme Gardou 92e130d1cc [SETUPAPI_APITEST]
- Try restoring UTF8 character which got lost in translation.

svn path=/trunk/; revision=63701
2014-07-08 22:44:44 +00:00
Jérôme Gardou d331e1725b [NTDLL_APITEST]
- Add tests for NtDeleteKey

svn path=/trunk/; revision=63699
2014-07-07 14:46:04 +00:00
Jérôme Gardou 265497886f [NTDLL_APITEST]
- Add a test showing that memory content is still available after changing protection to PAGE_NOACCESS

svn path=/trunk/; revision=63678
2014-06-30 19:50:28 +00:00
Jérôme Gardou 58edad6809 [SETUPAPI_APITEST]
- Add a test that shows that SetupDiGetClassDevsExW doesn't fail on non-existing GUID

svn path=/trunk/; revision=63642
2014-06-24 22:18:49 +00:00
Timo Kreuzer 6cfa5d2e25 [W32KDLL]
Update ros syscall list from trunk, remove obsolete files

svn path=/trunk/; revision=63519
2014-05-31 20:43:41 +00:00
Timo Kreuzer 10a264845d [ROSTESTS]
Silence some warnings, fix compilation of w32kdll with MSVC, give dllexport_test dlls a base address.

svn path=/trunk/; revision=63515
2014-05-31 16:00:05 +00:00
Aleksandar Andrejevic 2996e28ecd [NTDLL_APITESTS]
Add tests for NtSaveKey.


svn path=/trunk/; revision=63507
2014-05-31 01:14:02 +00:00
Timo Kreuzer 0339d4e1a5 [ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453
2014-05-25 20:21:02 +00:00
Amine Khaldi 934a5546ea [MSVCRT_CRT_APITEST]
* Don't enable wcstombs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63401
2014-05-21 14:26:20 +00:00
Amine Khaldi b5adad7bfa [MSVCRT_CRT_APITEST]
* Don't enable mbstowcs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63400
2014-05-21 13:30:26 +00:00
Amine Khaldi be8085bec0 [MSVCRT_CRT_APITEST]
* Don't reply on _set_errno() which shouldn't be exported.

svn path=/trunk/; revision=63399
2014-05-21 13:20:38 +00:00
Timo Kreuzer aa3d15ae6c [TESTDATA]
Fix test.dll

svn path=/trunk/; revision=63334
2014-05-17 18:36:22 +00:00
Timo Kreuzer 9f835ff3ff [NTDLL_APITEST]
Add more tests for NtMapViewOfSection. Fix some tests, so that everything works on windows 2003.

svn path=/trunk/; revision=63333
2014-05-17 18:35:39 +00:00
Timo Kreuzer 3ed2e2a095 [NTDLL_APITEST]
Revert unwanted changes

svn path=/trunk/; revision=63301
2014-05-14 20:46:47 +00:00
Timo Kreuzer a1b89faa39 [NTDLL_APITEST]
Add a test for NtReleaseMutant

svn path=/trunk/; revision=63299
2014-05-14 20:23:38 +00:00