Commit graph

2951 commits

Author SHA1 Message Date
Pierre Schweitzer d8753f3e88 [KMTESTS:KERNEL32]
Magic values--;

svn path=/trunk/; revision=75916
2017-09-21 08:52:27 +00:00
Amine Khaldi 194b4799ae [URLMON_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75903
2017-09-17 22:58:07 +00:00
Amine Khaldi dd8abae2c1 [RPCRT4_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75899
2017-09-17 22:57:43 +00:00
Amine Khaldi c615faa665 [RICHED20_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75897
2017-09-17 22:57:24 +00:00
Amine Khaldi ac45094d68 [PROPSYS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75895
2017-09-17 22:57:07 +00:00
Amine Khaldi 212b13d23c [OLEAUT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75893
2017-09-17 22:56:47 +00:00
Amine Khaldi ddc5ae090a [OLE32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75891
2017-09-17 22:56:20 +00:00
Amine Khaldi 228f385b07 [MSACM32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75887
2017-09-17 22:55:26 +00:00
Amine Khaldi 438c6a92bc [JSCRIPT_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75883
2017-09-17 22:54:31 +00:00
Amine Khaldi c6b07cf471 [INETCOMM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75881
2017-09-17 22:54:17 +00:00
Amine Khaldi 73232b5227 [GDIPLUS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75873
2017-09-17 12:34:24 +00:00
Amine Khaldi 7fe9b5b5c7 [FUSION_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75870
2017-09-17 12:34:03 +00:00
Amine Khaldi be8fcdf98b [CRYPT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75866
2017-09-17 12:33:34 +00:00
Amine Khaldi 72bcc475e7 [COMCTL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75863
2017-09-17 12:33:06 +00:00
Thomas Faber fd6f688414 [KMTESTS:KERNEL32]
- Add additional file attribute tests. Based on a patch by Katayama Hirofumi MZ.
CORE-13495

svn path=/trunk/; revision=75861
2017-09-17 08:08:39 +00:00
Amine Khaldi 323ee47885 [QUARTZ_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75859
2017-09-16 20:45:12 +00:00
Amine Khaldi 7967cf2972 [DPLAYX_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75857
2017-09-16 20:44:56 +00:00
Amine Khaldi 52433225ed [D3DRM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75854
2017-09-16 20:44:31 +00:00
Pierre Schweitzer 891930d175 [KMTESTS:CC]
[KMTESTS:MM]
Also test the paging IO flag of the MDL

svn path=/trunk/; revision=75845
2017-09-15 12:10:59 +00:00
Pierre Schweitzer 2cbaba6989 [KMTESTS:CC]
That wasn't meant to be committed

svn path=/trunk/; revision=75843
2017-09-15 11:24:38 +00:00
Pierre Schweitzer 9ac91a4ca5 [KMTESTS:CC]
Tests for paging IO MDL for read operations. Equivalent to r75833 (and r75840).
They fail in ROS.

svn path=/trunk/; revision=75842
2017-09-15 10:37:00 +00:00
Pierre Schweitzer 752fc9bb9c [KMTESTS:MM]
Revert r75840.
It's no use that way

svn path=/trunk/; revision=75841
2017-09-15 10:32:22 +00:00
Pierre Schweitzer 369ae3655b [KMTESTS:MM]
Tests for paging IO MDL for read operations. Equivalent to r75833.

svn path=/trunk/; revision=75840
2017-09-15 08:16:14 +00:00
Pierre Schweitzer 6876083dc6 [KMTESTS:MM]
Few tests for MmBuildMdlForNonPagedPool() I wrote earlier.
They all pass fine on ROS.

svn path=/trunk/; revision=75835
2017-09-13 16:38:32 +00:00
Pierre Schweitzer d7718b4d51 [KMTESTS:MM]
Add a test that shows that MDLs issued by Cc for paging IOs are not in the correct state (nor correctly allocated)

CORE-13769

svn path=/trunk/; revision=75833
2017-09-13 11:53:56 +00:00
Mark Jansen e1ea305c4d [APPHELP_APITEST][APPSHIM_APITEST] Update the license headers
svn path=/trunk/; revision=75803
2017-09-08 20:33:40 +00:00
Giannis Adamopoulos a28235c709 [USER32_APITEST] -Add a monster of a test to check if WM_DESTROYCLIPBOARD is blocking or not. Use a critical section while recording as we use a single message cache in two threads. After 50154, 50816, 50846 and 75616 changing back and forth, this test shows that 75616 is correct and making sure that it won't be changed again in the future, somehting that would break the ole clipboard.
svn path=/trunk/; revision=75663
2017-08-24 23:08:09 +00:00
Giannis Adamopoulos 41f448998f [COM_APITEST] -Add tests for CLSID_AttachmentServices.
svn path=/trunk/; revision=75593
2017-08-17 16:01:29 +00:00
Mark Jansen dd1078cd17 [NTDLL_APITEST] Test unaligned pointers for NtOpenKey
CORE-13689

svn path=/trunk/; revision=75588
2017-08-17 11:42:13 +00:00
Mark Jansen 441f8dc306 [ADVAPI32_APITEST] Addendum to 75585, use void pointers to work around gcc ignoring pshpack1.
svn path=/trunk/; revision=75587
2017-08-17 11:06:46 +00:00
Mark Jansen ddcdef0768 [ADVAPI32_APITEST] Test unaligned pointers for RegOpenKeyExW.
svn path=/trunk/; revision=75585
2017-08-17 10:30:10 +00:00
Giannis Adamopoulos 61427a2eaf [UXTHEME_APITEST] -Add tests for SetThemeAppProperties.
svn path=/trunk/; revision=75513
2017-08-09 07:14:44 +00:00
Giannis Adamopoulos 6aa52a76c8 [COMCTL32_APITESTS] -Add toolbar tests for TB_SETBUTTONSIZE, TB_SETPADDING, TB_GETBUTTONSIZE, TB_GETMETRICS.
svn path=/trunk/; revision=75462
2017-07-31 13:04:09 +00:00
David Quintana 30a8a02f54 [APITESTS]
MSVCRT_CRT_APITEST: Remove getmainargs tests from X64 build.
DELAYIMP: Fix callback prototype.
CComHeapPtr: Fix implementation of IMallocSpy to match the actual interface.

[WINETESTS]
ntdll: Disable 'generated' tests when not i386 platform, since they were generated for x86 and not x64 or ARM.


Fixes x64 compilation for tests.

svn path=/trunk/; revision=75397
2017-07-24 15:09:22 +00:00
Hermès Bélusca-Maïto 73375485df [MSVCRT_APITEST]: Commit a simple test for popen(), by Andreas Maier.
CORE-11568

svn path=/trunk/; revision=75364
2017-07-17 15:27:40 +00:00
Mark Jansen 39596fae98 [APPHELP_APITEST] Convert test_match_ex to a data driven test + fix a bug in the apitest.
svn path=/trunk/; revision=75342
2017-07-14 20:35:11 +00:00
Giannis Adamopoulos 3841692020 [COMCTL32_APITEST] - Log the dwDrawStage when the NM_CUSTOMDRAW is received to make the test slightly more descriptive.
svn path=/trunk/; revision=75320
2017-07-12 12:17:05 +00:00
James Tabor e22e9fc81f [GDI32_WINETEST]
- Sync with Wine main head 2017-07-03.

svn path=/trunk/; revision=75275
2017-07-03 20:39:50 +00:00
Mark Jansen 85dde2e51b [USER32_APITEST] Add tests to validate the messages sent during MDI window creation. CORE-12052
The test passes from 2k3 - 10.

svn path=/trunk/; revision=75274
2017-07-03 20:33:36 +00:00
Thomas Faber 1931f33c9b [KMTESTS:KERNEL32]
- Add a test for SetFileAttributes/GetFileAttributes
- Add KmtSendUlongToDriver helper and fix some doc comments
CORE-13495

svn path=/trunk/; revision=75236
2017-06-29 16:16:20 +00:00
Thomas Faber 24ac7c8bed [KMTESTS:KERNEL32]
- Rename FindFile_drv to kernel32_drv (and perform some other appropriate renames), since it can be used for multiple tests, not just FindFile
- Change license to LGPL (this is okay since nobody but me has touched these files)
CORE-13495

svn path=/trunk/; revision=75235
2017-06-29 15:30:23 +00:00
Colin Finck ef0ae276af [NETAPI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=75209
2017-06-26 15:43:58 +00:00
Colin Finck e5654cce9f [NETAPI32_APITEST]
Add a simple API Test for netapi32.dll, only covering DsRoleGetPrimaryDomainInformation so far.
It succeeds in ReactOS, but outputs a heap error in the debug log. In real world applications, this later leads to a heap assertion failure.

svn path=/trunk/; revision=75208
2017-06-26 15:19:07 +00:00
Colin Finck 1525fa31fc [PRINTING]
- Create the actual generic handle in _LocalOpenPrinterHandle.
- Fix _RpcClosePrinter call.
- Enable many more tests in winspool_apitest, GetPrinterData.
- Bail out with ERROR_INVALID_PARAMETER for empty strings in _MakePrinterSubKey as well.
- Add the Name registry value for "Dummy Printer on LPT1" to make a test succeed.

This fixes many basic things.. which only got unnoticed, because Printing is only used in the form of API Tests so far.

CORE-13458
CORE-13459

svn path=/trunk/; revision=75207
2017-06-26 15:16:46 +00:00
Colin Finck 2bd66111fc [ADVAPI32_APITEST]
Fix copy-paste mistakes in messages.

svn path=/trunk/; revision=75206
2017-06-26 15:10:27 +00:00
Mark Jansen 54d38174b1 [APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resources. CORE-13284
svn path=/trunk/; revision=75205
2017-06-26 14:58:08 +00:00
Mark Jansen 5c59bd330a [APPHELP_APITEST:db] Fix the test for Win10, use WCHAR for data paths
svn path=/trunk/; revision=75201
2017-06-26 10:26:57 +00:00
Giannis Adamopoulos 7dea13d496 [USER32_APITEST] -Initial tests for desktop reference numbers.
svn path=/trunk/; revision=75153
2017-06-20 19:25:10 +00:00
Thomas Faber e7e6f2ec5f [NTOS:MM]
- In MiDeletePte, check the ReferenceCount of transition PTEs, not the ShareCount (which is actually u2.Blink, since the page is in a modified/standby list). Also don't reset the PageLocation, since MiDecrementReferenceCount expects it to be anything but ActiveAndValid.
Fixes physical page leaks when using DPH, or other code that sets PAGE_NOACCESS.
CORE-13311 #resolve

svn path=/trunk/; revision=75150
2017-06-20 15:51:47 +00:00
Hermès Bélusca-Maïto b17ce9c805 [NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to force-unload a hive while some handles to subkeys are still opened), because this creates memory corruptions, due to the fact we currently don't perform force-unloads correctly.
CORE-13448

svn path=/trunk/; revision=75138
2017-06-19 19:50:49 +00:00