Commit graph

554 commits

Author SHA1 Message Date
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
Hermès Bélusca-Maïto ea3f9d6c6e [APITEST:USER32]
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133
2014-05-03 17:08:39 +00:00
Thomas Faber 7538d3e725 [SETUPAPI_WINETEST]
- Move the devclass test to apitests, since it is not a Wine test

svn path=/trunk/; revision=62975
2014-04-26 10:58:40 +00:00
Thomas Faber a21f22e98d [USER32_APITEST]
- Add parameter checks for GetUserObjectInformationW
CORE-8094

svn path=/trunk/; revision=62964
2014-04-25 11:24:41 +00:00
Thomas Faber 0238322066 [NTDLL_APITEST]
- Add test for NtQueryVolumeInformationFile. Patch by Víctor Martínez.
ROSTESTS-134 #resolve

svn path=/trunk/; revision=62844
2014-04-20 18:15:41 +00:00
Thomas Faber d3b058d4eb [NTDLL_APITEST]
- Fix test failure on Windows. Based on patch by Víctor Martínez
ROSTESTS-132 #resolve

svn path=/trunk/; revision=62734
2014-04-13 07:14:47 +00:00
Thomas Faber cccfe23541 [BROWSEUI]
- Add more tests for SHExplorerParseCmdLine. Patch by Edijs Kolesnikovičs
CORE-7627 #resolve

svn path=/trunk/; revision=62732
2014-04-13 05:41:19 +00:00
Thomas Faber e2ce9d5f37 [NTDLL_APITEST]
- Add two test cases for RtlFindClearBits/RtlFindSetBits that crash on ROS

svn path=/trunk/; revision=62690
2014-04-08 20:57:03 +00:00
Thomas Faber 2e786d24d0 [NTDLL_APITEST]
- Use guarded memory for bitmap buffers in RtlBitmap test
- Add a few tests that check for buffer boundaries (which would have spotted the issue fixed in r62591)

svn path=/trunk/; revision=62689
2014-04-08 18:35:29 +00:00
Hermès Bélusca-Maïto 4a7e080751 [NTDLL_APITEST]: Add braces and remove an unneeded trace.
svn path=/trunk/; revision=62662
2014-04-06 15:51:38 +00:00
Hermès Bélusca-Maïto df6836cce4 [NTDLL_APITEST]
Add/refine RtlDoesFileExists* and RtlDosSearchPath_U APIs tests.
CORE-6373 #comment Tests for RtlDoesFileExists* and RtlDosSearchPath_U APIs added in revision 62640.

svn path=/trunk/; revision=62640
2014-04-05 23:58:54 +00:00
Timo Kreuzer f6d147a5e1 [W32KDLL]
Use new macro based syscall mechanism for w32kdll_xpsp2. Fix exports

svn path=/trunk/; revision=62588
2014-03-30 17:34:56 +00:00
Thomas Faber 9375945c22 [NTDLL_APITEST]
- Fix -Wformat warnings and enable -Wformat where possible

svn path=/trunk/; revision=62568
2014-03-26 12:07:25 +00:00
Thomas Faber 2936e38c77 [COM_APITEST]
- Verify interfaces against HKLM\Software\Classes\Interface

svn path=/trunk/; revision=62541
2014-03-21 11:45:30 +00:00
Thomas Faber 833db14fa7 [COM_APITEST]
- Add MergedFolder and AugmentedShellFolder classes/interfaces

svn path=/trunk/; revision=62540
2014-03-21 11:23:47 +00:00
Amine Khaldi 2c26c653a9 [SHELL32_APITEST]
* Plug some leaks. CIDs 1106362, 1106363 and 1106364.
CORE-7975

svn path=/trunk/; revision=62474
2014-03-11 13:06:09 +00:00
Hermès Bélusca-Maïto 61d834485b [APITESTS:kernel32]
Be more specific about which last error we expect.

svn path=/trunk/; revision=62419
2014-03-05 01:53:46 +00:00
Timo Kreuzer 6b2e326be9 [NTDLL_APITEST]
Add a few more tests for NtAllocateVirtualMemory

svn path=/trunk/; revision=62270
2014-02-20 21:19:16 +00:00
Giannis Adamopoulos 0fbc07a49d [user32_apitest]
- Arch, don't allow the mouse to create unexpected messages because this will surely cause failures. Also if you move the mouse during the test you will also get these failures

svn path=/trunk/; revision=61311
2013-12-21 10:44:10 +00:00
Thomas Faber b6ffc426d7 [KERNEL32_TEST]
- Move ROS-only tests into apitest

svn path=/trunk/; revision=61303
2013-12-19 21:39:09 +00:00
Jérôme Gardou cd3af3c4c8 [USER32_APITEST]
- Add tests for LookupIconIdFromDirectoryEx
 - Add a workaround in GetIconInfo tests for a ReactOS bug in EnumDisplaySettings
 - Add tests for EnumDisplaySettings demonstrating the bug.
 - Add some traces to better follow the test run

svn path=/trunk/; revision=60994
2013-11-14 23:11:23 +00:00
Giannis Adamopoulos 1f18e732a8 [shell32_apitest]
- CLSID_ShellFSFolder should also export IID_IStorage

svn path=/trunk/; revision=60866
2013-11-05 09:28:05 +00:00
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
James Tabor 746f5c09a7 - Fix ATI test and go.
svn path=/trunk/; revision=60720
2013-10-20 05:36:36 +00:00
Thomas Faber 3440678be4 [NTDLL_APITEST]
- Add test for Rtl MemoryStream functions. Patch by David Quintana.
CORE-7492

svn path=/trunk/; revision=60707
2013-10-19 17:59:29 +00:00
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +00:00
Pierre Schweitzer 9b29c6967f [PSAPI_APITEST]
Add tests for GetDeviceDriverBaseName
Replace 0x00000000 -> NULL. Dedicated to Thomas ;-)

svn path=/trunk/; revision=60601
2013-10-10 19:18:43 +00:00
Giannis Adamopoulos 0fa39dfff7 - fix build for linux
svn path=/trunk/; revision=60598
2013-10-10 09:44:57 +00:00
Giannis Adamopoulos ba6130bb7f fix build
svn path=/trunk/; revision=60597
2013-10-10 09:39:15 +00:00
Giannis Adamopoulos c138d3ba98 [shell32_apitest]
- Add tests for shell menu classes ( so far only CShellMenu is tested)

svn path=/trunk/; revision=60596
2013-10-10 09:36:13 +00:00
Amine Khaldi 241a81c805 [PSAPI_APITEST]
* Speedup build.

svn path=/trunk/; revision=60574
2013-10-07 12:38:42 +00:00
Pierre Schweitzer 8b0bbbdc07 [PSAPI_APITEST]
Complete the test (tested under w2k3)

svn path=/trunk/; revision=60569
2013-10-07 06:16:19 +00:00